Searched refs:eglContext (Results 1 – 2 of 2) sorted by relevance
41 EGLContext eglContext = null; in testCreateAndReleaseContext() local44 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() local87 return eglContext; in createEglContext()93 private static void destroyEglContext(EGLDisplay eglDisplay, EGLContext eglContext) { in destroyEglContext() argument103 EGL14.eglDestroyContext(eglDisplay, eglContext); in destroyEglContext()
810 private EGLContext eglContext = null; field in GLSurfaceViewFactory.GLSurfaceViewThread885 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()