I am currently developing a 2D side scroller for Android using OpenGL ES. The UI drawing routines are very slow and resource consuming, which creates a lot of memory to be dumped regularly by the GC, which causes hickups every 2 seconds for up to 1 second (!). OpenGL ES allows me to render at a consistent 60 FPS (on G1) with no new allocations per frame.
Actually, I use a combination. Bitmap is used for caching blocks of the tiled map and converting it into a texture that I can quickly draw with OpenGL ES. The GLSurfaceView, I believe, always renders as fast as possible, which is not suitable for applications that are not constantly updating the entire screen every frame. The UI (or a manual implementation of OpenGL ES) should be used for infrequent updates or small area animations. You shouldn't use the power hungry GPU unless you need to. On May 27, 12:30 pm, Shrinivas <[email protected]> wrote: > Hi All, > > I have few queries: > > - Can anybody let me know is 2D & 3D graphics in Android are using > OpenGL-ES? I have have read only 3D graphics is using OpenGL-ES. > > - what are all the application in android which are using OpenGL-ES. > please give the list of applications. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

