Lines Matching refs:surface
146 EGLSurface surface; in init() local
198 surface = eglCreateWindowSurface(display, config, mNativeWindow.get(), NULL); in init()
199 eglQuerySurface(display, surface, EGL_WIDTH, &mWidth); in init()
200 eglQuerySurface(display, surface, EGL_HEIGHT, &mHeight); in init()
205 eglSurfaceAttrib(display, surface, in init()
209 if (eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &dummy) == EGL_TRUE) { in init()
248 mSurface = surface; in init()
257 result = eglMakeCurrent(display, surface, surface, context); in init()
279 if (eglSetSwapRectangleANDROID(display, surface, in init()
367 EGLSurface surface = mSurface; in flip() local
373 eglSetSwapRectangleANDROID(dpy, surface, in flip()
387 eglSwapBuffers(dpy, surface); in flip()