20 #if !defined(__MITSUBA_HW_GLSYNC_H_)
21 #define __MITSUBA_HW_GLSYNC_H_
Abstract GPU synchronization object implementing a memory fence operation.
Definition: gpusync.h:31
virtual void enqueueWait()=0
Enqueue a wait command, but do not block.
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
virtual void init()=0
Create the synchronization object on the GPU.
virtual void cleanup()=0
Remove the synchronization object.
virtual void wait()=0
Wait on the fence (blocking)
OpenGL-based GPUSync implementation.
Definition: glsync.h:31