Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/opengl/cts/
DEglContextTest.java41 EGLContext eglContext = null; in testCreateAndReleaseContext() local
44 eglContext = createEglContext(eglDisplay); in testCreateAndReleaseContext()
45 destroyEglContext(eglDisplay, eglContext); in testCreateAndReleaseContext()
47 eglContext = null; in testCreateAndReleaseContext()
50 if (eglContext != null) { in testCreateAndReleaseContext()
51 EGL14.eglDestroyContext(eglDisplay, eglContext); in testCreateAndReleaseContext()
83 EGLContext eglContext = EGL14.eglCreateContext(eglDisplay, in createEglContext() local
87 return eglContext; in createEglContext()
93 private static void destroyEglContext(EGLDisplay eglDisplay, EGLContext eglContext) { in destroyEglContext() argument
103 EGL14.eglDestroyContext(eglDisplay, eglContext); in destroyEglContext()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java810 private EGLContext eglContext = null; field in GLSurfaceViewFactory.GLSurfaceViewThread
885 eglContext = egl10.eglCreateContext( in eglSetup()
888 if (eglContext == null) { in eglSetup()
909 egl10.eglDestroyContext(eglDisplay, eglContext); in release()
913 eglContext = EGL10.EGL_NO_CONTEXT; in release()
921 if (!egl10.eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext)) { in makeCurrent()