diff options
author | Chad Versace <[email protected]> | 2016-12-22 17:06:14 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-12-27 10:21:29 -0800 |
commit | b85c0b569fe133b71a767a068e8608868158134e (patch) | |
tree | 147f2a60f8776802539064212a1d216b989d819d /REVIEWERS | |
parent | 75252826e82ffa9c091ebe5bcf303c9d7569c3a3 (diff) |
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: [email protected]
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'REVIEWERS')
0 files changed, 0 insertions, 0 deletions