TODO.txt
author Sylvain Becker <sylvain.becker@gmail.com>
Thu, 03 Jan 2019 23:22:50 +0100
changeset 12499 e6130a4cca7a
parent 7856 cb37776926ad
permissions -rw-r--r--
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.
slouken@7222
     1
Future work roadmap:
slouken@7222
     2
 * http://wiki.libsdl.org/moin.cgi/Roadmap
slouken@7222
     3
slouken@7222
     4
 * Check 1.2 revisions:
slouken@7222
     5
	3554 - Need to resolve semantics for locking keys on different platforms
slouken@7222
     6
	4874 - Do we want screen rotation?  At what level?
slouken@7222
     7
	4974 - Windows file code needs to convert UTF-8 to Unicode, but we don't need to tap dance for Windows 95/98
slouken@7222
     8
	4865 - See if this is still needed (mouse coordinate clamping)
slouken@7222
     9
	4866 - See if this is still needed (blocking window repositioning)
slouken@7222
    10