Searched refs:eglContext (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | EglContextTest.java | 41 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()
|
D | Egl14Utils.java | 95 static void destroyEglContext(EGLDisplay eglDisplay, EGLContext eglContext) { in destroyEglContext() argument 105 EGL14.eglDestroyContext(eglDisplay, eglContext); in destroyEglContext()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | NdkInputSurface.java | 37 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
|
D | DecodeAccuracyTestBase.java | 1024 private EGLContext eglContext = null; field in GLSurfaceViewFactory.GLSurfaceViewThread 1101 eglContext = egl10.eglCreateContext( in eglSetup() 1104 if (eglContext == null) { in eglSetup() 1130 egl10.eglDestroyContext(eglDisplay, eglContext); in release() 1136 eglContext = EGL10.EGL_NO_CONTEXT; in release() 1142 if (!egl10.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext)) { in makeCurrent()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 1355 EGLConfig eglContext = eglCreateContext( in Java_android_media_cts_NdkInputSurface_eglCreateContext() local 1365 return reinterpret_cast<jlong>(eglContext); in Java_android_media_cts_NdkInputSurface_eglCreateContext() 1388 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong eglContext) { in Java_android_media_cts_NdkInputSurface_eglMakeCurrent() argument 1394 reinterpret_cast<EGLContext>(eglContext)); in Java_android_media_cts_NdkInputSurface_eglMakeCurrent() 1455 …JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong eglContext, jlong na… in Java_android_media_cts_NdkInputSurface_nativeRelease() argument 1461 EGLContext _eglContext = reinterpret_cast<EGLContext>(eglContext); in Java_android_media_cts_NdkInputSurface_nativeRelease()
|