gstgl.glsync_meta
Module for [GLSyncMeta] class
class GLSyncMeta
Types 1
classGLSyncMeta
#GstGLSyncMeta provides the ability to synchronize the OpenGL command stream with the CPU or with other OpenGL contexts.
Fields
GstGLSyncMeta _cInstanceMethods
void * _cPtr() nothrowgstgl.glcontext.GLContext context() @property nothrowGet `context` field. Returns: the #GstGLContext used to allocate the metavoid context(gstgl.glcontext.GLContext propval) @property nothrowSet `context` field. Params: propval = the #GstGLContext used to allocate the metaSetSyncFuncType setSync() @property nothrowGet `setSync` field. Returns: set a sync point in the OpenGL command streamSetSyncGlFuncType setSyncGl() @property nothrowGet `setSyncGl` field. Returns: the same as @set_sync but called from @context's threadWaitFuncType wait() @property nothrowGet `wait` field. Returns: execute a wait on the previously set sync point into the OpenGL command streamWaitGlFuncType waitGl() @property nothrowGet `waitGl` field. Returns: the same as @wait but called from @context's threadWaitCpuFuncType waitCpu() @property nothrowGet `waitCpu` field. Returns: wait for the previously set sync point to pass from the CPUWaitCpuGlFuncType waitCpuGl() @property nothrowGet `waitCpuGl` field. Returns: the same as @wait_cpu but called from @context's threadCopyFuncType copy() @property nothrowGet `copy` field. Returns: copy @data into a new #GstGLSyncMetaFreeGlFuncType freeGl() @property nothrowGet `freeGl` field. Returns: free @data in @context's threadvoid 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.