Top |
Functions
Functions
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 |
resulting GstGLSLVersion. |
[out] |
profile_ret |
resulting GstGLSLVersion. |
[out] |
gst_glsl_version_profile_to_string ()
gchar * gst_glsl_version_profile_to_string (GstGLSLVersion version
,GstGLSLProfile profile
);
gst_glsl_string_get_version_profile ()
gboolean gst_glsl_string_get_version_profile (const gchar *s
,GstGLSLVersion *version
,GstGLSLProfile *profile
);
Note: this function first searches the first 1 kilobytes for a version
preprocessor directive and then executes gst_glsl_version_profile_from_string()
.
Parameters
s |
string to search for a valid version string |
|
version |
resulting GstGLSLVersion. |
[out] |
profile |
resulting GstGLSLProfile. |
[out] |
gst_gl_context_supports_glsl_profile_version ()
gboolean gst_gl_context_supports_glsl_profile_version (GstGLContext *context
,GstGLSLVersion version
,GstGLSLProfile profile
);
gst_gl_version_to_glsl_version ()
GstGLSLVersion gst_gl_version_to_glsl_version (GstGLAPI gl_api
,gint maj
,gint min
);
Types and Values
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
enum GstGLSLVersion
GLSL version list
Members
no version |
||
version 100 (only valid for ES) |
||
version 110 (only valid for compatibility desktop GL) |
||
version 120 (only valid for compatibility desktop GL) |
||
version 130 (only valid for compatibility desktop GL) |
||
version 140 (only valid for compatibility desktop GL) |
||
version 150 (valid for compatibility/core desktop GL) |
||
version 300 (only valid for ES) |
||
version 310 (only valid for ES) |
||
version 320 (only valid for ES) |
||
version 330 (valid for compatibility/core desktop GL) |
||
version 400 (valid for compatibility/core desktop GL) |
||
version 410 (valid for compatibility/core desktop GL) |
||
version 420 (valid for compatibility/core desktop GL) |
||
version 430 (valid for compatibility/core desktop GL) |
||
version 440 (valid for compatibility/core desktop GL) |
||
version 450 (valid for compatibility/core desktop GL) |
Since: 1.8