| Top |
| GstGLRenderbufferAllocationParams * | gst_gl_renderbuffer_allocation_params_new () |
| GstGLRenderbufferAllocationParams * | gst_gl_renderbuffer_allocation_params_new_wrapped () |
| gint | gst_gl_renderbuffer_get_height () |
| guint | gst_gl_renderbuffer_get_id () |
| GstGLFormat | gst_gl_renderbuffer_get_format () |
| gint | gst_gl_renderbuffer_get_width () |
| void | gst_gl_renderbuffer_init_once () |
| gboolean | gst_is_gl_renderbuffer () |
GObject
╰── GInitiallyUnowned
╰── GstObject
╰── GstAllocator
╰── GstGLBaseMemoryAllocator
╰── GstGLRenderbufferAllocator
GstGLRenderbuffer is a GstGLBaseMemory subclass providing support for OpenGL renderbuffers.
GstGLRenderbuffer is created or wrapped through gst_gl_base_memory_alloc()
with GstGLRenderbufferAllocationParams.
GstGLRenderbufferAllocationParams * gst_gl_renderbuffer_allocation_params_new (GstGLContext *context,GstAllocationParams *alloc_params,GstGLFormat renderbuffer_format,guint width,guint height);
context |
||
alloc_params |
the GstAllocationParams for sysmem mappings of the texture. |
[allow-none] |
width |
the width of the renderbuffer |
|
height |
the height of the renderbuffer |
|
renderbuffer_format |
the GstGLFormat for the created textures |
Since: 1.10
GstGLRenderbufferAllocationParams * gst_gl_renderbuffer_allocation_params_new_wrapped (GstGLContext *context,GstAllocationParams *alloc_params,GstGLFormat renderbuffer_format,guint width,guint height,gpointer gl_handle,gpointer user_data,GDestroyNotify notify);
context |
||
alloc_params |
the GstAllocationParams for |
[allow-none] |
width |
the width of the renderbuffer |
|
height |
the height of the renderbuffer |
|
renderbuffer_format |
the GstGLFormat for |
|
gl_handle |
the GL handle to wrap |
|
user_data |
user data to call |
[allow-none] |
notify |
a GDestroyNotify. |
[allow-none] |
Since: 1.10
gint
gst_gl_renderbuffer_get_height (GstGLRenderbuffer *gl_mem);
Since: 1.10
guint
gst_gl_renderbuffer_get_id (GstGLRenderbuffer *gl_mem);
Since: 1.10
GstGLFormat
gst_gl_renderbuffer_get_format (GstGLRenderbuffer *gl_mem);
Since: 1.12
gint
gst_gl_renderbuffer_get_width (GstGLRenderbuffer *gl_mem);
Since: 1.10
void
gst_gl_renderbuffer_init_once (void);
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
typedef struct _GstGLRenderbufferAllocator GstGLRenderbufferAllocator;
Opaque GstGLRenderbufferAllocator struct
typedef struct {
GstGLBaseMemoryAllocatorClass parent_class;
} GstGLRenderbufferAllocatorClass;
The GstGLRenderbufferAllocatorClass only contains private data