opengl es - Selecting GLES version in Google Cardboard Android SDK -


how cardboardview class in google cardboard sdk select opengl es version use? hoping literally inherited glsurfaceview use seteglcontextclientversion described here, looks that's not case.

my goal select opengl es 3.0 -- of existing rendering code implemented on native side , depends on version.

the cardboard sdk uses opengl es 2.0 compatible client. though doesn't seem officially supported, experience gl es 3.0/3.1 can used such context, provided phone supports es 3.x. can checked call:

string version = javax.microedition.khronos.opengles.gl10.glgetstring(     gl10.gl_version); 

more detail @ http://developer.android.com/guide/topics/graphics/opengl.html#version-check

that said, looks should add proper support using es 3.x sdk, flagging this.


Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -