Lines Matching refs:mEglDisplay
273 if (mEglDisplay != EGL_NO_DISPLAY) in free_gl_surface()
277 eglDestroyContext( mEglDisplay, mEglContext ); in free_gl_surface()
278 eglDestroySurface( mEglDisplay, mEglSurface ); in free_gl_surface()
279 eglTerminate( mEglDisplay ); in free_gl_surface()
280 mEglDisplay = EGL_NO_DISPLAY; in free_gl_surface()
356 if ( (mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface()
362 if ( eglInitialize(mEglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface()
376 eglChooseConfig(mEglDisplay, s_configAttribs, &myConfig, 1, &numConfigs); in init_gl_surface()
378 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, attribs); in init_gl_surface()
384 if ( (mEglContext = eglCreateContext(mEglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
390 if ( eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext) != EGL_TRUE ) in init_gl_surface()
398 eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w); in init_gl_surface()
400 eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h); in init_gl_surface()