Lines Matching refs:mEglDisplay
41 private EGLDisplay mEglDisplay; field in SurfaceTextureRenderer
57 if (mEglDisplay != null && mEglSurface != null) {
59 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
79 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in release()
80 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in release()
81 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, in release()
83 mEgl.eglTerminate(mEglDisplay); in release()
86 mEglDisplay = null; in release()
117 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initialize()
118 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in initialize()
122 if (!mEgl.eglInitialize(mEglDisplay, version)) { in initialize()
128 mEglConfig = chooseConfig(mEgl, mEglDisplay); in initialize()
130 mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, attribList); in initialize()
136 mEglDisplay, mEglConfig, target, null); in initialize()
142 mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initialize()