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
Functions
- int upipe_gl_sink_throw_render(struct upipe *upipe, struct uref *uref)
- 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 68.
This enum extends upipe_command with specific commands for gl sink.
Identifier | Value | Description |
---|---|---|
UPIPE_GL_SINK_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_GL_SINK_CONTROL_LOCAL | unknown |
This function is declared in upipe-gl/upipe_gl_sink_common.h source file, line 62.
This function throws an UPROBE_GL_SINK_RENDER event.
Parameter list:
- upipe: pointer to pipe throwing the event
- uref: uref structure describing the picture
The return value is an error code
This function is declared in upipe-gl/upipe_gl_sink_common.h source file, line 79.
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 | UPROBE_LOCAL | |
UPROBE_GL_SINK_INIT | unknown | init GL context (int SIGNATURE, int width, int height) |
UPROBE_GL_SINK_RENDER | unknown | render GL (int SIGNATURE, struct uref*) |
UPROBE_GL_SINK_RESHAPE | unknown | reshape GL (int SIGNATURE, int width, int height) |
UPROBE_GL_SINK_LOCAL | unknown |