|
KWin
|
#include <drm_layer.h>
Public Member Functions | |
| DrmPipelineLayer (DrmPipeline *pipeline) | |
| virtual bool | checkTestBuffer ()=0 |
| virtual std::shared_ptr< DrmFramebuffer > | currentBuffer () const =0 |
| virtual bool | hasDirectScanoutBuffer () const |
Public Member Functions inherited from KWin::DrmOutputLayer | |
| virtual | ~DrmOutputLayer () |
| virtual std::shared_ptr< GLTexture > | texture () const |
| virtual QRegion | currentDamage () const |
| virtual void | releaseBuffers ()=0 |
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 std::optional< OutputLayerBeginFrameInfo > | beginFrame ()=0 |
| virtual bool | endFrame (const QRegion &renderedRegion, const QRegion &damagedRegion)=0 |
| virtual bool | scanout (SurfaceItem *surfaceItem) |
| virtual std::chrono::nanoseconds | queryRenderTime () const =0 |
Protected Attributes | |
| DrmPipeline *const | m_pipeline |
Definition at line 34 of file drm_layer.h.
| KWin::DrmPipelineLayer::DrmPipelineLayer | ( | DrmPipeline * | pipeline | ) |
Definition at line 30 of file drm_layer.cpp.
|
pure virtual |
Implemented in KWin::EglGbmCursorLayer, KWin::EglGbmLayer, KWin::DrmQPainterLayer, and KWin::DrmCursorQPainterLayer.
|
pure virtual |
Implemented in KWin::EglGbmCursorLayer, KWin::EglGbmLayer, KWin::DrmQPainterLayer, and KWin::DrmCursorQPainterLayer.
|
virtual |
Reimplemented in KWin::EglGbmLayer.
Definition at line 35 of file drm_layer.cpp.
|
protected |
Definition at line 44 of file drm_layer.h.