mesa/src/egl
Emil Velikov 03eaa6c596 egl/dri2: check if the EGL API is valid before adding it to ClientAPIs
In the rather unlikely case that the API is considered invalid, don't
add it to the (supported) ClientAPIs bitmask.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>

---
Strictly speaking we only need this in the Android case for OpenGL.
Adding it everywhere doesn't hurt us since the compiler will const
propagate and optimise/remove these.
2016-08-30 14:50:10 +01:00
..
docs egl: Mark EGL_MESA_screen_surface as obsolete. 2010-08-31 15:25:22 +08:00
drivers egl/dri2: check if the EGL API is valid before adding it to ClientAPIs 2016-08-30 14:50:10 +01:00
main egl: treat EGL_OPENGL_API as invalid on Android 2016-08-30 14:49:24 +01:00
wayland egl/wayland-egl: Fix for segfault in dri2_wl_destroy_surface. 2016-08-24 10:18:13 +01:00
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
egl-symbols-check egl: fix make check broken by interop support 2016-04-26 21:37:07 +02:00
Makefile.am configure.ac: Add support for Android builds 2016-05-23 13:23:39 +01:00
Makefile.sources automake: rework the EGL build 2015-07-22 16:35:27 +01:00
SConscript egl: Fix missing Haiku include path 2015-09-28 13:58:25 -04:00