globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.

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

Inheritance diagram for globjects::Sync:
globjects::Referenced globjects::HeapOnly

Public Member Functions

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
 
- Public Member Functions inherited from globjects::Referenced
 Referenced ()
 
void ref () const
 
void unref () const
 
int refCounter () const
 
- Public Member Functions inherited from globjects::HeapOnly
 HeapOnly ()
 
void destroy () const
 

Static Public Member Functions

static Syncfence (gl::GLenum condition)
 

Protected Member Functions

 Sync (gl::GLsync sync)
 
void wait (gl::UnusedMask flags, gl::GLuint64 timeout)
 
- Protected Member Functions inherited from globjects::Referenced
virtual ~Referenced ()
 
- Protected Member Functions inherited from globjects::HeapOnly
virtual ~HeapOnly ()
 

Static Protected Member Functions

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

Protected Attributes

gl::GLsync m_sync
 
void * m_objectLabelState
 

Friends

class AbstractObjectNameImplementation
 

Constructor & Destructor Documentation

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

Member Function Documentation

static 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 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: