I’m working on a project where we need to manage egl contexts for OpenGLES 1.1 and OpenGLES 2.0.
Here is the situation:
- Create a context from an OpenGLES1.1 config with no shared context, everything works fine.
- Create a context from an OpenGLES2.0 config, without shared context, everything is OK too.
- Create a context 1.1 with a shared context previously created with 1.1 config is OK too.
But if I try to create an OpenGLES 2.0 context with the appropriate configuration but with a shared context previously created with OpenGLES1.1 config, I get a null pointer. The worst is that I get EGL_SUCCESS when I call eglGetError(). According to the EGL specification, it should be possible.
Is that a known issue ? Is there an incompatibility between the two kinds of egl contexts ? Do we need to use a GLES1.1 and 2.0 capable configuration ?