I have looked through many posts on this issue, and I've concluded
that there's not much I can do to prevent it... I am able to reproduce
this error when repeatedly rotating an Activity that uses OpenGL.

W/SurfaceComposerClient(  749): lock_layer timed out (is the CPU
pegged?) layer=2, lcblk=0x420d0120, state=0000000e (was 0000000e)

For reference:
I'm calling GLSurfaceView.onPause() and onResume() on activity pause
and resume...

My question is:
Can I detect this error in my java code, so I can try to do something
extra to correct it?
Is there an ErrorListener, or an object I can access to find out about
when this occurs? I have tried
((EGL10) EGLContext.getEGL()).eglGetError();
but does not report an error.  I'm guessing I'd need some sort of
Surface object?

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