mesa/src/egl
Chad Versace 341889d6ca egl: Don't advertise unsupported platform extensions
Mesa's set of supported platform extensions depends on the autoconf
option --with-egl-platforms=foo,bar,baz. If --with-egl-platforms lacks
foo, then eglGetPlatformDisplay(EGL_PLATFORM_FOO, ...) unconditonally
fails.

So, if --with-egl-platforms lacks foo, then remove
EGL_VENDOR_platform_foo from the EGL client extension string.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
(cherry picked from commit c177ef9d47)
[Emil Velikov: resolve trivial conflicts]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

Conflicts:
	src/egl/main/eglglobals.c
2016-11-08 16:23:19 +00:00
..
docs egl: Mark EGL_MESA_screen_surface as obsolete. 2010-08-31 15:25:22 +08:00
drivers egl/x11: don't crash if dri2_dpy->conn is NULL 2016-11-08 16:23:19 +00:00
main egl: Don't advertise unsupported platform extensions 2016-11-08 16:23:19 +00:00
wayland egl/wayland-egl: Fix for segfault in dri2_wl_destroy_surface. 2016-09-01 11:39:44 +01:00
Android.mk Android: Move setting DEFAULT_DRIVER_DIR to shared location 2016-05-23 12:07:45 +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