Lines Matching refs:eglDisplay
20 EGLDisplay eglDisplay; variable
128 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface()
134 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface()
141 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
143 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface()
150 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
156 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
167 if (eglDisplay != EGL_NO_DISPLAY) in free_gl_surface()
171 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface()
172 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface()
173 eglTerminate( eglDisplay ); in free_gl_surface()
174 eglDisplay = EGL_NO_DISPLAY; in free_gl_surface()
257 eglSwapBuffers(eglDisplay, eglSurface); in render()
260 eglSwapBuffers(eglDisplay, eglSurface); in render()
269 eglSwapBuffers(eglDisplay, eglSurface); in render()