Monday, January 28, 2013

Re: [android-developers] Re: pause breaks...

Hi,

As for OpenGL related resources GLSurfaceView.setPreserveEGLContextOnPause(true) is pretty handy. While documentation states that it doesn't work on all devices, Android source indicates this is the case only on OpenGL ES prior 2.0.

--
H

On Jan 28, 2013, at 11:11 PM, Nobu Games <dev.nobu.games@gmail.com> wrote:

> As soon as your OpenGL context changes you'll need to reload all textures.
> The Renderer.onSurfaceCreated method has a very good explanation of what's going on under the hood and what is required from you:

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment