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:
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.
Android supports OpenGL both through its framework API and the Native Development Kit (NDK).
The OpenGL drivers on Android are not user upgradable.
Tracer is a tool for analyzing OpenGL for Embedded Systems (ES) code in your Android application. The tool allows you to capture OpenGL ES commands and frame by frame images to help you understand how your graphics commands are being executed.
OpenGL extensions are a means for OpenGL implementations to provide new or expanded functionality that the core of OpenGL does not provide. Using extensions should not be looked on as something to be avoided; it should be accepted as standard practice for the OpenGL user.
OpenGL ES extensions on HTC G1 (Android 1.6):
OpenGL ES version on HTC G1 (Android 1.6):
I'm including the version as retrieved by:gl.glGetString(GL10.GL_VERSION)
It's pretty interesting in that it doesn't follow the specification. The profile is supposed to be before the number. It is also needed to determine capabilities. For example, the Droid doesn't report VBO support in its extension list. It does report an OpenGL ES version of 1.1, however. That means it does support VBOs, because VBOs were made mandatory in the 1.1 version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With