/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 110 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/Gallery2/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 110 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/Nfc/src/com/android/nfc/beam/ |
D | FireflyRenderer.java | 162 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/apps/Camera2/src/com/android/camera/ |
D | SurfaceTextureRenderer.java | 43 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/screensavers/Basic/src/com/android/dreams/basic/ |
D | ColorsGLRenderer.java | 71 private EGLSurface mEglSurface; field in ColorsGLRenderer 135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in doFrame() 146 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent() 147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null); in initGL() 178 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in initGL() 188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL() 196 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in finishGL()
|
/packages/apps/Camera/src/com/android/camera/ |
D | MosaicPreviewRenderer.java | 56 private EGLSurface mEglSurface; field in MosaicPreviewRenderer 108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in doAlignFrame() 120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in doShowPreviewFrame() 144 mEglSurface = mEgl.eglCreateWindowSurface( in doInitGL() 146 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in doInitGL() 150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in doInitGL() 161 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in doRelease() 166 mEglSurface = null; in doRelease()
|