Top | ![]() |
![]() |
![]() |
![]() |
GstGLSLProfile | gst_glsl_profile_from_string () |
const gchar * | gst_glsl_profile_to_string () |
GstGLSLVersion | gst_glsl_version_from_string () |
const gchar * | gst_glsl_version_to_string () |
gboolean | gst_glsl_version_profile_from_string () |
gchar * | gst_glsl_version_profile_to_string () |
gboolean | gst_glsl_string_get_version_profile () |
gboolean | gst_gl_context_supports_glsl_profile_version () |
GstGLSLVersion | gst_gl_version_to_glsl_version () |
gboolean | gst_gl_context_supports_precision () |
gboolean | gst_gl_context_supports_precision_highp () |
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.
string |
a valid GLSL version string |
|
version_ret |
resulting GstGLSLVersion. |
[out] |
profile_ret |
resulting GstGLSLVersion. |
[out] |
gchar * gst_glsl_version_profile_to_string (GstGLSLVersion version
,GstGLSLProfile 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()
.
s |
string to search for a valid version string |
|
version |
resulting GstGLSLVersion. |
[out] |
profile |
resulting GstGLSLProfile. |
[out] |
gboolean gst_gl_context_supports_glsl_profile_version (GstGLContext *context
,GstGLSLVersion version
,GstGLSLProfile profile
);
GstGLSLVersion gst_gl_version_to_glsl_version (GstGLAPI gl_api
,gint maj
,gint min
);
gboolean gst_gl_context_supports_precision (GstGLContext *context
,GstGLSLVersion version
,GstGLSLProfile profile
);
Since: 1.16
gboolean gst_gl_context_supports_precision_highp (GstGLContext *context
,GstGLSLVersion version
,GstGLSLProfile profile
);
Since: 1.16
#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
GLSL version list
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