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()gstgl.glcontext.GLContext context() @propertyGet `context` field. Returns: the #GstGLContext used to allocate the metavoid context(gstgl.glcontext.GLContext propval) @propertySet `context` field. Params: propval = the #GstGLContext used to allocate the metaSetSyncFuncType setSync() @propertyGet `setSync` field. Returns: set a sync point in the OpenGL command streamSetSyncGlFuncType setSyncGl() @propertyGet `setSyncGl` field. Returns: the same as @set_sync but called from @context's threadWaitFuncType wait() @propertyGet `wait` field. Returns: execute a wait on the previously set sync point into the OpenGL command streamWaitGlFuncType waitGl() @propertyGet `waitGl` field. Returns: the same as @wait but called from @context's threadWaitCpuFuncType waitCpu() @propertyGet `waitCpu` field. Returns: wait for the previously set sync point to pass from the CPUWaitCpuGlFuncType waitCpuGl() @propertyGet `waitCpuGl` field. Returns: the same as @wait_cpu but called from @context's threadvoid 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.