Lines Matching refs:mEglSurface
44 , mEglSurface(EGL_NO_SURFACE) in CanvasContext()
78 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
79 mEglManager.destroySurface(mEglSurface); in setSurface()
80 mEglSurface = EGL_NO_SURFACE; in setSurface()
84 mEglSurface = mEglManager.createSurface(window); in setSurface()
87 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
89 mBufferPreserved = mEglManager.setPreserveBuffer(mEglSurface, preserveBuffer); in setSurface()
98 if (CC_UNLIKELY(!mEglManager.swapBuffers(mEglSurface))) { in swapBuffers()
105 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in requireSurface()
144 mHaveNewSurface |= mEglManager.makeCurrent(mEglSurface); in makeCurrent()
203 LOG_ALWAYS_FATAL_IF(!mCanvas || mEglSurface == EGL_NO_SURFACE, in draw()
212 mEglManager.beginFrame(mEglSurface, &width, &height); in draw()
255 if (CC_UNLIKELY(!mCanvas || mEglSurface == EGL_NO_SURFACE)) { in doFrame()