Forcing GLES version to 2.0?
Jonas Kulla <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAK0i_71hYL9w30n8ak+81153MjzQX5Z8R8DaSus5sywZ4-JgkQ@mail.gmail.com> |
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 _______________________________________________ mesa-users mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-users