Lines Matching defs:mEglDisplay
54 private EGLDisplay mEglDisplay;
108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
126 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
127 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
131 if (!mEgl.eglInitialize(mEglDisplay, version)) {
137 mEglConfig = chooseConfig(mEgl, mEglDisplay);
138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
145 mEglDisplay, mEglConfig, mMosaicOutputSurfaceTexture, null);
150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
161 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
162 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
163 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE,
165 mEgl.eglTerminate(mEglDisplay);
168 mEglDisplay = null;