GstGLRenderBuffer
GstGLRenderbuffer is a GstGL.GLBaseMemory subclass providing support for
OpenGL renderbuffers.
GstGL.GLRenderbuffer is created or wrapped through GstGL.gl_base_memory_alloc
with GstGL.GLRenderbufferAllocationParams.
GstGLRenderbuffer
Represents information about a GL renderbuffer
Members
renderbuffer_id
(
guint)
–
the GL texture id for this memory
GstGL.GLRenderbuffer
Represents information about a GL renderbuffer
Members
the GL texture id for this memory
renderbuffer_wrapped
(
Number)
–
No description available
GstGL.GLRenderbuffer
Represents information about a GL renderbuffer
Members
the GL texture id for this memory
renderbuffer_wrapped
(
bool)
–
No description available
Methods
GstGL.GLRenderbuffer.prototype.get_format
function GstGL.GLRenderbuffer.prototype.get_format(): {
}
Since : 1.12
def GstGL.GLRenderbuffer.get_format (self):
Since : 1.12
gst_gl_renderbuffer_get_height
gint
gst_gl_renderbuffer_get_height (GstGLRenderbuffer * gl_mem)
Returns
–
the configured height of gl_mem
Since : 1.10
GstGL.GLRenderbuffer.prototype.get_height
function GstGL.GLRenderbuffer.prototype.get_height(): {
}
the configured height of gl_mem
Since : 1.10
GstGL.GLRenderbuffer.get_height
def GstGL.GLRenderbuffer.get_height (self):
the configured height of gl_mem
Since : 1.10
gst_gl_renderbuffer_get_id
guint
gst_gl_renderbuffer_get_id (GstGLRenderbuffer * gl_mem)
Returns
–
the OpenGL renderbuffer handle of gl_mem
Since : 1.10
GstGL.GLRenderbuffer.prototype.get_id
function GstGL.GLRenderbuffer.prototype.get_id(): {
}
the OpenGL renderbuffer handle of gl_mem
Since : 1.10
GstGL.GLRenderbuffer.get_id
def GstGL.GLRenderbuffer.get_id (self):
the OpenGL renderbuffer handle of gl_mem
Since : 1.10
gst_gl_renderbuffer_get_width
gint
gst_gl_renderbuffer_get_width (GstGLRenderbuffer * gl_mem)
Returns
–
the configured width of gl_mem
Since : 1.10
GstGL.GLRenderbuffer.prototype.get_width
function GstGL.GLRenderbuffer.prototype.get_width(): {
}
the configured width of gl_mem
Since : 1.10
GstGL.GLRenderbuffer.get_width
def GstGL.GLRenderbuffer.get_width (self):
the configured width of gl_mem
Since : 1.10
Functions
gst_gl_renderbuffer_init_once
gst_gl_renderbuffer_init_once ()
Initializes the GL Base Texture allocator. It is safe to call this function
multiple times. This must be called before any other GstGLRenderbuffer operation.
Since : 1.10
GstGL.prototype.gl_renderbuffer_init_once
function GstGL.prototype.gl_renderbuffer_init_once(): {
}
Initializes the GL Base Texture allocator. It is safe to call this function
multiple times. This must be called before any other GstGLRenderbuffer operation.
Since : 1.10
GstGL.gl_renderbuffer_init_once
def GstGL.gl_renderbuffer_init_once ():
Initializes the GL Base Texture allocator. It is safe to call this function
multiple times. This must be called before any other GstGLRenderbuffer operation.
Since : 1.10
GstGLRenderbufferAllocationParams
GstGL.GLRenderbufferAllocationParams
GstGL.GLRenderbufferAllocationParams
Constructors
GstGL.GLRenderbufferAllocationParams.prototype.new
function GstGL.GLRenderbufferAllocationParams.prototype.new(context: GstGL.GLContext, alloc_params: Gst.AllocationParams, renderbuffer_format: GstGL.GLFormat, width: Number, height: Number): {
}
Parameters:
the width of the renderbuffer
the height of the renderbuffer
Since : 1.10
GstGL.GLRenderbufferAllocationParams.new
def GstGL.GLRenderbufferAllocationParams.new (context, alloc_params, renderbuffer_format, width, height):
Parameters:
the width of the renderbuffer
the height of the renderbuffer
Since : 1.10
GstGL.GLRenderbufferAllocationParams.prototype.new_wrapped
function GstGL.GLRenderbufferAllocationParams.prototype.new_wrapped(context: GstGL.GLContext, alloc_params: Gst.AllocationParams, renderbuffer_format: GstGL.GLFormat, width: Number, height: Number, gl_handle: Object, user_data: Object, notify: GLib.DestroyNotify): {
}
Parameters:
the width of the renderbuffer
the height of the renderbuffer
user data to call notify with
Since : 1.10
GstGL.GLRenderbufferAllocationParams.new_wrapped
def GstGL.GLRenderbufferAllocationParams.new_wrapped (context, alloc_params, renderbuffer_format, width, height, gl_handle, user_data, notify):
Parameters:
the width of the renderbuffer
the height of the renderbuffer
user data to call notify with
Since : 1.10
GstGLRenderbufferAllocator
Class structure
GstGL.GLRenderbufferAllocator
GstGL.GLRenderbufferAllocator
Functions
gst_is_gl_renderbuffer
gboolean
gst_is_gl_renderbuffer (GstMemory * mem)
Since : 1.10
GstGL.prototype.is_gl_renderbuffer
function GstGL.prototype.is_gl_renderbuffer(mem: Gst.Memory): {
}
Since : 1.10
GstGL.is_gl_renderbuffer
def GstGL.is_gl_renderbuffer (mem):
Since : 1.10
Function Macros
GST_GL_RENDERBUFFER_ALLOCATOR_CAST
#define GST_GL_RENDERBUFFER_ALLOCATOR_CAST(obj) ((GstGLRenderbufferAllocator *)(obj))
GST_GL_RENDERBUFFER_CAST
#define GST_GL_RENDERBUFFER_CAST(obj) ((GstGLRenderbuffer *) obj)
Constants
GST_GL_RENDERBUFFER_ALLOCATOR_NAME
#define GST_GL_RENDERBUFFER_ALLOCATOR_NAME "GLRenderbuffer"
The name of the GL renderbuffer allocator
GstGL.GL_RENDERBUFFER_ALLOCATOR_NAME
The name of the GL renderbuffer allocator
GstGL.GL_RENDERBUFFER_ALLOCATOR_NAME
The name of the GL renderbuffer allocator
GST_TYPE_GL_RENDERBUFFER
#define GST_TYPE_GL_RENDERBUFFER (gst_gl_renderbuffer_get_type())
Since : 1.20
deprecated : 1.22: This type has no use.
GST_TYPE_RENDERBUFFER_ALLOCATION_PARAMS
#define GST_TYPE_RENDERBUFFER_ALLOCATION_PARAMS (gst_gl_renderbuffer_allocation_params_get_type)