Home
last modified time | relevance | path

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

/cts/tests/openglperf2/jni/graphics/
DGLUtils.cpp25 static JNIEnv* sEnv = NULL; variable
29 sEnv = env; in setEnvAndAssetManager()
34 AAssetManager* nativeManager = AAssetManager_fromJava(sEnv, sAssetManager); in loadAsset()
62 jclass activityClass = sEnv->FindClass("android/opengl2/cts/reference/GLGameActivity"); in loadTexture()
67 jmethodID loadTexture = sEnv->GetStaticMethodID(activityClass, "loadTexture", in loadTexture()
73 jstring pathStr = sEnv->NewStringUTF(path); in loadTexture()
74 textureId = sEnv->CallStaticIntMethod(activityClass, loadTexture, sAssetManager, pathStr); in loadTexture()
75 sEnv->DeleteLocalRef(pathStr); in loadTexture()