问题
I'm testing my app on HTC Wildfire running Android 2.2.1. I suppose it should support atleast OpenGL 1.1 but in fact when I'm calling
glGetString(GL_VERSION);
I'm getting this:
OpenGL ES-CM 1.0
Is there any way to create OpenGL 1.1 context and not 1.0 ?
回答1:
Unfortunately, HTC Wildfire doesn't have GPU.
http://developer.qualcomm.com/device/htc-wildfire
CPU:Qualcomm MSM 7225
Graphical Processor Unit (GPU): No GPU
GL info for HTC Wildfire
OpenGL Version - OpenGL ES-CM 1.0
OpenGL Vendor - Android
OpenGL Renderer - Android PixelFlinger 1.3
It is the software implementation of OpenGL ES 1.0 from Google Android. It is not OpenGL ES 1.1 implementation even though it supports OpenGL ES 1.1 API and extensions partially.
回答2:
Would this help? Android: GLES20: Called unimplemented OpenGL ES API
I'm not sure if you already registered the OpenGL in your AndroidManifest.xml by doing:
<uses-feature android:glEsVersion="0x00020000"></uses-feature>
<uses-sdk android:targetSdkVersion="8" android:minSdkVersion="8"></uses-sdk>
Hope this helps!
来源:https://stackoverflow.com/questions/7020324/what-version-of-opengl-does-htc-wildfire-support