[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-31 Thread Dianne Hackborn
Have you tried basing your code on one of the official samples in ApiDemos? On Mon, Mar 30, 2009 at 8:39 PM, Jint3i victor.jimmiesha...@gmail.comwrote: Actually, if you're using GlSurfaceView check the following function: private void guardedRun() throws InterruptedException Specifically

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-31 Thread Streets Of Boston
This means that the RenderThread has been paused or not yet been started properly. Make sure you resume it when your activity's onResume is called. If you're using the code from example GLSurfaceView, removing the 'wait ()' will make your future customers quite angry: Their battery will be

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-30 Thread Jint3i
I would like to know why this doesn't work as well. I'm able to use the options mentioned by gigadude but the device fails to hide the notification and title bars and also fails to render the OpenGL scene when the MEMORY_TYPE_GPU flag is set with Window.requestFeature On Mar 6, 1:16 am, gigadude

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-30 Thread Jint3i
To add, when I hit the back button to exit the application the last frame of the scene is rendered properly but of course because I'm exiting the application at that point it does me little good. On Mar 30, 1:19 am, Jint3i victor.jimmiesha...@gmail.com wrote: I would like to know why this

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-30 Thread Jint3i
Actually, if you're using GlSurfaceView check the following function: private void guardedRun() throws InterruptedException Specifically the section regarding wait: if(needToWait()) { while (needToWait()) { // wait(); /* I commented out this line*/ } } It seems to