upipe-gl/upipe_gl_sink_common.h header reference

Upipe GL - common definitions More

Header inclusion [link] 

Members [link] 

Types [link] 

Functions [link] 

Description [link] 

Upipe GL - common definitions

Members detail [link] 

#define UPIPE_GL_SINK_SIGNATURE [link] 

This macro is declared in upipe-gl/upipe_gl_sink_common.h source file, line 38.

#define _UPIPE_GL_UPIPE_GL_SINK_COMMON_H_ [link] 

This macro is declared in upipe-gl/upipe_gl_sink_common.h source file, line 31.

enum upipe_gl_sink_command [link] 

This enum is declared in upipe-gl/upipe_gl_sink_common.h source file, line 69.

This enum extends upipe_command with specific commands for gl sink.

IdentifierValueDescription
UPIPE_GL_SINK_SENTINEL0x8000
UPIPE_GL_SINK_CONTROL_LOCAL1

int upipe_gl_sink_throw_render(struct upipe *upipe, struct uref *uref) [link] 

This function is declared in upipe-gl/upipe_gl_sink_common.h source file, line 63.

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

bool upipe_gl_texture_load_uref(struct uref *uref, unsigned int texture) [link] 

This function is declared in upipe-gl/upipe_gl_sink_common.h source file, line 80.

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

enum uprobe_gl_sink_event [link] 

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.

IdentifierValueDescription
UPROBE_GL_SINK_SENTINEL0x8000
UPROBE_GL_SINK_INIT1init GL context (int width, int height)
UPROBE_GL_SINK_RENDER2render GL (struct uref *)
UPROBE_GL_SINK_RESHAPE3reshape GL (int width, int height)
UPROBE_GL_SINK_LOCAL4
Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc