[Mesa-dev] [Bug 53696] EGL: GL contexts show GLES extensions

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 20 00:27:37 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53696

--- Comment #4 from Pekka Paalanen <ppaalanen at gmail.com> 2012-08-20 07:27:37 UTC ---
Hi, a couple of things you could check, since from a quick glance of the code I
could not spot them:

- where does your code call eglBindAPI() to take the big OpenGL into use? Or
the ES API?

- where does your code set the context attribute EGL_CONTEXT_CLIENT_VERSION to
2 to get GLESv2 instead of GLESv1?

OpenGL ES is the default rendering api, so if you never call eglBindAPI, you
will always get ES. If you don't define the context attribute, you will always
get ES1 from ES1 vs. ES2.

EGL_RENDERABLE_TYPE does not choose which API you are currently using. It only
chooses which APIs you could use to render with the config.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list