Reputation: 6073
I installed Android L developer preview image on Nexus 5 yesterday in hopes to start implementing compute shaders. The code I expected to give me GLES31 capable OpenGL context is;
GLSurfaceView glView = new GLSurfaceView(context);
glView.setEGLContextClientVersion(3);
...
The exact same code which creates OpenGL ES 3.0 context on Android 4.4.4.
But instead I am getting OpenGL ES 3.0 context without the new GLES31 capabilities.
Am I missing something fundamental in regard to OpenGL context creation - or is it the case OpenGL ES 3.1 is not supported on current Android L developer preview image (= LPV79)?
Upvotes: 0
Views: 2819
Reputation: 5364
Are you absolutely sure that Nexus5 hardware does support OpenGL ES 3.1?
AFAIK Adreno 330 supports only ES 3.0, and ES 3.1 is introduced in Adreno 420 GPU.
Upvotes: 1