GstGL.GLSyncMeta

Fields

Name

Type

Access

Description

context

GstGL.GLContext

r/w

the GstGL.GLContext used to allocate the meta

copy

object

r

copy data into a new GstGL.GLSyncMeta

data

object

r/w

a custom data pointer for the implementation

free

object

r

free data

free_gl

object

r

free data in context's thread

parent

Gst.Meta

r/w

the parent Gst.Meta

set_sync

object

r

set a sync point in the OpenGL command stream

set_sync_gl

object

r

the same as set_sync but called from context's thread

wait

object

r

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

wait_cpu

object

r

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

wait_cpu_gl

object

r

the same as wait_cpu but called from context's thread

wait_gl

object

r

the same as wait but called from context's thread

Methods

class

get_info ()

set_sync_point (context)

Details

class GstGL.GLSyncMeta

GstGL.GLSyncMeta provides the ability to synchronize the OpenGL command stream with the CPU or with other OpenGL contexts.

classmethod get_info()[source]
Return type:

Gst.MetaInfo

set_sync_point(context)[source]
Parameters:

context (GstGL.GLContext) – a GstGL.GLContext

Set a sync point to possibly wait on at a later time.

New in version 1.6.