Lines Matching refs:mEglSurface
777 EGLSurface mEglSurface;
1218 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
1220 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1221 mEglSurface = null;
1231 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
1232 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1233 mEglSurface = null;
1251 mEglSurface = sEgl.eglCreateWindowSurface(sEglDisplay, sEglConfig, surface, null);
1253 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
1263 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1510 sEgl.eglSwapBuffers(sEglDisplay, mEglSurface);
1589 !mEglSurface.equals(sEgl.eglGetCurrentSurface(EGL_DRAW))) {
1590 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {