mesa/src/egl
Chad Versace b85c0b569f egl: Emit correct error when robust context creation fails
Fixes dEQP-EGL.functional.create_context_ext.robust_*
on Intel with GBM.

If the user sets the EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR in
EGL_CONTEXT_FLAGS_KHR when creating an OpenGL ES context, then
EGL_KHR_create_context spec requires that we unconditionally emit
EGL_BAD_ATTRIBUTE because that flag does not exist for OpenGL ES. When
creating an OpenGL context, the spec requires that we emit EGL_BAD_MATCH
if we can't support the request; that error is generated in the egl_dri2
layer where the driver capability is actually checked.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99188
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2016-12-27 10:21:29 -08:00
..
drivers egl/dri2: implement query surface hook 2016-12-27 08:01:08 +02:00
main egl: Emit correct error when robust context creation fails 2016-12-27 10:21:29 -08:00
wayland wayland-drm: add missing NULL check 2016-09-01 15:48:52 +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 egl: Use pkg-config for Android NDK build 2016-11-15 15:49:20 +00: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