GstGLSyncMeta

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

Members

Variables

context
GstGLContext* context;

the #GstGLContext used to allocate the meta

copy
void function(GstGLSyncMeta* src, GstBuffer* sbuffer, GstGLSyncMeta* dest, GstBuffer* dbuffer) copy;

copy @data into a new #GstGLSyncMeta

data
void* data;

a custom data pointer for the implementation

free
void function(GstGLSyncMeta* sync, GstGLContext* context) free;

free @data

freeGl
void function(GstGLSyncMeta* sync, GstGLContext* context) freeGl;

free @data in @context's thread

parent
GstMeta parent;

the parent #GstMeta

setSync
void function(GstGLSyncMeta* sync, GstGLContext* context) setSync;

set a sync point in the OpenGL command stream

setSyncGl
void function(GstGLSyncMeta* sync, GstGLContext* context) setSyncGl;

the same as @set_sync but called from @context's thread

wait
void function(GstGLSyncMeta* sync, GstGLContext* context) wait;

execute a wait on the previously set sync point into the OpenGL command stream

waitCpu
void function(GstGLSyncMeta* sync, GstGLContext* context) waitCpu;

wait for the previously set sync point to pass from the CPU

waitCpuGl
void function(GstGLSyncMeta* sync, GstGLContext* context) waitCpuGl;

the same as @wait_cpu but called from @context's thread

waitGl
void function(GstGLSyncMeta* sync, GstGLContext* context) waitGl;

the same as @wait but called from @context's thread