Lines Matching refs:profile
91 GstGLSLProfile profile; member
160 gst_glsl_profile_to_string (GstGLSLProfile profile) in gst_glsl_profile_to_string() argument
164 if (profile == GST_GLSL_PROFILE_NONE) in gst_glsl_profile_to_string()
168 if ((profile & (profile - 1)) != 0) in gst_glsl_profile_to_string()
172 if (profile == glsl_profiles[i].profile) in gst_glsl_profile_to_string()
200 return glsl_profiles[i].profile; in gst_glsl_profile_from_string()
209 _is_valid_version_profile (GstGLSLVersion version, GstGLSLProfile profile) in _is_valid_version_profile() argument
215 if (version <= GST_GLSL_VERSION_150 && profile == GST_GLSL_PROFILE_NONE) in _is_valid_version_profile()
221 return profile == GST_GLSL_PROFILE_ES; in _is_valid_version_profile()
225 return profile == GST_GLSL_PROFILE_NONE || profile == GST_GLSL_PROFILE_CORE in _is_valid_version_profile()
226 || profile == GST_GLSL_PROFILE_COMPATIBILITY; in _is_valid_version_profile()
229 return profile == GST_GLSL_PROFILE_NONE in _is_valid_version_profile()
230 || profile == GST_GLSL_PROFILE_COMPATIBILITY; in _is_valid_version_profile()
244 GstGLSLProfile profile) in gst_glsl_version_profile_to_string() argument
248 if (!_is_valid_version_profile (version, profile)) in gst_glsl_version_profile_to_string()
256 profile_s = gst_glsl_profile_to_string (profile); in gst_glsl_version_profile_to_string()
268 _fixup_version_profile (GstGLSLVersion * version, GstGLSLProfile * profile) in _fixup_version_profile() argument
272 *profile = GST_GLSL_PROFILE_ES; in _fixup_version_profile()
274 *profile = GST_GLSL_PROFILE_COMPATIBILITY; in _fixup_version_profile()
275 else if (*profile == GST_GLSL_PROFILE_NONE in _fixup_version_profile()
277 *profile = GST_GLSL_PROFILE_CORE; in _fixup_version_profile()
318 GstGLSLProfile profile = GST_GLSL_PROFILE_NONE; in gst_glsl_version_profile_from_string() local
358 profile = gst_glsl_profile_from_string (profile_s); in gst_glsl_version_profile_from_string()
368 if (!_is_valid_version_profile (version, profile)) { in gst_glsl_version_profile_from_string()
371 gst_glsl_profile_to_string (profile)); in gst_glsl_version_profile_from_string()
375 if (version <= GST_GLSL_VERSION_140 && profile != GST_GLSL_PROFILE_NONE) { in gst_glsl_version_profile_from_string()
379 gst_glsl_profile_to_string (profile)); in gst_glsl_version_profile_from_string()
383 _fixup_version_profile (&version, &profile); in gst_glsl_version_profile_from_string()
386 *profile_ret = profile; in gst_glsl_version_profile_from_string()
480 GstGLSLProfile * profile) in gst_glsl_string_get_version_profile() argument
489 profile)) in gst_glsl_string_get_version_profile()
498 if (profile) in gst_glsl_string_get_version_profile()
499 *profile = GST_GLSL_PROFILE_NONE; in gst_glsl_string_get_version_profile()
564 GstGLSLVersion version, GstGLSLProfile profile) in gst_gl_context_supports_glsl_profile_version() argument
568 if (!_is_valid_version_profile (version, profile)) in gst_gl_context_supports_glsl_profile_version()
571 if (profile != GST_GLSL_PROFILE_NONE) { in gst_gl_context_supports_glsl_profile_version()
573 if ((profile & GST_GLSL_PROFILE_ES) == 0) in gst_gl_context_supports_glsl_profile_version()
576 if ((profile & GST_GLSL_PROFILE_COMPATIBILITY) == 0) in gst_gl_context_supports_glsl_profile_version()
580 if ((profile & (GST_GLSL_PROFILE_CORE | GST_GLSL_PROFILE_ES)) == 0) in gst_gl_context_supports_glsl_profile_version()
675 GstGLSLProfile profile) in _mangle_external_image_extension() argument
679 profile == GST_GLSL_PROFILE_ES, version >= GST_GLSL_VERSION_300, in _mangle_external_image_extension()
684 if (to == GST_GL_TEXTURE_TARGET_EXTERNAL_OES && profile == GST_GLSL_PROFILE_ES in _mangle_external_image_extension()
716 GstGLSLProfile profile) in _mangle_texture_access() argument
731 if (profile == GST_GLSL_PROFILE_CORE || (profile == GST_GLSL_PROFILE_ES in _mangle_texture_access()
807 GstGLSLVersion version, GstGLSLProfile profile) in _mangle_varying_attribute() argument
810 if (profile == GST_GLSL_PROFILE_CORE || (profile == GST_GLSL_PROFILE_ES in _mangle_varying_attribute()
829 if (profile == GST_GLSL_PROFILE_CORE || (profile == GST_GLSL_PROFILE_ES in _mangle_varying_attribute()
868 GstGLSLProfile * profile) in _mangle_version_profile_from_gl_api() argument
877 *profile = GST_GLSL_PROFILE_NONE; in _mangle_version_profile_from_gl_api()
882 *profile = GST_GLSL_PROFILE_CORE; in _mangle_version_profile_from_gl_api()
885 *profile = GST_GLSL_PROFILE_NONE; in _mangle_version_profile_from_gl_api()
894 *profile = GST_GLSL_PROFILE_ES; in _mangle_version_profile_from_gl_api()
897 *profile = GST_GLSL_PROFILE_ES; in _mangle_version_profile_from_gl_api()
901 *profile = GST_GLSL_PROFILE_COMPATIBILITY; in _mangle_version_profile_from_gl_api()
908 GstGLSLVersion * version, GstGLSLProfile * profile) in _gst_glsl_mangle_shader() argument
916 _mangle_version_profile_from_gl_api (context, from, to, version, profile); in _gst_glsl_mangle_shader()
919 *profile); in _gst_glsl_mangle_shader()
920 tmp = _mangle_texture_access (tmp2, context, from, to, *version, *profile); in _gst_glsl_mangle_shader()
924 tmp = _mangle_varying_attribute (tmp2, shader_type, *version, *profile); in _gst_glsl_mangle_shader()
927 if ((*profile == GST_GLSL_PROFILE_ES && *version >= GST_GLSL_VERSION_300) in _gst_glsl_mangle_shader()
928 || (*profile == GST_GLSL_PROFILE_CORE in _gst_glsl_mangle_shader()
950 GstGLSLVersion version, GstGLSLProfile profile) in gst_gl_context_supports_precision() argument
956 if ((profile & GST_GLSL_PROFILE_ES) == 0) in gst_gl_context_supports_precision()
977 GstGLSLVersion version, GstGLSLProfile profile) in gst_gl_context_supports_precision_highp() argument
986 if (!gst_gl_context_supports_precision (context, version, profile)) in gst_gl_context_supports_precision_highp()