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()
gst.meta.Meta parent() @propertyGet `parent` field. Returns: the parent #GstMeta
gstgl.glcontext.GLContext context() @propertyGet `context` field. Returns: the #GstGLContext used to allocate the meta
void context(gstgl.glcontext.GLContext propval) @propertySet `context` field. Params: propval = the #GstGLContext used to allocate the meta
SetSyncFuncType setSync() @propertyGet `setSync` field. Returns: set a sync point in the OpenGL command stream
SetSyncGlFuncType setSyncGl() @propertyGet `setSyncGl` field. Returns: the same as @set_sync but called from @context's thread
WaitFuncType wait() @propertyGet `wait` field. Returns: execute a wait on the previously set sync point into the OpenGL command stream
WaitGlFuncType waitGl() @propertyGet `waitGl` field. Returns: the same as @wait but called from @context's thread
WaitCpuFuncType waitCpu() @propertyGet `waitCpu` field. Returns: wait for the previously set sync point to pass from the CPU
WaitCpuGlFuncType waitCpuGl() @propertyGet `waitCpuGl` field. Returns: the same as @wait_cpu but called from @context's thread
CopyFuncType copy() @propertyGet `copy` field. Returns: copy @data into a new #GstGLSyncMeta
FreeFuncType free() @propertyGet `free` field. Returns: free @data
FreeGlFuncType freeGl() @propertyGet `freeGl` field. Returns: free @data in @context's thread
void setSyncPoint(gstgl.glcontext.GLContext context)Set a sync point to possibly wait on at a later time.
void wait(gstgl.glcontext.GLContext context)Insert a wait into context's command stream ensuring all previous OpenGL commands before sync_meta have completed.
void waitCpu(gstgl.glcontext.GLContext context)Perform 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)