Module functions

Source

Functions§

gl_check_extension
name
gl_element_propagate_display_context
gl_handle_context_query
element
gl_handle_set_context
Helper function for implementing GstElementClass.set_context() in OpenGL capable elements.
gl_swizzle_invert
Given swizzle, produce inversion such that:
gl_video_format_swizzle
Calculates the swizzle indices for video_format and gl_format in order to access a texture such that accessing a texel from a texture through the swizzle index produces values in the order (R, G, B, A) or (Y, U, V, A).
glsl_string_get_version_profile
Note: this function first searches the first 1 kilobytes for a version preprocessor directive and then executes GLSLVersion::profile_from_string().