Lines Matching refs:display_
38 display_( EGL_NO_DISPLAY ),
98 display_ = eglGetDisplay( EGL_DEFAULT_DISPLAY );
99 eglInitialize( display_, 0, 0 );
114 eglChooseConfig( display_, attribs, &config_, 1, &num_configs );
123 eglChooseConfig( display_, attribs, &config_, 1, &num_configs );
133 surface_ = eglCreateWindowSurface( display_, config_, window_, NULL );
134 eglQuerySurface( display_, surface_, EGL_WIDTH, &screen_width_ );
135 eglQuerySurface( display_, surface_, EGL_HEIGHT, &screen_height_ );
142 eglGetConfigAttrib( display_, config_, EGL_NATIVE_VISUAL_ID, &format );
152 context_ = eglCreateContext( display_, config_, NULL, context_attribs );
154 if( eglMakeCurrent( display_, surface_, surface_, context_ ) == EGL_FALSE )
166 bool b = eglSwapBuffers( display_, surface_ );
190 if( display_ != EGL_NO_DISPLAY )
192 eglMakeCurrent( display_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT );
195 eglDestroyContext( display_, context_ );
200 eglDestroySurface( display_, surface_ );
202 eglTerminate( display_ );
205 display_ = EGL_NO_DISPLAY;
225 surface_ = eglCreateWindowSurface( display_, config_, window_, NULL );
226 eglQuerySurface( display_, surface_, EGL_WIDTH, &screen_width_ );
227 eglQuerySurface( display_, surface_, EGL_HEIGHT, &screen_height_ );
235 if( eglMakeCurrent( display_, surface_, surface_, context_ ) == EGL_TRUE )
263 eglDestroySurface( display_, surface_ );