Hello everyone. I have a question about the performance of opengl es and canvas in android.
I write two simple apps to test the render speed of android. The function of the app is to draw a 1024*512 texture to the 800*400 screen. opengl_app: use GLSurfaceView to call JNI method 'draw'. the JNI method 'draw' just uses glDrawArrays to draw the texture. (Actually there is a init process when the GLSurfaceView inits. I load and bind the texture during the initialization. So each time the 'draw' method is called I don't have to bind the texture. I also use VBO for the vertexes and texcoords); canvas_app: use canvas's drawBitmap method to draw the texture to the screen. I find that for each frame opengl_app needs 27ms but canvas_app needs only 17ms. Why is opengl in android so terrible SLOW? What is the difference between the underlying mechanisms of GLSurfaceView and Canvas? I have googled for a long time but found no answers... 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

