KWin
|
#include <drm_qpainter_layer.h>
Public Member Functions | |
DrmVirtualQPainterLayer (DrmVirtualOutput *output) | |
std::optional< OutputLayerBeginFrameInfo > | beginFrame () override |
bool | endFrame (const QRegion &renderedRegion, const QRegion &damagedRegion) override |
QRegion | currentDamage () const override |
void | releaseBuffers () override |
std::chrono::nanoseconds | queryRenderTime () const override |
![]() | |
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) |
Definition at line 71 of file drm_qpainter_layer.h.
KWin::DrmVirtualQPainterLayer::DrmVirtualQPainterLayer | ( | DrmVirtualOutput * | output | ) |
Definition at line 161 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 166 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Reimplemented from KWin::DrmOutputLayer.
Definition at line 185 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 178 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 194 of file drm_qpainter_layer.cpp.
|
overridevirtual |
Implements KWin::DrmOutputLayer.
Definition at line 190 of file drm_qpainter_layer.cpp.