I\'ve an OpenGL application in the Google Play Store and I\'m facing a daily exception:
java.lang.RuntimeException: eglSwapBuffers failed: EGL_SUCCESS
at android
No solution, just observations.
The call to eglSwapBuffers returns false. The following error handling does not cope with the case that there is no error -- potentially it has not been set by EGL; OR the return value is wrong.
I did not find matching sources. These devices either run patched GLSurfaceView
s (the stack trace search did not find anything...) or they use an in-between version (well, I don't know if 4.0.2 was official, grepcode contains only 4.0.1 and 4.0.3); OR I've missed something.
You have to track down which exact devices/android versions run into this problem. Then you could try to workaround this problem by providing a patched GLSurfaceView
yourself, or using a different EGL config -- provided the problem can be fixed at all. There are bugs that are left unhandled for weeks; wondering what greater problems the responsible team faces...