upipe-gl/upipe_gl_sink_common.h header reference
Upipe GL - common definitions More
Header inclusion
Members
Types
- enum upipe_gl_sink_command
- enum uprobe_gl_sink_event
Function
- bool upipe_gl_texture_load_uref(struct uref *uref, unsigned int texture)
Description
Upipe GL - common definitions
Members detail
This macro is declared in upipe-gl/upipe_gl_sink_common.h source file, line 38.
This macro is declared in upipe-gl/upipe_gl_sink_common.h source file, line 31.
This enum is declared in upipe-gl/upipe_gl_sink_common.h source file, line 56.
This enum extends upipe_command with specific commands for gl sink.
Identifier | Value | Description |
---|---|---|
UPIPE_GL_SINK_SENTINEL | 0 | |
UPIPE_GL_SINK_CONTROL_LOCAL | 1 |
bool upipe_gl_texture_load_uref(struct uref *uref, unsigned int texture)
This function is declared in upipe-gl/upipe_gl_sink_common.h source file, line 67.
This function loads a uref picture into the specified texture
- uref: uref structure describing the picture
- texture: GL texture
The return value is false in case of error
This enum is declared in upipe-gl/upipe_gl_sink_common.h source file, line 42.
This enum extends uprobe_event with specific events for gl sink.
Identifier | Value | Description |
---|---|---|
UPROBE_GL_SINK_SENTINEL | 0 | |
UPROBE_GL_SINK_INIT | 1 | init GL context (int SIGNATURE, int width, int height) |
UPROBE_GL_SINK_RENDER | 2 | render GL (int SIGNATURE, struct uref*) |
UPROBE_GL_SINK_RESHAPE | 3 | reshape GL (int SIGNATURE, int width, int height) |
UPROBE_GL_SINK_LOCAL | 4 |