globjects  2.0.0.4363356ae2ef
Strict OpenGL objects wrapper.
Loading...
Searching...
No Matches

#include <globjects/include/globjects/Sync.h>

Inheritance diagram for globjects::Sync:
globjects::Instantiator< Sync >

Public Member Functions

 Sync (gl::GLsync sync)
 
virtual ~Sync ()
 
gl::GLenum clientWait (gl::SyncObjectMask flags, gl::GLuint64 timeout)
 
void wait (gl::GLuint64 timeout)
 
void get (gl::GLenum pname, gl::GLsizei bufsize, gl::GLsizei *length, gl::GLint *values)
 
gl::GLint get (gl::GLenum pname)
 
gl::GLsync sync () const
 

Static Public Member Functions

static std::unique_ptr< Syncfence (gl::GLenum condition)
 
- Static Public Member Functions inherited from globjects::Instantiator< Sync >
static std::unique_ptr< Synccreate (Args &&... args)
 
static std::unique_ptr< SyncfromId (gl::GLuint id, Args &&... args)
 

Protected Member Functions

void wait (gl::UnusedMask flags, gl::GLuint64 timeout)
 

Static Protected Member Functions

static gl::GLsync fenceSync (gl::GLenum condition, gl::UnusedMask flags)
 
static std::unique_ptr< Syncfence (gl::GLenum condition, gl::UnusedMask flags)
 

Protected Attributes

gl::GLsync m_sync
 
void * m_objectLabelState
 

Friends

class AbstractObjectNameImplementation
 

Constructor & Destructor Documentation

◆ Sync()

globjects::Sync::Sync ( gl::GLsync  sync)

◆ ~Sync()

virtual globjects::Sync::~Sync ( )
virtual

Member Function Documentation

◆ fence() [1/2]

static std::unique_ptr< Sync > globjects::Sync::fence ( gl::GLenum  condition)
static

◆ clientWait()

gl::GLenum globjects::Sync::clientWait ( gl::SyncObjectMask  flags,
gl::GLuint64  timeout 
)

◆ wait() [1/2]

void globjects::Sync::wait ( gl::GLuint64  timeout)

◆ get() [1/2]

void globjects::Sync::get ( gl::GLenum  pname,
gl::GLsizei  bufsize,
gl::GLsizei *  length,
gl::GLint *  values 
)

◆ get() [2/2]

gl::GLint globjects::Sync::get ( gl::GLenum  pname)

◆ sync()

gl::GLsync globjects::Sync::sync ( ) const

◆ wait() [2/2]

void globjects::Sync::wait ( gl::UnusedMask  flags,
gl::GLuint64  timeout 
)
protected

◆ fenceSync()

static gl::GLsync globjects::Sync::fenceSync ( gl::GLenum  condition,
gl::UnusedMask  flags 
)
staticprotected

◆ fence() [2/2]

static std::unique_ptr< Sync > globjects::Sync::fence ( gl::GLenum  condition,
gl::UnusedMask  flags 
)
staticprotected

Friends And Related Function Documentation

◆ AbstractObjectNameImplementation

friend class AbstractObjectNameImplementation
friend

Member Data Documentation

◆ m_sync

gl::GLsync globjects::Sync::m_sync
protected

◆ m_objectLabelState

void* globjects::Sync::m_objectLabelState
mutableprotected

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