GstGLSyncMeta
GstGLSyncMeta provides the ability to synchronize the OpenGL command stream with the CPU or with other OpenGL contexts.
GstGLSyncMeta
Members
context
(GstGLContext *)
–
the GstGLContext used to allocate the meta
data
(gpointer)
–
a custom data pointer for the implementation
GstGL.GLSyncMeta
Members
context
(GstGL.GLContext)
–
the GstGL.GLContext used to allocate the meta
data
(Object)
–
a custom data pointer for the implementation
GstGL.GLSyncMeta
Members
context
(GstGL.GLContext)
–
the GstGL.GLContext used to allocate the meta
data
(object)
–
a custom data pointer for the implementation
Methods
gst_gl_sync_meta_set_sync_point
gst_gl_sync_meta_set_sync_point (GstGLSyncMeta * sync_meta, GstGLContext * context)
Set a sync point to possibly wait on at a later time.
Since : 1.6
GstGL.GLSyncMeta.prototype.set_sync_point
function GstGL.GLSyncMeta.prototype.set_sync_point(context: GstGL.GLContext): {
// javascript wrapper for 'gst_gl_sync_meta_set_sync_point'
}
Set a sync point to possibly wait on at a later time.
Parameters:
Since : 1.6
GstGL.GLSyncMeta.set_sync_point
def GstGL.GLSyncMeta.set_sync_point (self, context):
#python wrapper for 'gst_gl_sync_meta_set_sync_point'
Set a sync point to possibly wait on at a later time.
Parameters:
Since : 1.6
gst_gl_sync_meta_wait
gst_gl_sync_meta_wait (GstGLSyncMeta * sync_meta, GstGLContext * context)
Insert a wait into context's command stream ensuring all previous OpenGL commands before sync_meta have completed.
Since : 1.6
GstGL.GLSyncMeta.prototype.wait
function GstGL.GLSyncMeta.prototype.wait(context: GstGL.GLContext): {
// javascript wrapper for 'gst_gl_sync_meta_wait'
}
Insert a wait into context's command stream ensuring all previous OpenGL commands before sync_meta have completed.
Parameters:
Since : 1.6
GstGL.GLSyncMeta.wait
def GstGL.GLSyncMeta.wait (self, context):
#python wrapper for 'gst_gl_sync_meta_wait'
Insert a wait into context's command stream ensuring all previous OpenGL commands before sync_meta have completed.
Parameters:
Since : 1.6
gst_gl_sync_meta_wait_cpu
gst_gl_sync_meta_wait_cpu (GstGLSyncMeta * sync_meta, GstGLContext * 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.
Since : 1.8
GstGL.GLSyncMeta.prototype.wait_cpu
function GstGL.GLSyncMeta.prototype.wait_cpu(context: GstGL.GLContext): {
// javascript wrapper for 'gst_gl_sync_meta_wait_cpu'
}
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.
Parameters:
Since : 1.8
GstGL.GLSyncMeta.wait_cpu
def GstGL.GLSyncMeta.wait_cpu (self, context):
#python wrapper for 'gst_gl_sync_meta_wait_cpu'
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.
Parameters:
Since : 1.8
Functions
gst_gl_sync_meta_get_info
const GstMetaInfo * gst_gl_sync_meta_get_info ()
GstGL.prototype.gl_sync_meta_get_info
function GstGL.prototype.gl_sync_meta_get_info(): {
// javascript wrapper for 'gst_gl_sync_meta_get_info'
}
GstGL.gl_sync_meta_get_info
def GstGL.gl_sync_meta_get_info ():
#python wrapper for 'gst_gl_sync_meta_get_info'
Functions
gst_buffer_add_gl_sync_meta
GstGLSyncMeta * gst_buffer_add_gl_sync_meta (GstGLContext * context, GstBuffer * buffer)
the GstGLSyncMeta added to GstBuffer
Since : 1.6
GstGL.prototype.buffer_add_gl_sync_meta
function GstGL.prototype.buffer_add_gl_sync_meta(context: GstGL.GLContext, buffer: Gst.Buffer): {
// javascript wrapper for 'gst_buffer_add_gl_sync_meta'
}
the GstGL.GLSyncMeta added to Gst.Buffer
Since : 1.6
GstGL.buffer_add_gl_sync_meta
def GstGL.buffer_add_gl_sync_meta (context, buffer):
#python wrapper for 'gst_buffer_add_gl_sync_meta'
the GstGL.GLSyncMeta added to Gst.Buffer
Since : 1.6
gst_buffer_add_gl_sync_meta_full
GstGLSyncMeta * gst_buffer_add_gl_sync_meta_full (GstGLContext * context, GstBuffer * buffer, gpointer data)
the GstGLSyncMeta added to GstBuffer
Since : 1.8
GstGL.prototype.buffer_add_gl_sync_meta_full
function GstGL.prototype.buffer_add_gl_sync_meta_full(context: GstGL.GLContext, buffer: Gst.Buffer, data: Object): {
// javascript wrapper for 'gst_buffer_add_gl_sync_meta_full'
}
Parameters:
sync data to hold
the GstGL.GLSyncMeta added to Gst.Buffer
Since : 1.8
GstGL.buffer_add_gl_sync_meta_full
def GstGL.buffer_add_gl_sync_meta_full (context, buffer, data):
#python wrapper for 'gst_buffer_add_gl_sync_meta_full'
Parameters:
sync data to hold
the GstGL.GLSyncMeta added to Gst.Buffer
Since : 1.8
gst_gl_sync_meta_api_get_type
GType gst_gl_sync_meta_api_get_type ()
GstGL.prototype.gl_sync_meta_api_get_type
function GstGL.prototype.gl_sync_meta_api_get_type(): {
// javascript wrapper for 'gst_gl_sync_meta_api_get_type'
}
GstGL.gl_sync_meta_api_get_type
def GstGL.gl_sync_meta_api_get_type ():
#python wrapper for 'gst_gl_sync_meta_api_get_type'
Function Macros
gst_buffer_get_gl_sync_meta
#define gst_buffer_get_gl_sync_meta(b) ((GstGLSyncMeta*)gst_buffer_get_meta((b),GST_GL_SYNC_META_API_TYPE))
Constants
GST_BUFFER_POOL_OPTION_GL_SYNC_META
#define GST_BUFFER_POOL_OPTION_GL_SYNC_META "GstBufferPoolOptionGLSyncMeta"
An option that can be activated on bufferpools to request OpenGL synchronization metadata on buffers from the pool.
GstGL.BUFFER_POOL_OPTION_GL_SYNC_META
An option that can be activated on bufferpools to request OpenGL synchronization metadata on buffers from the pool.
GstGL.BUFFER_POOL_OPTION_GL_SYNC_META
An option that can be activated on bufferpools to request OpenGL synchronization metadata on buffers from the pool.
GST_GL_SYNC_META_API_TYPE
#define GST_GL_SYNC_META_API_TYPE (gst_gl_sync_meta_api_get_type())
GST_GL_SYNC_META_INFO
#define GST_GL_SYNC_META_INFO (gst_gl_sync_meta_get_info())
The results of the search are