KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::EglLayer Class Reference

#include <x11_standalone_egl_backend.h>

Inheritance diagram for KWin::EglLayer:
KWin::OutputLayer

Public Member Functions

 EglLayer (EglBackend *backend)
 
std::optional< OutputLayerBeginFrameInfobeginFrame () override
 
bool endFrame (const QRegion &renderedRegion, const QRegion &damagedRegion) override
 
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 &region)
 
bool needsRepaint () const
 
void setPosition (const QPointF &position)
 
QPointF position () const
 
void setEnabled (bool enable)
 
bool isEnabled () const
 
virtual bool scanout (SurfaceItem *surfaceItem)
 

Detailed Description

Definition at line 29 of file x11_standalone_egl_backend.h.

Constructor & Destructor Documentation

◆ EglLayer()

KWin::EglLayer::EglLayer ( EglBackend * backend)

Definition at line 31 of file x11_standalone_egl_backend.cpp.

Member Function Documentation

◆ beginFrame()

std::optional< OutputLayerBeginFrameInfo > KWin::EglLayer::beginFrame ( )
overridevirtual

Implements KWin::OutputLayer.

Definition at line 36 of file x11_standalone_egl_backend.cpp.

◆ endFrame()

bool KWin::EglLayer::endFrame ( const QRegion & renderedRegion,
const QRegion & damagedRegion )
overridevirtual

Implements KWin::OutputLayer.

Definition at line 41 of file x11_standalone_egl_backend.cpp.

◆ queryRenderTime()

std::chrono::nanoseconds KWin::EglLayer::queryRenderTime ( ) const
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 47 of file x11_standalone_egl_backend.cpp.


The documentation for this class was generated from the following files: