sdl2_frt/src/video/android
Sylvain Becker ca184ac386 Android: concurrency issue with egl_surface EGL_BAD_SURFACE - (bug 4142)
Occurs when application goes to background:
- Java activity is destroying SurfaceView holder and "egl_surface" (in onNativeSurfaceDestroyed())
- While native thread is in Android_GLES_SwapWindow(), prepared to call SDL_EGL_SwapBuffers()

The error is "call to eglSwapBuffers failed, reporting an error of EGL_BAD_SURFACE"

It an be reproduced easily by adding a SDL_Delay(100) at the begining of SDL_EGL_SwapBuffers(),
and putting the application into background.
2019-01-03 23:22:50 +01:00
..
SDL_androidclipboard.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidclipboard.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidevents.c Android: use Mutex instead of Semphore for bug 4142 2019-01-03 20:18:29 +01:00
SDL_androidevents.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidgl.c Android: concurrency issue with egl_surface EGL_BAD_SURFACE - (bug 4142) 2019-01-03 23:22:50 +01:00
SDL_androidgl.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidkeyboard.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidkeyboard.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidmessagebox.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidmessagebox.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidmouse.c Android: preparation bug 4142, reduce usage of global variable Android_Window 2019-01-03 13:14:16 +01:00
SDL_androidmouse.h Android: preparation bug 4142, reduce usage of global variable Android_Window 2019-01-03 13:14:16 +01:00
SDL_androidtouch.c Android: preparation bug 4142, reduce usage of global variable Android_Window 2019-01-03 13:14:16 +01:00
SDL_androidtouch.h Android: preparation bug 4142, reduce usage of global variable Android_Window 2019-01-03 13:14:16 +01:00
SDL_androidvideo.c Android: use Mutex instead of Semphore for bug 4142 2019-01-03 20:18:29 +01:00
SDL_androidvideo.h Android: use Mutex instead of Semphore for bug 4142 2019-01-03 20:18:29 +01:00
SDL_androidvulkan.c revert the recent typecast assignment changes (see bug #4079) 2018-02-12 17:00:00 +03:00
SDL_androidvulkan.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_androidwindow.c Android: use Mutex instead of Semphore for bug 4142 2019-01-03 20:18:29 +01:00
SDL_androidwindow.h Android: preparation bug 4142, reduce usage of global variable Android_Window 2019-01-03 13:14:16 +01:00