Lines Matching refs:mEGLDisplay

353         mEGLDisplay(display),  in GLESRenderEngine()
435 eglDestroyImageKHR(mEGLDisplay, expired); in ~GLESRenderEngine()
438 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~GLESRenderEngine()
439 eglTerminate(mEGLDisplay); in ~GLESRenderEngine()
460 return mEGLDisplay == eglGetCurrentDisplay() && mEGLContext == eglGetCurrentContext(); in isCurrent()
469 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flush()
479 base::unique_fd fenceFd(eglDupNativeFenceFDANDROID(mEGLDisplay, sync)); in flush()
480 eglDestroySyncKHR(mEGLDisplay, sync); in flush()
488 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in flush()
501 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr); in finish()
508 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in finish()
515 EGLint result = eglClientWaitSyncKHR(mEGLDisplay, sync, flags, 2000000000 /*2 sec*/); in waitSync()
517 eglDestroySyncKHR(mEGLDisplay, sync); in waitSync()
538 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in waitFence()
547 eglWaitSyncKHR(mEGLDisplay, sync, 0); in waitFence()
549 eglDestroySyncKHR(mEGLDisplay, sync); in waitFence()
834 const bool success = eglMakeCurrent(mEGLDisplay, surface, surface, context) == EGL_TRUE; in useProtectedContext()
856 EGLImageKHR image = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in createFramebufferImageIfNeeded()
863 eglDestroyImageKHR(mEGLDisplay, expired); in createFramebufferImageIfNeeded()