Lines Matching refs:mSurface
45 if (mSurface) { in ~EmulatedEglWindowSurface()
46 s_egl.eglDestroySurface(mDisplay, mSurface); in ~EmulatedEglWindowSurface()
128 prevReadSurf != mSurface || prevDrawSurf != mSurface; in flushColorBuffer()
131 mSurface, in flushColorBuffer()
132 mSurface, in flushColorBuffer()
151 if (mSurface && mWidth == p_width && mHeight == p_height) { in resize()
159 EGLSurface prevPbuf = mSurface; in resize()
160 bool needRebindContext = mSurface && in resize()
161 (prevReadSurf == mSurface || in resize()
162 prevDrawSurf == mSurface); in resize()
172 if (mSurface) { in resize()
173 s_egl.eglDestroySurface(mDisplay, mSurface); in resize()
174 mSurface = NULL; in resize()
184 mSurface = s_egl.eglCreatePbufferSurface(mDisplay, in resize()
187 if (mSurface == EGL_NO_SURFACE) { in resize()
198 (prevDrawSurf == prevPbuf) ? mSurface : prevDrawSurf, in resize()
199 (prevReadSurf == prevPbuf) ? mSurface : prevReadSurf, in resize()