Functions
gst_gl_version_to_glsl_version
GstGLSLVersion gst_gl_version_to_glsl_version (GstGLAPI gl_api, gint maj, gint min)
The minimum supported GstGLSLVersion available for gl_api, maj and min
gst_glsl_profile_from_string
GstGLSLProfile gst_glsl_profile_from_string (const gchar * string)
Parameters:
string
–
a GLSL version string
the GstGLSLProfile of string or GST_GLSL_PROFILE_NONE on error
gst_glsl_profile_to_string
const gchar * gst_glsl_profile_to_string (GstGLSLProfile profile)
Parameters:
profile
–
the name for profile or NULL on error
gst_glsl_string_get_version_profile
gboolean gst_glsl_string_get_version_profile (const gchar * s, GstGLSLVersion * version, GstGLSLProfile * profile)
Parameters:
s
–
version
–
profile
–
gst_glsl_version_from_string
GstGLSLVersion gst_glsl_version_from_string (const gchar * string)
Parameters:
string
–
a GLSL version string
the GstGLSLVersion of string or GST_GLSL_VERSION_NONE on error
gst_glsl_version_profile_from_string
gboolean gst_glsl_version_profile_from_string (const gchar * string, GstGLSLVersion * version_ret, GstGLSLProfile * profile_ret)
Note: this function expects either a #version
GLSL preprocesser directive
or a valid GLSL version and/or profile.
Parameters:
string
–
a valid GLSL #version
string
version_ret
(
[out])
–
resulting GstGLSLVersion
profile_ret
(
[out])
–
resulting GstGLSLVersion
TRUE if a valid #version
string was found, FALSE otherwise
gst_glsl_version_profile_to_string
gchar * gst_glsl_version_profile_to_string (GstGLSLVersion version, GstGLSLProfile profile)
the combined GLSL #version
string for version and profile
gst_glsl_version_to_string
const gchar * gst_glsl_version_to_string (GstGLSLVersion version)
Parameters:
version
–
the name of version or NULL on error
Enumerations
GstGLSLProfile
GLSL profiles
Members
GST_GLSL_PROFILE_NONE
(0)
–
no profile supported/available
GST_GLSL_PROFILE_ES
(1)
–
OpenGL|ES profile
GST_GLSL_PROFILE_CORE
(2)
–
OpenGL core profile
GST_GLSL_PROFILE_COMPATIBILITY
(4)
–
OpenGL compatibility profile
GST_GLSL_PROFILE_ANY
(4294967295)
–
any OpenGL/OpenGL|ES profile
Since : 1.8
GstGLSLVersion
GLSL version list
Members
GST_GLSL_VERSION_NONE
(0)
–
no version
GST_GLSL_VERSION_100
(100)
–
version 100 (only valid for ES)
GST_GLSL_VERSION_110
(110)
–
version 110 (only valid for compatibility desktop GL)
GST_GLSL_VERSION_120
(120)
–
version 120 (only valid for compatibility desktop GL)
GST_GLSL_VERSION_130
(130)
–
version 130 (only valid for compatibility desktop GL)
GST_GLSL_VERSION_140
(140)
–
version 140 (only valid for compatibility desktop GL)
GST_GLSL_VERSION_150
(150)
–
version 150 (valid for compatibility/core desktop GL)
GST_GLSL_VERSION_300
(300)
–
version 300 (only valid for ES)
GST_GLSL_VERSION_310
(310)
–
version 310 (only valid for ES)
GST_GLSL_VERSION_320
(320)
–
version 320 (only valid for ES)
GST_GLSL_VERSION_330
(330)
–
version 330 (valid for compatibility/core desktop GL)
GST_GLSL_VERSION_400
(400)
–
version 400 (valid for compatibility/core desktop GL)
GST_GLSL_VERSION_410
(410)
–
version 410 (valid for compatibility/core desktop GL)
GST_GLSL_VERSION_420
(420)
–
version 420 (valid for compatibility/core desktop GL)
GST_GLSL_VERSION_430
(430)
–
version 430 (valid for compatibility/core desktop GL)
GST_GLSL_VERSION_440
(440)
–
version 440 (valid for compatibility/core desktop GL)
GST_GLSL_VERSION_450
(450)
–
version 450 (valid for compatibility/core desktop GL)
Since : 1.8
Constants
GST_GLSL_ERROR
#define GST_GLSL_ERROR (gst_glsl_error_quark ())
Error domain for GStreamer's GLSL module. Errors in this domain will be from the GstGLSLError enumeration
The results of the search are