Home
last modified time | relevance | path

Searched refs:versionStr (Results 1 – 2 of 2) sorted by relevance

/development/ndk/platforms/android-18/samples/gles3jni/jni/
Dgles3jni.cpp262 const char* versionStr = (const char*)glGetString(GL_VERSION); in Java_com_android_gles3jni_GLES3JNILib_init() local
263 if (strstr(versionStr, "OpenGL ES 3.") && gl3stubInit()) { in Java_com_android_gles3jni_GLES3JNILib_init()
265 } else if (strstr(versionStr, "OpenGL ES 2.")) { in Java_com_android_gles3jni_GLES3JNILib_init()
/development/ndk/sources/android/ndk_helper/
DGLContext.cpp56 const char* versionStr = (const char*) glGetString( GL_VERSION ); in InitGLES() local
57 if( strstr( versionStr, "OpenGL ES 3." ) && gl3stubInit() ) in InitGLES()