OpenGL-based GPUSync implementation. More...
#include <mitsuba/hw/glsync.h>
Public Member Functions | |
GLSync () | |
Allocate memory for a new synchronization object. More... | |
void | init () |
Create the synchronization object on the GL. More... | |
void | wait () |
Wait on the fence (blocking) More... | |
void | enqueueWait () |
Enqueue a wait command, but do not block. More... | |
void | cleanup () |
Remove the synchronization object. More... | |
virtual const Class * | getClass () const |
Retrieve this object's class. More... | |
Public Member Functions inherited from mitsuba::GPUSync | |
GPUSync () | |
Allocate memory for a new synchronization object. More... | |
std::string | toString () const |
Return a string representation of this class. More... | |
Public Member Functions inherited from Object | |
Object () | |
Construct a new object. More... | |
int | getRefCount () const |
Return the current reference count. More... | |
void | incRef () const |
Increase the reference count of the object by one. More... | |
void | decRef (bool autoDeallocate=true) const |
Decrease the reference count of the object and possibly deallocate it. More... | |
Static Public Attributes | |
static Class * | m_theClass |
Static Public Attributes inherited from mitsuba::GPUSync | |
static Class * | m_theClass |
Static Public Attributes inherited from Object | |
static Class * | m_theClass |
Pointer to the object's class descriptor. More... | |
Protected Member Functions | |
virtual | ~GLSync () |
Virtual destructor. More... | |
Protected Member Functions inherited from mitsuba::GPUSync | |
virtual | ~GPUSync () |
Virtual destructor. More... | |
Protected Member Functions inherited from Object | |
virtual | ~Object () |
Virtual private deconstructor. (Will only be called by ref) More... | |
Protected Attributes | |
GLsync | m_sync |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
static void | staticInitialization () |
Initializes the built-in reference count debugger (if enabled) More... | |
static void | staticShutdown () |
Free the memory taken by staticInitialization() More... | |
OpenGL-based GPUSync implementation.
mitsuba::GLSync::GLSync | ( | ) |
Allocate memory for a new synchronization object.
|
protectedvirtual |
Virtual destructor.
|
virtual |
Remove the synchronization object.
Implements mitsuba::GPUSync.
|
virtual |
Enqueue a wait command, but do not block.
Implements mitsuba::GPUSync.
|
virtual |
Retrieve this object's class.
Reimplemented from mitsuba::GPUSync.
|
virtual |
Create the synchronization object on the GL.
Implements mitsuba::GPUSync.
|
virtual |
Wait on the fence (blocking)
Implements mitsuba::GPUSync.
|
protected |
|
static |