Class (GI Struct)

GstGL-1.0GstGLGLBaseMemory

GstGLBaseMemory is a Gst.Memory subclass providing the basis of support for the mapping of GL buffers.

Data is uploaded or downloaded from the GPU as is necessary.

Index

Constructors

Properties

context: GstGL.GLContext
data: any
gl_map_count: number
map_count: number
map_flags: Gst.MapFlags

Methods

  • Note: only intended for subclass usage to allocate the system memory buffer on demand. If there is already a non-NULL data pointer in gl_mem->data, then this function imply returns TRUE.

    Returns boolean

    whether the system memory could be allocated

  • Initializes the GL Base Memory allocator. It is safe to call this function multiple times. This must be called before any other GstGLBaseMemory operation.

    Returns void