Home
last modified time | relevance | path

Searched refs:mEglSurface (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/views/
DBlockingGLTextureView.java110 EGLSurface mEglSurface; field in BlockingGLTextureView.EglHelper
183 mEglSurface = null; in start()
216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); in createSurface()
218 mEglSurface = null; in createSurface()
221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in createSurface()
233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface()
257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in swap()
268 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in destroySurfaceImp()
272 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in destroySurfaceImp()
273 mEglSurface = null; in destroySurfaceImp()
/packages/apps/Camera2/src/com/android/camera/
DSurfaceTextureRenderer.java43 private EGLSurface mEglSurface; field in SurfaceTextureRenderer
57 if (mEglDisplay != null && mEglSurface != null) {
59 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
79 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in release()
84 mEglSurface = null; in release()
135 mEglSurface = mEgl.eglCreateWindowSurface( in initialize()
137 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in initialize()
142 mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initialize()
/packages/apps/Nfc/src/com/android/nfc/beam/
DFireflyRenderer.java162 EGLSurface mEglSurface; field in FireflyRenderer.FireflyRenderThread
204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in run()
230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in run()
282 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent()
283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent()
316 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); in initGL()
318 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in initGL()
324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL()
344 if (mEglSurface != null) { in finishGL()
345 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in finishGL()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java72 private EGLSurface mEglSurface; field in ColorsGLRenderer
136 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in doFrame()
147 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent()
148 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent()
177 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null); in initGL()
179 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in initGL()
189 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL()
197 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in finishGL()