The problem is that not only the surface looses the focus (all the
touchscreen event are not catched) but also the rendering stops.
(I can see this because when I invoke an animation from a menuitem the
animation does not start)
I am correctly propagating the onPause() and onResume() events from
the Activity to the GLSurfaceView.
So if the GLSurfaceView is able to automatically handle the power
management events, this should be enough.

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