Searched refs:surface_ (Results 1 – 2 of 2) sorted by relevance
/development/ndk/sources/android/ndk_helper/ |
D | GLContext.cpp | 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() [all …]
|
D | GLContext.h | 57 EGLSurface surface_; variable
|