[Mesa-users] Forcing GLES version to 2.0?

Jonas Kulla nyocurio at gmail.com
Sun Jul 13 21:20:01 PDT 2014


Hello list,

while there is a clear way to differentiate between GLES1 and GLES2 in EGL
(via the EGL_OPENGL_ES_BIT and EGL_OPENGL_ES2_BIT enums), I can't find a way
to force Mesa to give me a context that is *only* 2.0, it always creates a
3.0 context no
matter what. I assume that is because 3.0 is compatible with 2.0, and as
such the EGL
flags are treated as "give me a context conforming to this version".

The reason I am asking this is because I am porting a desktop OpenGL app to
GLES 2.0
and would like to do some testing via Mesa. However GLES 3.0 implements a
lot of things
missing in 2.0, so it would be impossible to detect many corner cases of my
app that
won't work correctly on a pure 2.0 implementation.

Is it possible to force Mesa to give me a context implementing a specific
GLES version?

Thanks,
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20140714/ee28dbb1/attachment.html>


More information about the mesa-users mailing list