Fixes error EGL_BAD_ATTRIBUTE in the tests below on Intel Sandybridge: * piglit egl-create-context-verify-gl-flavor, testcase OpenGL ES 3.0 * gles3conform, revision 19700
The series lives on my es3-bit branch. It adds a new enum, __DRI_API_GLES3, and does the needed plumbing in the EGL and DRI layers to support EGL_OPENGL_ES3_BIT_KHR. The GLX layer and core mesa are left untouched. Chad Versace (3): dri: Define enum __DRI_API_GLES3 intel: Expose support for DRI_API_GLES3 egl/dri2: Add plumbing for EGL_OPENGL_ES3_BIT_KHR include/GL/internal/dri_interface.h | 3 ++- src/egl/drivers/dri2/egl_dri2.c | 11 +++++++++-- src/egl/main/eglconfig.c | 1 + src/egl/main/eglcontext.c | 4 +++- src/egl/main/eglcurrent.h | 1 + src/egl/main/eglmisc.c | 3 +++ src/egl/main/eglsurface.c | 5 ++++- src/mesa/drivers/dri/common/dri_util.c | 1 + src/mesa/drivers/dri/common/drisw_util.c | 1 + src/mesa/drivers/dri/intel/intel_screen.c | 1 + 10 files changed, 26 insertions(+), 5 deletions(-) -- 1.7.11.7 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev