GstGLRenderBuffer
GstGLRenderbuffer is a GstGLBaseMemory subclass providing support for OpenGL renderbuffers.
GstGLRenderbuffer is created or wrapped through gst_gl_base_memory_alloc with GstGLRenderbufferAllocationParams.
GstGLRenderbuffer
Represents information about a GL renderbuffer
Members
renderbuffer_id
(guint)
–
the GL texture id for this memory
renderbuffer_format
(GstGLFormat)
–
the texture type
width
(guint)
–
the width
height
(guint)
–
the height
renderbuffer_wrapped
(gboolean)
–
Methods
gst_gl_renderbuffer_get_format
GstGLFormat gst_gl_renderbuffer_get_format (GstGLRenderbuffer * gl_mem)
Parameters:
gl_mem
–
the GstGLFormat of gl_mem
Since : 1.12
gst_gl_renderbuffer_get_height
gint gst_gl_renderbuffer_get_height (GstGLRenderbuffer * gl_mem)
Parameters:
gl_mem
–
the configured height of gl_mem
Since : 1.10
gst_gl_renderbuffer_get_id
guint gst_gl_renderbuffer_get_id (GstGLRenderbuffer * gl_mem)
Parameters:
gl_mem
–
the OpenGL renderbuffer handle of gl_mem
Since : 1.10
gst_gl_renderbuffer_get_width
gint gst_gl_renderbuffer_get_width (GstGLRenderbuffer * gl_mem)
Parameters:
gl_mem
–
the configured width of gl_mem
Since : 1.10
Functions
GstGLRenderbufferAllocationParams
Allocation parameters
Members
renderbuffer_format
(GstGLFormat)
–
the GstGLFormat
width
(guint)
–
the width
height
(guint)
–
the height
Constructors
gst_gl_renderbuffer_allocation_params_new
GstGLRenderbufferAllocationParams * gst_gl_renderbuffer_allocation_params_new (GstGLContext * context, const GstAllocationParams * alloc_params, GstGLFormat renderbuffer_format, guint width, guint height)
Parameters:
context
–
alloc_params
(
[allow-none])
–
the GstAllocationParams for sysmem mappings of the texture
renderbuffer_format
–
the GstGLFormat for the created textures
width
–
the width of the renderbuffer
height
–
the height of the renderbuffer
a new GstGLRenderbufferAllocationParams for allocating GstGLRenderbuffer's
Since : 1.10
gst_gl_renderbuffer_allocation_params_new_wrapped
GstGLRenderbufferAllocationParams * gst_gl_renderbuffer_allocation_params_new_wrapped (GstGLContext * context, const GstAllocationParams * alloc_params, GstGLFormat renderbuffer_format, guint width, guint height, gpointer gl_handle, gpointer user_data, GDestroyNotify notify)
Parameters:
context
–
alloc_params
(
[allow-none])
–
the GstAllocationParams for tex_id
renderbuffer_format
–
the GstGLFormat for tex_id
width
–
the width of the renderbuffer
height
–
the height of the renderbuffer
gl_handle
–
the GL handle to wrap
user_data
(
[allow-none])
–
user data to call notify with
notify
(
[allow-none])
–
a new GstGLRenderbufferAllocationParams for wrapping gl_handle as a renderbuffer
Since : 1.10
GstGLRenderbufferAllocator
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstAllocator ╰──GstGLBaseMemoryAllocator ╰──GstGLRenderbufferAllocator
Opaque GstGLRenderbufferAllocator struct
Members
parent
(GstGLBaseMemoryAllocator)
–
Class structure
GstGLRenderbufferAllocatorClass
The GstGLRenderbufferAllocatorClass only contains private data
Fields
parent_class
(GstGLBaseMemoryAllocatorClass)
–
Functions
gst_is_gl_renderbuffer
gboolean gst_is_gl_renderbuffer (GstMemory * mem)
Parameters:
mem
–
whether the memory at mem is a GstGLRenderbuffer
Since : 1.10
Function Macros
Constants
The results of the search are