List of usage examples for android.content.pm ConfigurationInfo GL_ES_VERSION_UNDEFINED
int GL_ES_VERSION_UNDEFINED
To view the source code for android.content.pm ConfigurationInfo GL_ES_VERSION_UNDEFINED.
Click Source Link
From source file:Main.java
/** * The GLES version used by an application. * The upper order 16 bits represent the major version and the lower order 16 bits the minor version. * @param gles_version "reqGlEsVersion"/*from w w w.j a v a 2s .c o m*/ * @return Readable version of OpenGL ES, like 0x00030000 - 3.0 */ public static String getGlEsVersion(int gles_version) { switch (gles_version) { case ConfigurationInfo.GL_ES_VERSION_UNDEFINED://0 return "GL_ES_VERSION_UNDEFINED"; default: return String.format("%1$d.%2$d", gles_version >> 16, gles_version & 0x00001111); } }