java.lang.RuntimeException: eglSwapBuffers failed: EGL_SUCCESS

后端 未结 4 525
伪装坚强ぢ
伪装坚强ぢ 2021-02-07 00:34

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         


        
4条回答
  •  孤街浪徒
    2021-02-07 01:12

    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 GLSurfaceViews (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...

提交回复
热议问题