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

#include <x11syncmanager.h>

Public Types

enum  State {
  Ready , TriggerSent , Waiting , Done ,
  Resetting
}
 

Public Member Functions

 X11SyncObject ()
 
 ~X11SyncObject ()
 
State state () const
 
void trigger ()
 
void wait ()
 
bool finish ()
 
void reset ()
 
void finishResetting ()
 

Detailed Description

SyncObject represents a fence used to synchronize operations in the kwin command stream with operations in the X command stream.

Definition at line 21 of file x11syncmanager.h.

Member Enumeration Documentation

◆ State

Enumerator
Ready 
TriggerSent 
Waiting 
Done 
Resetting 

Definition at line 24 of file x11syncmanager.h.

Constructor & Destructor Documentation

◆ X11SyncObject()

KWin::X11SyncObject::X11SyncObject ( )

Definition at line 22 of file x11syncmanager.cpp.

◆ ~X11SyncObject()

KWin::X11SyncObject::~X11SyncObject ( )

Definition at line 34 of file x11syncmanager.cpp.

Member Function Documentation

◆ finish()

bool KWin::X11SyncObject::finish ( )

Definition at line 79 of file x11syncmanager.cpp.

◆ finishResetting()

void KWin::X11SyncObject::finishResetting ( )

Definition at line 133 of file x11syncmanager.cpp.

◆ reset()

void KWin::X11SyncObject::reset ( )

Definition at line 115 of file x11syncmanager.cpp.

◆ state()

State KWin::X11SyncObject::state ( ) const
inline

Definition at line 35 of file x11syncmanager.h.

◆ trigger()

void KWin::X11SyncObject::trigger ( )

Definition at line 56 of file x11syncmanager.cpp.

◆ wait()

void KWin::X11SyncObject::wait ( )

Definition at line 69 of file x11syncmanager.cpp.


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