|
KWin
|
#include <drm_commit.h>
Public Member Functions | |
| DrmAtomicCommit (const QList< DrmPipeline * > &pipelines) | |
| DrmAtomicCommit (const DrmAtomicCommit ©)=default | |
| void | addProperty (const DrmProperty &prop, uint64_t value) |
| template<typename T > | |
| void | addEnum (const DrmEnumProperty< T > &prop, T enumValue) |
| void | addBlob (const DrmProperty &prop, const std::shared_ptr< DrmBlob > &blob) |
| void | addBuffer (DrmPlane *plane, const std::shared_ptr< DrmFramebuffer > &buffer) |
| void | setVrr (DrmCrtc *crtc, bool vrr) |
| void | setPresentationMode (PresentationMode mode) |
| bool | test () |
| bool | testAllowModeset () |
| bool | commit () |
| bool | commitModeset () |
| void | pageFlipped (std::chrono::nanoseconds timestamp) const override |
| bool | areBuffersReadable () const |
| void | setDeadline (std::chrono::steady_clock::time_point deadline) |
| std::optional< bool > | isVrr () const |
| const std::unordered_set< DrmPlane * > & | modifiedPlanes () const |
| void | merge (DrmAtomicCommit *onTop) |
| void | setCursorOnly (bool cursor) |
| bool | isCursorOnly () const |
Public Member Functions inherited from KWin::DrmCommit | |
| virtual | ~DrmCommit () |
| DrmGpu * | gpu () const |
Additional Inherited Members | |
Protected Member Functions inherited from KWin::DrmCommit | |
| DrmCommit (DrmGpu *gpu) | |
Protected Attributes inherited from KWin::DrmCommit | |
| DrmGpu *const | m_gpu |
Definition at line 50 of file drm_commit.h.
| KWin::DrmAtomicCommit::DrmAtomicCommit | ( | const QList< DrmPipeline * > & | pipelines | ) |
Definition at line 39 of file drm_commit.cpp.
|
default |
| void KWin::DrmAtomicCommit::addBlob | ( | const DrmProperty & | prop, |
| const std::shared_ptr< DrmBlob > & | blob ) |
Definition at line 50 of file drm_commit.cpp.
| void KWin::DrmAtomicCommit::addBuffer | ( | DrmPlane * | plane, |
| const std::shared_ptr< DrmFramebuffer > & | buffer ) |
Definition at line 56 of file drm_commit.cpp.
|
inline |
Definition at line 58 of file drm_commit.h.
| void KWin::DrmAtomicCommit::addProperty | ( | const DrmProperty & | prop, |
| uint64_t | value ) |
Definition at line 45 of file drm_commit.cpp.
| bool KWin::DrmAtomicCommit::areBuffersReadable | ( | ) | const |
Definition at line 151 of file drm_commit.cpp.
| bool KWin::DrmAtomicCommit::commit | ( | ) |
Definition at line 88 of file drm_commit.cpp.
| bool KWin::DrmAtomicCommit::commitModeset | ( | ) |
Definition at line 93 of file drm_commit.cpp.
| bool KWin::DrmAtomicCommit::isCursorOnly | ( | ) | const |
Definition at line 204 of file drm_commit.cpp.
| std::optional< bool > KWin::DrmAtomicCommit::isVrr | ( | ) | const |
Definition at line 168 of file drm_commit.cpp.
| void KWin::DrmAtomicCommit::merge | ( | DrmAtomicCommit * | onTop | ) |
Definition at line 178 of file drm_commit.cpp.
| const std::unordered_set< DrmPlane * > & KWin::DrmAtomicCommit::modifiedPlanes | ( | ) | const |
Definition at line 173 of file drm_commit.cpp.
|
overridevirtual |
Implements KWin::DrmCommit.
Definition at line 134 of file drm_commit.cpp.
| void KWin::DrmAtomicCommit::setCursorOnly | ( | bool | cursor | ) |
Definition at line 199 of file drm_commit.cpp.
| void KWin::DrmAtomicCommit::setDeadline | ( | std::chrono::steady_clock::time_point | deadline | ) |
Definition at line 159 of file drm_commit.cpp.
| void KWin::DrmAtomicCommit::setPresentationMode | ( | PresentationMode | mode | ) |
Definition at line 73 of file drm_commit.cpp.
| void KWin::DrmAtomicCommit::setVrr | ( | DrmCrtc * | crtc, |
| bool | vrr ) |
Definition at line 67 of file drm_commit.cpp.
| bool KWin::DrmAtomicCommit::test | ( | ) |
Definition at line 78 of file drm_commit.cpp.
| bool KWin::DrmAtomicCommit::testAllowModeset | ( | ) |
Definition at line 83 of file drm_commit.cpp.