Module gstreamer_gl:: functions
source · Functions§
nameelement- Helper function for implementing
GstElementClass.set_context()in OpenGL capable elements. - Given
swizzle, produceinversionsuch that: - Calculates the swizzle indices for
video_formatandgl_formatin 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). - Note: this function first searches the first 1 kilobytes for a
versionpreprocessor directive and then executesGLSLVersion::profile_from_string().