Lines Matching refs:mEGLDisplay

154       : mEGLDisplay(EGL_NO_DISPLAY),  in RenderEngine()
160 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~RenderEngine()
161 eglTerminate(mEGLDisplay); in ~RenderEngine()
165 mEGLDisplay = display; in setEGLHandles()
171 return mEGLDisplay; in getEGLDisplay()
183 return mEGLDisplay == eglGetCurrentDisplay() && mEGLContext == eglGetCurrentContext(); in isCurrent()
205 success = eglMakeCurrent(mEGLDisplay, eglSurface, eglSurface, mEGLContext) == EGL_TRUE; in setCurrentSurface()
207 eglSwapInterval(mEGLDisplay, 0); in setCurrentSurface()
215 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in resetCurrentSurface()
223 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flush()
233 base::unique_fd fenceFd(eglDupNativeFenceFDANDROID(mEGLDisplay, sync)); in flush()
234 eglDestroySyncKHR(mEGLDisplay, sync); in flush()
248 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr); in finish()
254 EGLint result = eglClientWaitSyncKHR(mEGLDisplay, sync, EGL_SYNC_FLUSH_COMMANDS_BIT_KHR, in finish()
257 eglDestroySyncKHR(mEGLDisplay, sync); in finish()
277 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in waitFence()
289 eglWaitSyncKHR(mEGLDisplay, sync, 0); in waitFence()
291 eglDestroySyncKHR(mEGLDisplay, sync); in waitFence()
408 bindHelper->mImage = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in bindNativeBufferAsFrameBuffer()
432 eglDestroyImageKHR(mEGLDisplay, bindHelper->mImage); in unbindNativeBufferAsFrameBuffer()