Updates to deqp have enabled the following must-pass tests, which currently fail on Mesa i965: ---------------------------------------------------------- dEQP-EGL.functional.wide_color.window_8888_colorspace_srgb Standard Output 12 configs returned Test Window Got EGL_BAD_ATTRIBUTE: eglCreatePlatformWindowSurfaceEXT() at egluUtil.cpp:303 ---------------------------------------------------------- dEQP-EGL.functional.wide_color.pbuffer_8888_colorspace_srgb Standard Output 4 configs returned Test Pbuffer Runtime check failed: 'surface != EGL_NO_SURFACE' at teglWideColorTests.cpp:1125 ----------------------------------------------------------
Test is buggy, it assumes support of 'EGL_KHR_gl_colorspace' extension. We most probably could support it but I'll try fixing the test first. Supporting EGL_KHR_gl_colorspace means that we need to support __DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB query properly.
I've submitted fix to dEQP: https://android-review.googlesource.com/#/c/platform/external/deqp/+/469697/ This makes test skip when EGL_KHR_gl_colorspace is not supported, which is the case with i965 driver ATM.
It might be that to properly expose srgb visuals, we need to resolve bug 102354 and bug 92759 .. I've tried today exposing them and supporting __DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB but did not reach a working solution.
Now we have 2 passing and
(oops enter) and 22 not supported, I'm resolving this as fixed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.