KWin
|
#include <x11_windowed_egl_backend.h>
Public Member Functions | |
X11WindowedEglPrimaryLayer (X11WindowedEglBackend *backend, X11WindowedOutput *output) | |
~X11WindowedEglPrimaryLayer () override | |
std::optional< OutputLayerBeginFrameInfo > | beginFrame () override |
bool | endFrame (const QRegion &renderedRegion, const QRegion &damagedRegion) override |
std::chrono::nanoseconds | queryRenderTime () const override |
std::shared_ptr< GLTexture > | texture () const |
void | present () |
![]() | |
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 26 of file x11_windowed_egl_backend.h.
KWin::X11WindowedEglPrimaryLayer::X11WindowedEglPrimaryLayer | ( | X11WindowedEglBackend * | backend, |
X11WindowedOutput * | output ) |
Definition at line 23 of file x11_windowed_egl_backend.cpp.
|
override |
Definition at line 29 of file x11_windowed_egl_backend.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 33 of file x11_windowed_egl_backend.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 70 of file x11_windowed_egl_backend.cpp.
void KWin::X11WindowedEglPrimaryLayer::present | ( | ) |
Definition at line 76 of file x11_windowed_egl_backend.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 115 of file x11_windowed_egl_backend.cpp.
std::shared_ptr< GLTexture > KWin::X11WindowedEglPrimaryLayer::texture | ( | ) | const |
Definition at line 110 of file x11_windowed_egl_backend.cpp.