Hello,
I recently tried a couple of android card games I developed with android L (API 21) x86 emulator in order to test their compatibility with android Lollipop. The games use OpenGL ES 2.0 and a framework/engine I developed by myself.
I realized if I do not select the EGLConfig in GLSurfaceView the app crashes and the logcat says no config has been chosen.
Regardlessly of the fact not selecting the EGLConfig is not a good programming practice, this behaviour is in contrast with my experience on previous android versions and with the official documentation that says:
"A given Android device may support multiple EGLConfig rendering configurations. The available configurations may differ in how may channels of data are present, as well as how many bits are allocated to each channel. Therefore, the first thing GLSurfaceView has to do when starting to render is choose what EGLConfig to use.By default GLSurfaceView chooses a EGLConfig that has an RGB_888 pixel format, with at least a 16-bit depth buffer and no stencil."
So the call to SetEGLConfigChooser does not look like it's mandatory.
If I call SetEGLConfigChooser the app works fine in the emulator.
Thank you.