Lines Matching refs:mEglSurface
50 if (!mEglManager.makeCurrent(mEglSurface, &error)) { in makeCurrent()
57 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in getFrame()
59 return mEglManager.beginFrame(mEglSurface); in getFrame()
154 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
162 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
163 mEglManager.destroySurface(mEglSurface); in setSurface()
164 mEglSurface = EGL_NO_SURFACE; in setSurface()
169 mEglSurface = mEglManager.createSurface(surface, wideColorGamut); in setSurface()
172 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
174 mBufferPreserved = mEglManager.setPreserveBuffer(mEglSurface, preserveBuffer); in setSurface()
182 return CC_UNLIKELY(mEglSurface != EGL_NO_SURFACE); in isSurfaceReady()