Lines Matching refs:mEglManager
50 : SkiaGpuPipeline(thread), mEglManager(thread.eglManager()) { in SkiaOpenGLPipeline()
59 bool wasSurfaceless = mEglManager.isCurrent(EGL_NO_SURFACE); in makeCurrent()
70 if (!mEglManager.makeCurrent(mEglSurface, &error)) { in makeCurrent()
113 return mEglManager.beginFrame(mEglSurface); in getFrame()
123 mEglManager.damageFrame(frame, dirty); in draw()
207 *requireSwap = drawResult.success || mEglManager.damageRequiresSwap(); in swapBuffers()
209 if (*requireSwap && (CC_UNLIKELY(!mEglManager.swapBuffers(frame, screenDirty)))) { in swapBuffers()
223 mEglManager.destroySurface(mEglSurface); in onContextDestroyed()
229 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
230 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop()
239 mEglManager.destroySurface(mEglSurface); in setSurface()
245 auto newSurface = mEglManager.createSurface(surface, mColorMode, mSurfaceColorSpace); in setSurface()
254 mEglManager.setPreserveBuffer(mEglSurface, preserveBuffer); in setSurface()
264 mEglManager.createReleaseFence(true, &sync, &fence); in flush()
268 EGLDisplay display = mEglManager.eglDisplay(); in flush()
286 return CC_LIKELY(mEglManager.hasEglContext()); in isContextReady()