KWin
|
#include <drm_virtual_egl_layer.h>
Public Member Functions | |
VirtualEglGbmLayer (EglGbmBackend *eglBackend, DrmVirtualOutput *output) | |
~VirtualEglGbmLayer () override | |
std::optional< OutputLayerBeginFrameInfo > | beginFrame () override |
bool | endFrame (const QRegion &renderedRegion, const QRegion &damagedRegion) override |
bool | scanout (SurfaceItem *surfaceItem) override |
QRegion | currentDamage () const override |
std::shared_ptr< GLTexture > | texture () const override |
void | releaseBuffers () override |
std::chrono::nanoseconds | queryRenderTime () const override |
![]() | |
virtual | ~DrmOutputLayer () |
![]() | |
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 |
Definition at line 31 of file drm_virtual_egl_layer.h.
KWin::VirtualEglGbmLayer::VirtualEglGbmLayer | ( | EglGbmBackend * | eglBackend, |
DrmVirtualOutput * | output ) |
Definition at line 28 of file drm_virtual_egl_layer.cpp.
|
overridedefault |
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 36 of file drm_virtual_egl_layer.cpp.
|
overridevirtual |
Reimplemented from KWin::DrmOutputLayer.
Definition at line 96 of file drm_virtual_egl_layer.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 86 of file drm_virtual_egl_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 187 of file drm_virtual_egl_layer.cpp.
|
overridevirtual |
Implements KWin::DrmOutputLayer.
Definition at line 175 of file drm_virtual_egl_layer.cpp.
|
overridevirtual |
Tries to import the newest buffer of the surface for direct scanout Returns true
if scanout succeeds, false
if rendering is necessary
Reimplemented from KWin::OutputLayer.
Definition at line 145 of file drm_virtual_egl_layer.cpp.
|
overridevirtual |
Reimplemented from KWin::DrmOutputLayer.
Definition at line 135 of file drm_virtual_egl_layer.cpp.