Module functions
SourceFunctions§
- 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
, produceinversion
such that: - gl_
video_ format_ swizzle - Calculates the swizzle indices for
video_format
andgl_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 executesGLSLVersion::profile_from_string()
.