Static$gtypeNote: 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.
whether the system memory could be allocated
Initializes mem with the required parameters
the Gst.Allocator to initialize with
the parent Gst.Memory to initialize with
the GstGL.GLContext to initialize with
the GstAllocationParams to initialize with
the number of bytes to be allocated
Optionaluser_data: anyuser data to call notify with
Optionalnotify: DestroyNotifythe destination GstGL.GLBaseMemory
the offset to start at
the number of bytes to copy
whether the copy succeeded.
Staticallocthe GstGL.GLAllocationParams to allocate the memory with
Staticinit_Initializes the GL Base Memory allocator. It is safe to call this function multiple times. This must be called before any other GstGLBaseMemory operation.
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.