Lines Matching refs:mEglSurface
38 if (mEglSurface != EGL_NO_SURFACE) {
53 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(),
55 if (mEglSurface == EGL_NO_SURFACE) {
65 if (mEglSurface != EGL_NO_SURFACE) {
82 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfig, pbufferAttribs);
83 if (mEglSurface == EGL_NO_SURFACE) {
93 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
169 if (mEglSurface != EGL_NO_SURFACE) {
170 eglDestroySurface(mEglDisplay, mEglSurface);
176 mEglSurface = EGL_NO_SURFACE;
184 eglPresentationTimeANDROID(mEglDisplay, mEglSurface, whenNsec);
189 eglSwapBuffers(mEglDisplay, mEglSurface);