the #GstGLContext to use for GL operations
the parent object
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.
Initializes mem
with the required parameters
the #GstAllocator to initialize with
the parent #GstMemory to initialize with
the #GstGLContext to initialize with
the GstAllocationParams
to initialize with
the number of bytes to be allocated
user data to call notify
with
a #GDestroyNotify
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 #GstMemory subclass providing the basis of support for the mapping of GL buffers.
Data is uploaded or downloaded from the GPU as is necessary.