Lines Matching refs:mEGLDisplay
340 mEGLDisplay(display), in GLESRenderEngine()
423 eglDestroyImageKHR(mEGLDisplay, expired); in ~GLESRenderEngine()
427 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~GLESRenderEngine()
428 eglTerminate(mEGLDisplay); in ~GLESRenderEngine()
455 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flush()
465 base::unique_fd fenceFd(eglDupNativeFenceFDANDROID(mEGLDisplay, sync)); in flush()
466 eglDestroySyncKHR(mEGLDisplay, sync); in flush()
474 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in flush()
487 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr); in finish()
494 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in finish()
501 EGLint result = eglClientWaitSyncKHR(mEGLDisplay, sync, flags, 2000000000 /*2 sec*/); in waitSync()
503 eglDestroySyncKHR(mEGLDisplay, sync); in waitSync()
524 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in waitFence()
533 eglWaitSyncKHR(mEGLDisplay, sync, 0); in waitFence()
535 eglDestroySyncKHR(mEGLDisplay, sync); in waitFence()
939 const bool success = eglMakeCurrent(mEGLDisplay, surface, surface, context) == EGL_TRUE; in useProtectedContext()
962 EGLImageKHR image = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in createFramebufferImageIfNeeded()
970 eglDestroyImageKHR(mEGLDisplay, expired); in createFramebufferImageIfNeeded()