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

#include <drm_commit_thread.h>

Inheritance diagram for KWin::DrmCommitThread:

Signals

void commitFailed ()
 

Public Member Functions

 DrmCommitThread (DrmGpu *gpu, const QString &name)
 
 ~DrmCommitThread ()
 
void addCommit (std::unique_ptr< DrmAtomicCommit > &&commit)
 
void setPendingCommit (std::unique_ptr< DrmLegacyCommit > &&commit)
 
void setModeInfo (uint32_t maximum, std::chrono::nanoseconds vblankTime)
 
void pageFlipped (std::chrono::nanoseconds timestamp)
 
bool pageflipsPending ()
 
std::chrono::nanoseconds safetyMargin () const
 

Detailed Description

Definition at line 27 of file drm_commit_thread.h.

Constructor & Destructor Documentation

◆ DrmCommitThread()

KWin::DrmCommitThread::DrmCommitThread ( DrmGpu * gpu,
const QString & name )
explicit

Definition at line 25 of file drm_commit_thread.cpp.

◆ ~DrmCommitThread()

KWin::DrmCommitThread::~DrmCommitThread ( )

Definition at line 208 of file drm_commit_thread.cpp.

Member Function Documentation

◆ addCommit()

void KWin::DrmCommitThread::addCommit ( std::unique_ptr< DrmAtomicCommit > && commit)

Definition at line 217 of file drm_commit_thread.cpp.

◆ commitFailed

void KWin::DrmCommitThread::commitFailed ( )
signal

◆ pageFlipped()

void KWin::DrmCommitThread::pageFlipped ( std::chrono::nanoseconds timestamp)

Definition at line 251 of file drm_commit_thread.cpp.

◆ pageflipsPending()

bool KWin::DrmCommitThread::pageflipsPending ( )

Definition at line 262 of file drm_commit_thread.cpp.

◆ safetyMargin()

std::chrono::nanoseconds KWin::DrmCommitThread::safetyMargin ( ) const
Returns
how long before the desired presentation timestamp the commit has to be added in order to get presented at that timestamp

Definition at line 275 of file drm_commit_thread.cpp.

◆ setModeInfo()

void KWin::DrmCommitThread::setModeInfo ( uint32_t maximum,
std::chrono::nanoseconds vblankTime )

Definition at line 242 of file drm_commit_thread.cpp.

◆ setPendingCommit()

void KWin::DrmCommitThread::setPendingCommit ( std::unique_ptr< DrmLegacyCommit > && commit)

Definition at line 231 of file drm_commit_thread.cpp.


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