• Kenneth Graunke's avatar
    egl: Allow EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY in ES and GL · 28c2ce71
    Kenneth Graunke authored
    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's avatarTapani Pälli <tapani.palli@intel.com>
    28c2ce71
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
common.py Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...