gstgl.glmemory_pbo
Module for GLMemoryPBO class
class GLMemoryPBO
Types 1
classGLMemoryPBO : gobject.boxed.Boxed
#GstGLMemoryPBO is created or wrapped through gstgl.glbase_memory.GLBaseMemory.alloc with #GstGLVideoAllocationParams.
Data is uploaded or downloaded from the GPU as is necessary.
Methods
GLMemoryPBO self()Returns `this`, for use in `with` statements.bool copyIntoTexture(uint texId, gstgl.types.GLTextureTarget target, gstgl.types.GLFormat texFormat, int width, int height, int stride, bool respecify)Copies gl_mem into the texture specified by tex_id. The format of tex_id is specified by tex_format, width and height.void downloadTransfer()Transfer the texture data from the texture into the PBO if necessary.void uploadTransfer()Transfer the texture data from the PBO into the texture if necessary.void initOnce()