| KWin
    | 
#include <drm_plane.h>
 
  
| Public Types | |
| enum class | TypeIndex : uint64_t { Overlay = 0 , Primary = 1 , Cursor = 2 } | 
| enum class | Transformation : uint32_t { Rotate0 = 1 << 0 , Rotate90 = 1 << 1 , Rotate180 = 1 << 2 , Rotate270 = 1 << 3 , ReflectX = 1 << 4 , ReflectY = 1 << 5 } | 
| enum class | PixelBlendMode : uint64_t { None , PreMultiplied , Coverage } | 
| enum class | ColorEncoding : uint64_t { BT601_YCbCr , BT709_YCbCr , BT2020_YCbCr } | 
| enum class | ColorRange : uint64_t { Limited_YCbCr , Full_YCbCr } | 
| Public Member Functions | |
| DrmPlane (DrmGpu *gpu, uint32_t planeId) | |
| bool | updateProperties () override | 
| void | disable (DrmAtomicCommit *commit) override | 
| bool | isCrtcSupported (int pipeIndex) const | 
| QMap< uint32_t, QList< uint64_t > > | formats () const | 
| std::shared_ptr< DrmFramebuffer > | currentBuffer () const | 
| void | setCurrentBuffer (const std::shared_ptr< DrmFramebuffer > &b) | 
| void | releaseCurrentBuffer () | 
| void | set (DrmAtomicCommit *commit, const QPoint &srcPos, const QSize &srcSize, const QRect &dst) | 
|  Public Member Functions inherited from KWin::DrmObject | |
| virtual | ~DrmObject ()=default | 
| DrmObject (const DrmObject &)=delete | |
| bool | init () | 
| uint32_t | id () const | 
| DrmGpu * | gpu () const | 
| uint32_t | type () const | 
| QString | typeName () const | 
| Static Public Member Functions | |
| static int32_t | transformationToDegrees (Transformations transformation) | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from KWin::DrmObject | |
| DrmObject (DrmGpu *gpu, uint32_t objectId, uint32_t objectType) | |
| DrmPropertyList | queryProperties () const | 
Definition at line 26 of file drm_plane.h.
| 
 | strong | 
| Enumerator | |
|---|---|
| BT601_YCbCr | |
| BT709_YCbCr | |
| BT2020_YCbCr | |
Definition at line 64 of file drm_plane.h.
| 
 | strong | 
| Enumerator | |
|---|---|
| Limited_YCbCr | |
| Full_YCbCr | |
Definition at line 69 of file drm_plane.h.
| 
 | strong | 
| Enumerator | |
|---|---|
| None | |
| PreMultiplied | |
| Coverage | |
Definition at line 59 of file drm_plane.h.
| 
 | strong | 
| Enumerator | |
|---|---|
| Rotate0 | |
| Rotate90 | |
| Rotate180 | |
| Rotate270 | |
| ReflectX | |
| ReflectY | |
Definition at line 49 of file drm_plane.h.
| 
 | strong | 
| Enumerator | |
|---|---|
| Overlay | |
| Primary | |
| Cursor | |
Definition at line 44 of file drm_plane.h.
| KWin::DrmPlane::DrmPlane | ( | DrmGpu * | gpu, | 
| uint32_t | planeId ) | 
Definition at line 25 of file drm_plane.cpp.
| std::shared_ptr< DrmFramebuffer > KWin::DrmPlane::currentBuffer | ( | ) | const | 
Definition at line 153 of file drm_plane.cpp.
| 
 | overridevirtual | 
Set the properties in such a way that this resource won't be used anymore
Implements KWin::DrmObject.
Definition at line 163 of file drm_plane.cpp.
| QMap< uint32_t, QList< uint64_t > > KWin::DrmPlane::formats | ( | ) | const | 
Definition at line 148 of file drm_plane.cpp.
| bool KWin::DrmPlane::isCrtcSupported | ( | int | pipeIndex | ) | const | 
Definition at line 143 of file drm_plane.cpp.
| void KWin::DrmPlane::releaseCurrentBuffer | ( | ) | 
Definition at line 169 of file drm_plane.cpp.
| void KWin::DrmPlane::set | ( | DrmAtomicCommit * | commit, | 
| const QPoint & | srcPos, | ||
| const QSize & | srcSize, | ||
| const QRect & | dst ) | 
Definition at line 129 of file drm_plane.cpp.
| void KWin::DrmPlane::setCurrentBuffer | ( | const std::shared_ptr< DrmFramebuffer > & | b | ) | 
Definition at line 158 of file drm_plane.cpp.
| 
 | static | 
Definition at line 176 of file drm_plane.cpp.
| 
 | overridevirtual | 
Implements KWin::DrmObject.
Definition at line 72 of file drm_plane.cpp.
| DrmProperty KWin::DrmPlane::alpha | 
Definition at line 87 of file drm_plane.h.
| DrmEnumProperty<ColorEncoding> KWin::DrmPlane::colorEncoding | 
Definition at line 89 of file drm_plane.h.
| DrmEnumProperty<ColorRange> KWin::DrmPlane::colorRange | 
Definition at line 90 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::crtcH | 
Definition at line 82 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::crtcId | 
Definition at line 84 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::crtcW | 
Definition at line 81 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::crtcX | 
Definition at line 79 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::crtcY | 
Definition at line 80 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::fbId | 
Definition at line 83 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::inFenceFd | 
Definition at line 93 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::inFormats | 
Definition at line 86 of file drm_plane.h.
| DrmEnumProperty<PixelBlendMode> KWin::DrmPlane::pixelBlendMode | 
Definition at line 88 of file drm_plane.h.
| DrmEnumProperty<Transformations> KWin::DrmPlane::rotation | 
Definition at line 85 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::srcH | 
Definition at line 78 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::srcW | 
Definition at line 77 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::srcX | 
Definition at line 75 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::srcY | 
Definition at line 76 of file drm_plane.h.
| DrmEnumProperty<TypeIndex> KWin::DrmPlane::type | 
Definition at line 74 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::vmHotspotX | 
Definition at line 91 of file drm_plane.h.
| DrmProperty KWin::DrmPlane::vmHotspotY | 
Definition at line 92 of file drm_plane.h.