/packages/apps/Camera/src/com/android/camera/ |
H A D | MosaicPreviewRenderer.java | 56 private EGLSurface mEglSurface; field in class:MosaicPreviewRenderer 108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 144 mEglSurface = mEgl.eglCreateWindowSurface( 146 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 161 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 166 mEglSurface [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | SurfaceTextureRenderer.java | 42 private EGLSurface mEglSurface; field in class:SurfaceTextureRenderer 54 if (mEglDisplay != null && mEglSurface != null) { 56 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 99 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 104 mEglSurface = null; 152 mEglSurface = mEgl.eglCreateWindowSurface( 154 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 159 mEglDisplay, mEglSurface, mEglSurface, mEglContex [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 110 EGLSurface mEglSurface; field in class:BlockingGLTextureView.EglHelper 183 mEglSurface = null; 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); 218 mEglSurface = null; 221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 268 if (mEglSurface ! [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 110 EGLSurface mEglSurface; field in class:BlockingGLTextureView.EglHelper 183 mEglSurface = null; 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); 218 mEglSurface = null; 221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 268 if (mEglSurface ! [all...] |
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
H A D | ColorsGLRenderer.java | 71 private EGLSurface mEglSurface; field in class:ColorsGLRenderer 135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 146 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null); 178 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContex [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | FireflyRenderer.java | 162 EGLSurface mEglSurface; field in class:FireflyRenderer.FireflyRenderThread 204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 282 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 316 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); 318 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac [all...] |