mesa/src/egl
Kenneth Graunke 28c2ce7105 egl: Allow EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY in ES and GL
EGL annoyingly defines a few variants of this token:

   EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT - 0x3138
   EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR - 0x31BD
   EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY     - 0x31BD

The EGL_EXT_create_context_robustness extension specifies that the EXT
token is only valid for ES contexts, not GL.  The EGL_KHR_create_context
extension defines the KHR version, and says it is only allowed for GL
contexts, and specifically calls out that it's an error for ES contexts.

But EGL 1.5 includes the new suffixless token, which has the same value
as the KHR version, and specifically calls out that it's now valid to
use with both GL and ES contexts.  So we should allow this.

Fixes KHR-NoContext.es32.robustness.no_reset_notification and
KHR-NoContext.es32.robustness.lose_context_on_reset on iris, which
apparently is exposing EGL 1.5.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2019-05-17 15:13:15 -07:00
..
drivers wayland/egl: Ensure correct buffer size when allocating 2019-05-14 15:33:35 +00:00
generate mapi: move genCommon.py to src/mapi/new 2019-01-24 18:13:25 +00:00
main egl: Allow EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY in ES and GL 2019-05-17 15:13:15 -07:00
wayland delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
Android.mk android: Build fixes for OMR1 2019-03-18 11:53:59 +02:00
egl-entrypoint-check egl: use the LC_ALL hammer instead of LANG 2018-11-01 17:25:08 +00:00
egl-symbols-check egl: Use correct shared libraries suffix on macOS. 2018-10-11 11:30:00 -07:00
Makefile.sources egl: add base EGL_EXT_device_base implementation 2018-11-01 00:05:43 +00:00
meson.build meson: make nm binary optional 2019-05-03 10:58:05 -07:00
SConscript drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00