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