On Tuesday, March 5, 2013 10:20:38 PM UTC, a1 wrote: > > > Oh my god, really? We are in 2009 again or something? Since Android 3.0, > you can call setPreserveEGLContextOnPause method to prevent GLSurfaceView > from releasing context, if you are targeting older version simply back-port > (or use one of existing back-ports eg. the one from Replica Island). >
The context may still be lost if for example another OpenGL app runs. The preserve context only prevents GLSurfaceView from releasing it to "play nice", it does not prevent the OpenGL driver from forcibly removing it from you if it needs the resources. > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

