globjects  2.0.0.690708773bba
Strict OpenGL objects wrapper.

#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

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

Member Function Documentation

static std::unique_ptr<Sync> globjects::Sync::fence ( gl::GLenum  condition)
static
gl::GLenum globjects::Sync::clientWait ( gl::SyncObjectMask  flags,
gl::GLuint64  timeout 
)
void globjects::Sync::wait ( gl::GLuint64  timeout)
void globjects::Sync::get ( gl::GLenum  pname,
gl::GLsizei  bufsize,
gl::GLsizei *  length,
gl::GLint *  values 
)
gl::GLint globjects::Sync::get ( gl::GLenum  pname)
gl::GLsync globjects::Sync::sync ( ) const
void globjects::Sync::wait ( gl::UnusedMask  flags,
gl::GLuint64  timeout 
)
protected
static gl::GLsync globjects::Sync::fenceSync ( gl::GLenum  condition,
gl::UnusedMask  flags 
)
staticprotected
static std::unique_ptr<Sync> globjects::Sync::fence ( gl::GLenum  condition,
gl::UnusedMask  flags 
)
staticprotected

Friends And Related Function Documentation

friend class AbstractObjectNameImplementation
friend

Member Data Documentation

gl::GLsync globjects::Sync::m_sync
protected
void* globjects::Sync::m_objectLabelState
mutableprotected

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