Hi,

I am trying to do a very simple application with OpenGL ES 2.0.

I've implemented my own ConfigChooser and display a simple texture, it works 
fine when I pick a R_5_G_6_B_5_A_0 config.
But when I pick a R_8_G_8_B_8_A_8 config, it freezes and LogCat gives me 
this message over and over again :

WARN/SharedBufferStack(163): waitForCondition(LockCondition) timed out 
(identity=5, status=0). CPU may be pegged. trying again.

I have check and my phone (NexusOne) definitely supports such a config.
I stripped everything from the code so I just set up egl (which doesn't give 
any errors) and do this :

glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glViewport(0, 0, width, height);

But it still crashes, I saw a couple of thread talking about this error, and 
I tried adding an eglWaitGL() at the end of my draw call, it helps a bit but 
it still crashes after a while or on exit.

Anyone knows how I can get out of this one? Is this really config related?
Thank 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to