Ok, I found the problem...

it seems that it is a problem related with the rendering mode:
with setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY); there are
no problems
with setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY); I loose the
context;

I can use the first method but for me it is prefferable to use the
second one, since it allows me to save battery life.

Any suggestions?

Thanks

On 23 Dic, 05:47, Jeff Boody <[email protected]> wrote:
> See 2.6 Power Management in the EGL 
> specification:http://www.khronos.org/registry/egl/specs/eglspec.1.4.20090908.pdf
>
> "The error EGL CONTEXT LOST will be returned if a power management
> event has occurred."
>
> I think the EGL_CONTEXT_LOST error is handled automatically by
> GLSurfaceView.
>
> If your application starts rendering again when comming out of stand-
> by then I think it is ok.
>
> --Jeff

-- 
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

Reply via email to