[android-developers] Re: OpenGL and pause/resume

2009-08-30 Thread Cor
In the mean time I found this was a classic RTFM case ;-) If you use GLSurfaceView you have to call view.onPause() and view.onResume() respectively in the activities onPause() and anResume () methods --~--~-~--~~~---~--~~ You received this message because you

[android-developers] OpenGL and pause/resume

2009-08-28 Thread Cor
I am learning about OpenGL and managed to write a prototype game using VBO buffers. If I start the application from Eclipse or adb, everything works fine until I press the back or Home button. If I restart the application either by a long press on HOME and selecting my program or by restarting it

[android-developers] OpenGL and VBO buffers

2009-08-28 Thread Cor
I am using VBO buffers in my openGL based game to work around the extra GC caused by using glDrawArrays() and I have a few questions regarding this: I know that VBO buffers are allocated in the GPU memory and it is good practice to free them when the program is stopped. What I do not know is if