KWin
|
#include <drm_crtc.h>
Public Member Functions | |
DrmCrtc (DrmGpu *gpu, uint32_t crtcId, int pipeIndex, DrmPlane *primaryPlane, DrmPlane *cursorPlane) | |
void | disable (DrmAtomicCommit *commit) override |
bool | updateProperties () override |
int | pipeIndex () const |
int | gammaRampSize () const |
DrmPlane * | primaryPlane () const |
DrmPlane * | cursorPlane () const |
drmModeModeInfo | queryCurrentMode () |
std::shared_ptr< DrmFramebuffer > | current () const |
void | setCurrent (const std::shared_ptr< DrmFramebuffer > &buffer) |
void | releaseCurrentBuffer () |
![]() | |
virtual | ~DrmObject ()=default |
DrmObject (const DrmObject &)=delete | |
bool | init () |
uint32_t | id () const |
DrmGpu * | gpu () const |
uint32_t | type () const |
QString | typeName () const |
Public Attributes | |
DrmProperty | modeId |
DrmProperty | active |
DrmProperty | vrrEnabled |
DrmProperty | gammaLut |
DrmProperty | gammaLutSize |
DrmProperty | ctm |
DrmProperty | degammaLut |
DrmProperty | degammaLutSize |
Additional Inherited Members | |
![]() | |
DrmObject (DrmGpu *gpu, uint32_t objectId, uint32_t objectType) | |
DrmPropertyList | queryProperties () const |
Definition at line 25 of file drm_crtc.h.
KWin::DrmCrtc::DrmCrtc | ( | DrmGpu * | gpu, |
uint32_t | crtcId, | ||
int | pipeIndex, | ||
DrmPlane * | primaryPlane, | ||
DrmPlane * | cursorPlane ) |
Definition at line 20 of file drm_crtc.cpp.
std::shared_ptr< DrmFramebuffer > KWin::DrmCrtc::current | ( | ) | const |
Definition at line 66 of file drm_crtc.cpp.
DrmPlane * KWin::DrmCrtc::cursorPlane | ( | ) | const |
Definition at line 92 of file drm_crtc.cpp.
|
overridevirtual |
Set the properties in such a way that this resource won't be used anymore
Implements KWin::DrmObject.
Definition at line 97 of file drm_crtc.cpp.
int KWin::DrmCrtc::gammaRampSize | ( | ) | const |
Definition at line 76 of file drm_crtc.cpp.
int KWin::DrmCrtc::pipeIndex | ( | ) | const |
Definition at line 61 of file drm_crtc.cpp.
DrmPlane * KWin::DrmCrtc::primaryPlane | ( | ) | const |
Definition at line 87 of file drm_crtc.cpp.
drmModeModeInfo KWin::DrmCrtc::queryCurrentMode | ( | ) |
Definition at line 55 of file drm_crtc.cpp.
void KWin::DrmCrtc::releaseCurrentBuffer | ( | ) |
Definition at line 103 of file drm_crtc.cpp.
void KWin::DrmCrtc::setCurrent | ( | const std::shared_ptr< DrmFramebuffer > & | buffer | ) |
Definition at line 71 of file drm_crtc.cpp.
|
overridevirtual |
Implements KWin::DrmObject.
Definition at line 37 of file drm_crtc.cpp.
DrmProperty KWin::DrmCrtc::active |
Definition at line 44 of file drm_crtc.h.
DrmProperty KWin::DrmCrtc::ctm |
Definition at line 48 of file drm_crtc.h.
DrmProperty KWin::DrmCrtc::degammaLut |
Definition at line 49 of file drm_crtc.h.
DrmProperty KWin::DrmCrtc::degammaLutSize |
Definition at line 50 of file drm_crtc.h.
DrmProperty KWin::DrmCrtc::gammaLut |
Definition at line 46 of file drm_crtc.h.
DrmProperty KWin::DrmCrtc::gammaLutSize |
Definition at line 47 of file drm_crtc.h.
DrmProperty KWin::DrmCrtc::modeId |
Definition at line 43 of file drm_crtc.h.
DrmProperty KWin::DrmCrtc::vrrEnabled |
Definition at line 45 of file drm_crtc.h.