Open rmader opened 2 months ago
Specifically, this still allows querying of device reset status, without robust buffer access guarantees.
There are a few more places that need to be covered.
Nevermind and sorry for the noise - there were just some more issues in Mesa making tests fail.
Driver may want to expose a minimal implementation of EGL_EXT_create_context_robustness - i.e. a dummy implementation without corresponding GL_KHR_robustness support - in order to support EGL 1.5.
When requesting a context with EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT -> EGL_TRUE on such a driver, it has to create a EGL_BAD_CONFIG error - and unfortunately there's no way to check for GL_KHR_robustness in advance.
Thus handle that case gracefully.
This should allow Mesa to expose 1.5 support for all drivers on all hardware generations.
Related: