Home
last modified time | relevance | path

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

/cts/tests/tests/opengl/src/android/opengl/cts/
DEglContextTest.java41 EGLContext eglContext = null; in testCreateAndReleaseContext() local
44 eglContext = Egl14Utils.createEglContext(eglDisplay); in testCreateAndReleaseContext()
45 Egl14Utils.destroyEglContext(eglDisplay, eglContext); in testCreateAndReleaseContext()
48 eglContext = null; in testCreateAndReleaseContext()
51 if (eglContext != null) { in testCreateAndReleaseContext()
52 EGL14.eglDestroyContext(eglDisplay, eglContext); in testCreateAndReleaseContext()
DEgl14Utils.java104 static void destroyEglContext(EGLDisplay eglDisplay, EGLContext eglContext) { in destroyEglContext() argument
114 EGL14.eglDestroyContext(eglDisplay, eglContext); in destroyEglContext()
188 EGLContext eglContext = createEglContext(eglDisplay); in retrieveCapableTextureSize() local
192 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in retrieveCapableTextureSize()
195 destroyEglContext(eglDisplay, eglContext); in retrieveCapableTextureSize()
/cts/tests/tests/media/src/android/media/cts/
DNdkInputSurface.java37 static private native boolean eglMakeCurrent(long eglDisplay, long eglSurface, long eglContext); in eglMakeCurrent() argument
43 …static private native void nativeRelease(long eglDisplay, long eglSurface, long eglContext, long n… in nativeRelease() argument
DDecodeAccuracyTestBase.java1026 private EGLContext eglContext = null; field in GLSurfaceViewFactory.GLSurfaceViewThread
1103 eglContext = egl10.eglCreateContext( in eglSetup()
1106 if (eglContext == null) { in eglSetup()
1132 egl10.eglDestroyContext(eglDisplay, eglContext); in release()
1138 eglContext = EGL10.EGL_NO_CONTEXT; in release()
1144 if (!egl10.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext)) { in makeCurrent()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp1374 EGLConfig eglContext = eglCreateContext( in Java_android_media_cts_NdkInputSurface_eglCreateContext() local
1384 return reinterpret_cast<jlong>(eglContext); in Java_android_media_cts_NdkInputSurface_eglCreateContext()
1407 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong eglContext) { in Java_android_media_cts_NdkInputSurface_eglMakeCurrent() argument
1413 reinterpret_cast<EGLContext>(eglContext)); in Java_android_media_cts_NdkInputSurface_eglMakeCurrent()
1474 …JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong eglContext, jlong na… in Java_android_media_cts_NdkInputSurface_nativeRelease() argument
1480 EGLContext _eglContext = reinterpret_cast<EGLContext>(eglContext); in Java_android_media_cts_NdkInputSurface_nativeRelease()