KWin
|
#include <drm_qpainter_layer.h>
Public Member Functions | |
DrmQPainterLayer (DrmPipeline *pipeline) | |
std::optional< OutputLayerBeginFrameInfo > | beginFrame () override |
bool | endFrame (const QRegion &renderedRegion, const QRegion &damagedRegion) override |
bool | checkTestBuffer () override |
std::shared_ptr< DrmFramebuffer > | currentBuffer () const override |
QRegion | currentDamage () const override |
void | releaseBuffers () override |
std::chrono::nanoseconds | queryRenderTime () const override |
![]() | |
DrmPipelineLayer (DrmPipeline *pipeline) | |
virtual bool | hasDirectScanoutBuffer () const |
![]() | |
virtual | ~DrmOutputLayer () |
virtual std::shared_ptr< GLTexture > | texture () const |
![]() | |
OutputLayer (QObject *parent=nullptr) | |
qreal | scale () const |
void | setScale (qreal scale) |
QPointF | hotspot () const |
void | setHotspot (const QPointF &hotspot) |
QSizeF | size () const |
void | setSize (const QSizeF &size) |
virtual std::optional< QSize > | fixedSize () const |
QRegion | repaints () const |
void | resetRepaints () |
void | addRepaint (const QRegion ®ion) |
bool | needsRepaint () const |
void | setPosition (const QPointF &position) |
QPointF | position () const |
void | setEnabled (bool enable) |
bool | isEnabled () const |
virtual bool | scanout (SurfaceItem *surfaceItem) |
Additional Inherited Members | |
![]() | |
DrmPipeline *const | m_pipeline |
Definition at line 25 of file drm_qpainter_layer.h.
KWin::DrmQPainterLayer::DrmQPainterLayer | ( | DrmPipeline * | pipeline | ) |
Definition at line 24 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 29 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Implements KWin::DrmPipelineLayer.
Definition at line 61 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Implements KWin::DrmPipelineLayer.
Definition at line 84 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Reimplemented from KWin::DrmOutputLayer.
Definition at line 89 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 49 of file drm_qpainter_layer.cpp.
|
overridevirtual |
queries the render time of the last frame. If rendering isn't complete yet, this may block until it is
Implements KWin::OutputLayer.
Definition at line 99 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Implements KWin::DrmOutputLayer.
Definition at line 94 of file drm_qpainter_layer.cpp.