How to detect OpenGL capabilities without creating a GLSurfaceView (Android)
- by ADB
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?