mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-10 00:12:48 +00:00
glcontextegl: Fix android build without ES3 tokens
This commit is contained in:
parent
0304c63f00
commit
d6ae44b1d0
1 changed files with 6 additions and 2 deletions
|
@ -192,8 +192,10 @@ gst_gl_context_egl_dump_config (GstGLContextEGL * egl, EGLConfig config)
|
||||||
conformant_values[i++] = "OpenGL ES";
|
conformant_values[i++] = "OpenGL ES";
|
||||||
if (conformant & EGL_OPENGL_ES2_BIT)
|
if (conformant & EGL_OPENGL_ES2_BIT)
|
||||||
conformant_values[i++] = "OpenGL ES 2.x";
|
conformant_values[i++] = "OpenGL ES 2.x";
|
||||||
if (conformant & EGL_OPENGL_ES3_BIT)
|
#if defined(EGL_KHR_create_context)
|
||||||
|
if (conformant & EGL_OPENGL_ES3_BIT_KHR)
|
||||||
conformant_values[i++] = "OpenGL ES 3.x";
|
conformant_values[i++] = "OpenGL ES 3.x";
|
||||||
|
#endif
|
||||||
if (conformant & EGL_OPENVG_BIT)
|
if (conformant & EGL_OPENVG_BIT)
|
||||||
conformant_values[i++] = "OpenVG";
|
conformant_values[i++] = "OpenVG";
|
||||||
|
|
||||||
|
@ -223,8 +225,10 @@ gst_gl_context_egl_dump_config (GstGLContextEGL * egl, EGLConfig config)
|
||||||
renderable_values[i++] = "OpenGL ES";
|
renderable_values[i++] = "OpenGL ES";
|
||||||
if (renderable & EGL_OPENGL_ES2_BIT)
|
if (renderable & EGL_OPENGL_ES2_BIT)
|
||||||
renderable_values[i++] = "OpenGL ES 2.x";
|
renderable_values[i++] = "OpenGL ES 2.x";
|
||||||
if (renderable & EGL_OPENGL_ES3_BIT)
|
#if defined(EGL_KHR_create_context)
|
||||||
|
if (renderable & EGL_OPENGL_ES3_BIT_KHR)
|
||||||
renderable_values[i++] = "OpenGL ES 3.x";
|
renderable_values[i++] = "OpenGL ES 3.x";
|
||||||
|
#endif
|
||||||
if (renderable & EGL_OPENVG_BIT)
|
if (renderable & EGL_OPENVG_BIT)
|
||||||
renderable_values[i++] = "OpenVG";
|
renderable_values[i++] = "OpenVG";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue