/packages/apps/Camera2/src/com/android/camera/ |
D | SurfaceTextureRenderer.java | 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() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 109 EGLDisplay mEglDisplay; field in BlockingGLTextureView.EglHelper 118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig() 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in start() 159 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in start() 167 if (!mEgl.eglInitialize(mEglDisplay, version)) { in start() 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in start() 199 if (mEglDisplay == null) { in createSurface() 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); in createSurface() 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface() 257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in swap() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 109 EGLDisplay mEglDisplay; field in BlockingGLTextureView.EglHelper 118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig() 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in start() 159 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in start() 167 if (!mEgl.eglInitialize(mEglDisplay, version)) { in start() 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in start() 199 if (mEglDisplay == null) { in createSurface() 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); in createSurface() 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface() 257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in swap() [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | MosaicPreviewRenderer.java | 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() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | FireflyRenderer.java | 159 EGLDisplay mEglDisplay; field in FireflyRenderer.FireflyRenderThread 204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in run() 230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in run() 283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 294 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initGL() 295 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in initGL() 302 if (!mEgl.eglInitialize(mEglDisplay, version)) { in initGL() 314 … mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null); in initGL() 316 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); in initGL() 324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL() [all …]
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | ColorsGLRenderer.java | 69 private EGLDisplay mEglDisplay; field in ColorsGLRenderer 135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in doFrame() 147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initGL() 158 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in initGL() 164 if (!mEgl.eglInitialize(mEglDisplay, version)) { in initGL() 174 mEglContext = createContext(mEgl, mEglDisplay, eglConfig); in initGL() 176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null); in initGL() 188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL() 195 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL() [all …]
|