How to detect OpenGL capabilities without creating a GLSurfaceView (Android)

Posted by ADB on Stack Overflow See other posts from Stack Overflow or by ADB
Published on 2011-01-29T15:21:16Z Indexed on 2011/01/29 15:26 UTC
Read the original article Hit count: 281

Filed under:
|

I am trying to access the OpenGL capability of the phone before deciding whether to use OpenGL or Canvas for graphics puposes. However, all the functions that I can read documentation on requires you to already have a valid OpenGL context (namely, create a GLSurfaceView and assign it a rendered. Then check the OpenGL parameters in the onSurfaceCreated).

So, is there a way to check the extensions, renderer name and max texture size capability of the phone BEFORE having to create any OpenGL views?

© Stack Overflow or respective owner

Related posts about android

Related posts about opengl-es