|
KWin
|
#include <virtual_egl_backend.h>
Public Member Functions | |
| VirtualEglLayer (Output *output, VirtualEglBackend *backend) | |
| std::optional< OutputLayerBeginFrameInfo > | beginFrame () override |
| bool | endFrame (const QRegion &renderedRegion, const QRegion &damagedRegion) override |
| std::shared_ptr< GLTexture > | texture () const |
| std::chrono::nanoseconds | queryRenderTime () const override |
Public Member Functions inherited from KWin::OutputLayer | |
| 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 28 of file virtual_egl_backend.h.
| KWin::VirtualEglLayer::VirtualEglLayer | ( | Output * | output, |
| VirtualEglBackend * | backend ) |
Definition at line 25 of file virtual_egl_backend.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 36 of file virtual_egl_backend.cpp.
|
overridevirtual |
Implements KWin::OutputLayer.
Definition at line 64 of file virtual_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 72 of file virtual_egl_backend.cpp.
| std::shared_ptr< GLTexture > KWin::VirtualEglLayer::texture | ( | ) | const |
Definition at line 31 of file virtual_egl_backend.cpp.