Lines Matching refs:display_
38 display_( EGL_NO_DISPLAY ), in GLContext()
98 display_ = eglGetDisplay( EGL_DEFAULT_DISPLAY ); in InitEGLSurface()
99 eglInitialize( display_, 0, 0 ); in InitEGLSurface()
114 eglChooseConfig( display_, attribs, &config_, 1, &num_configs ); in InitEGLSurface()
123 eglChooseConfig( display_, attribs, &config_, 1, &num_configs ); in InitEGLSurface()
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()
142 eglGetConfigAttrib( display_, config_, EGL_NATIVE_VISUAL_ID, &format ); in InitEGLSurface()
152 context_ = eglCreateContext( display_, config_, NULL, context_attribs ); in InitEGLContext()
154 if( eglMakeCurrent( display_, surface_, surface_, context_ ) == EGL_FALSE ) in InitEGLContext()
166 bool b = eglSwapBuffers( display_, surface_ ); in Swap()
190 if( display_ != EGL_NO_DISPLAY ) in Terminate()
192 eglMakeCurrent( display_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT ); in Terminate()
195 eglDestroyContext( display_, context_ ); in Terminate()
200 eglDestroySurface( display_, surface_ ); in Terminate()
202 eglTerminate( display_ ); in Terminate()
205 display_ = EGL_NO_DISPLAY; 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()
263 eglDestroySurface( display_, surface_ ); in Suspend()