[Mesa-dev] [PATCH] egl: Add OpenGL_ES to API string regardless of GLES version

Matt Turner mattst88 at gmail.com
Fri May 20 16:14:10 UTC 2016

On Thu, May 12, 2016 at 10:21 AM, Plamena Manolova
<plamena.manolova at intel.com> wrote:
> According to the EGL specifications eglQueryString(EGL_CLIENT_APIS)
> should return a string containing a combination of "OpenGL", "OpenGL_ES"
> and "OpenVG", any other values would be considered invalid. Due to this
> when the API string is constructed, the version of GLES should be
> disregarded and "OpenGL_ES" should be attached once instead of
> "OpenGL_ES2" and "OpenGL_ES3".
> Signed-off-by: Plamena Manolova <plamena.manolova at intel.com>

Regardless of one other driver exposing "OpenGL_ES2", I'm okay with
this patch. We can always relax this if actual applications are using
the strings, but that seems doubtful. Doubly so if dEQP has tests that

Reviewed-by: Matt Turner <mattst88 at gmail.com>

I'll commit this soon if there are no objections.

More information about the mesa-dev mailing list