I see that In GLSurfaceView sample GLThread is doing the OpenGL
drawing. I see a code snippet in its run method

that starts with

while (!mDone)
{
....
....
     while (needToWait()){{}
.....
}

I understand that the surface may not be ready to be drawn and so I
get the second while loop. But the outside main loop, is that needed
only for the "animation?"

I have tried taking it out with out much success.

Can someone confirm if this is there only for animation or needed for
someother reason?

If I want to do one time drawing of OpenGL, what conidtions have to be
met to create the GL context?

Your help is much appreciated
Thanks
Satya

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