<div dir="ltr">Hello list,<div><br></div><div>while there is a clear way to differentiate between GLES1 and GLES2 in EGL</div><div>(via the EGL_OPENGL_ES_BIT and EGL_OPENGL_ES2_BIT enums), I can't find a way</div><div>
to force Mesa to give me a context that is *only* 2.0, it always creates a 3.0 context no</div><div>matter what. I assume that is because 3.0 is compatible with 2.0, and as such the EGL</div><div>flags are treated as "give me a context conforming to this version".</div>
<div><br></div><div>The reason I am asking this is because I am porting a desktop OpenGL app to GLES 2.0</div><div>and would like to do some testing via Mesa. However GLES 3.0 implements a lot of things</div><div>missing in 2.0, so it would be impossible to detect many corner cases of my app that</div>
<div>won't work correctly on a pure 2.0 implementation.</div><div><br></div><div>Is it possible to force Mesa to give me a context implementing a specific GLES version?</div><div><br></div><div>Thanks,</div><div>Jonas</div>
</div>