Android Devices Problems with OpenGL ES GL 11
I tested my app on some Android 2.1 and 2.2 devices. So I think that they support OpenGL ES 1.1 But on some devices I had problems whit my app. I get an unsupported operatio开发者_如何学编程n exception means the device does not support the GL 11 interface. Is this a hardware problem? Are there some possibilities to avoid this problem?
Thanks, Mijat
I think that the exception I get is not useful. Because I pick a peace of code from the net, and this one checks the extension I temporally need with all extension from the interface GL 11. And if there is no agreement, the code throws a exception. The Problem case is, that I have an app and I tried in on the HTC Desire and some model of LG. It works great, but on a third device which works on Android 2.2 I get this exception. Means OpenGL ES GL11 isn’t covered.
From http://developer.android.com/guide/topics/graphics/opengl.html :
Finally, note that though Android does include some basic support for OpenGL ES 1.1, the support is not complete, and should not be relied upon at this time.
Pretty much answers the question.
精彩评论