Hey everyone,
I've been working on a project for quite some time and it's progress is coming along well. However, I have one concern that is bugging me: every time the phone goes to sleep (either by inactivity, or the power button being pressed) or receives a phone call mid-game and resumes afterwards, OpenGL has to recreate the surface and as such, all textures must be reloaded...
I suppose this is "okay" but looking at Angry Birds and Replica Island (whose code for this feature seems to be a hack that is hard to reproduce) they do not need to spend the time reloading them after this happens.
Does anyone know how to either preserve the textures or GL context/surface?
I am currently using the standard GLSurfaceView as my drawing interface, reloading textures in onSurfaceCreated if the eglContext != previous eglContext [it has never been the same in testing thus far anyways]
Appreciate any insight!



