gstgl.glsync_meta

Module for [GLSyncMeta] class

Types 1

#GstGLSyncMeta provides the ability to synchronize the OpenGL command stream with the CPU or with other OpenGL contexts.

Fields
GstGLSyncMeta _cInstance
Methods
void * _cPtr() nothrow
gst.meta.Meta parent() @property nothrowGet `parent` field. Returns: the parent #GstMeta
gstgl.glcontext.GLContext context() @property nothrowGet `context` field. Returns: the #GstGLContext used to allocate the meta
void context(gstgl.glcontext.GLContext propval) @property nothrowSet `context` field. Params: propval = the #GstGLContext used to allocate the meta
SetSyncFuncType setSync() @property nothrowGet `setSync` field. Returns: set a sync point in the OpenGL command stream
SetSyncGlFuncType setSyncGl() @property nothrowGet `setSyncGl` field. Returns: the same as @set_sync but called from @context's thread
WaitFuncType wait() @property nothrowGet `wait` field. Returns: execute a wait on the previously set sync point into the OpenGL command stream
WaitGlFuncType waitGl() @property nothrowGet `waitGl` field. Returns: the same as @wait but called from @context's thread
WaitCpuFuncType waitCpu() @property nothrowGet `waitCpu` field. Returns: wait for the previously set sync point to pass from the CPU
WaitCpuGlFuncType waitCpuGl() @property nothrowGet `waitCpuGl` field. Returns: the same as @wait_cpu but called from @context's thread
CopyFuncType copy() @property nothrowGet `copy` field. Returns: copy @data into a new #GstGLSyncMeta
FreeFuncType free() @property nothrowGet `free` field. Returns: free @data
FreeGlFuncType freeGl() @property nothrowGet `freeGl` field. Returns: free @data in @context's thread
void setSyncPoint(gstgl.glcontext.GLContext context) nothrowSet a sync point to possibly wait on at a later time.
void wait(gstgl.glcontext.GLContext context) nothrowInsert a wait into context's command stream ensuring all previous OpenGL commands before sync_meta have completed.
void waitCpu(gstgl.glcontext.GLContext context) nothrowPerform a wait so that the sync point has passed from the CPU's perspective What that means, is that all GL operations changing CPU-visible data before the sync point are now visible.
Constructors
this(void * ptr, Flag!"Take" take)