Lines Matching refs:surface_
39 surface_( EGL_NO_SURFACE ), in GLContext()
133 surface_ = eglCreateWindowSurface( display_, config_, window_, NULL ); in InitEGLSurface()
134 eglQuerySurface( display_, surface_, EGL_WIDTH, &screen_width_ ); in InitEGLSurface()
135 eglQuerySurface( display_, surface_, EGL_HEIGHT, &screen_height_ ); in InitEGLSurface()
154 if( eglMakeCurrent( display_, surface_, surface_, context_ ) == EGL_FALSE ) in InitEGLContext()
166 bool b = eglSwapBuffers( display_, surface_ ); in Swap()
198 if( surface_ != EGL_NO_SURFACE ) in Terminate()
200 eglDestroySurface( display_, surface_ ); in Terminate()
207 surface_ = EGL_NO_SURFACE; in Terminate()
225 surface_ = eglCreateWindowSurface( display_, config_, window_, NULL ); in Resume()
226 eglQuerySurface( display_, surface_, EGL_WIDTH, &screen_width_ ); in Resume()
227 eglQuerySurface( display_, surface_, EGL_HEIGHT, &screen_height_ ); in Resume()
235 if( eglMakeCurrent( display_, surface_, surface_, context_ ) == EGL_TRUE ) in Resume()
261 if( surface_ != EGL_NO_SURFACE ) in Suspend()
263 eglDestroySurface( display_, surface_ ); in Suspend()
264 surface_ = EGL_NO_SURFACE; in Suspend()