I asked this on StackOverflow, but as nobody seems to care, I'll try here. At least there are some devs working with Android here.
As you may know, Android has three ways of drawing sprites:
- the basic way: using vertex arrays (slow)
- using vertex-buffer-objects (VBOs) (faster)
- using the draw_texture extension (fastest, but only for basic sprites, i.e. no transforming)
Vertex arrays are supported in OpenGL ES 1.0 and thus in every Android-device. I'm guessing most (if not all) of the current devices also support VBOs and draw_texture.
Instead of guessing, I'd like to know the extensions supported by different devices. If majority of devices support VBOs, I could simplify my code and focus only on VBOs + draw_texture.
It'd be helpful to know what different devices support, so if you have an Android-device, do report the extensions list please.
String extensions = gl.glGetString(GL10.GL_EXTENSIONS);
You can reply to the StackOverflow question as well, if you have an account there. It's right here
Here is the extensions list for HTC Hero
(Android 1.5) (all three techniques are supported):