Home | History | Annotate | Download | only in camera

Lines Matching refs:mEglDisplay

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