OpenGL extensions available on different Android devices
Posted
by MH114
on Stack Overflow
See other posts from Stack Overflow
or by MH114
Published on 2010-01-19T13:05:13Z
Indexed on
2010/05/01
13:17 UTC
Read the original article
Hit count: 301
I'm in the process of writing an OpenGL ES powered framework for my next Android game(s). Currently I'm supporting three different techniques 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);
I've got a HTC Hero, so I can share those extensions next.
© Stack Overflow or respective owner