/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | FireflyRenderer.java | 158 EGL10 mEgl; field in FireflyRenderer.FireflyRenderThread 204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in run() 230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in run() 281 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 282 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent() 283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 285 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in checkCurrent() 292 mEgl = (EGL10) EGLContext.getEGL(); in initGL() 294 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initGL() 297 GLUtils.getEGLErrorString(mEgl.eglGetError())); in initGL() [all …]
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | ColorsGLRenderer.java | 68 private EGL10 mEgl; field in ColorsGLRenderer 135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in doFrame() 145 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 146 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent() 147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 149 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in checkCurrent() 155 mEgl = (EGL10) EGLContext.getEGL(); in initGL() 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initGL() 160 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in initGL() 164 if (!mEgl.eglInitialize(mEglDisplay, version)) { in initGL() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 108 EGL10 mEgl; field in BlockingGLTextureView.EglHelper 118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig() 120 GLUtils.getEGLErrorString(mEgl.eglGetError())); in chooseEglConfig() 152 mEgl = (EGL10) EGLContext.getEGL(); in start() 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in start() 167 if (!mEgl.eglInitialize(mEglDisplay, version)) { in start() 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in start() 196 if (mEgl == null) { in createSurface() 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); in createSurface() 222 int error = mEgl.eglGetError(); in createSurface() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 108 EGL10 mEgl; field in BlockingGLTextureView.EglHelper 118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig() 120 GLUtils.getEGLErrorString(mEgl.eglGetError())); in chooseEglConfig() 152 mEgl = (EGL10) EGLContext.getEGL(); in start() 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in start() 167 if (!mEgl.eglInitialize(mEglDisplay, version)) { in start() 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in start() 196 if (mEgl == null) { in createSurface() 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); in createSurface() 222 int error = mEgl.eglGetError(); in createSurface() [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | MosaicPreviewRenderer.java | 59 private EGL10 mEgl; field in MosaicPreviewRenderer 108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in doAlignFrame() 120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in doShowPreviewFrame() 125 mEgl = (EGL10) EGLContext.getEGL(); in doInitGL() 126 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_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() 144 mEglSurface = mEgl.eglCreateWindowSurface( in doInitGL() 150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in doInitGL() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | SurfaceTextureRenderer.java | 44 private EGL10 mEgl; field in SurfaceTextureRenderer 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() 116 mEgl = (EGL10) EGLContext.getEGL(); in initialize() 117 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initialize() 122 if (!mEgl.eglInitialize(mEglDisplay, version)) { in initialize() 128 mEglConfig = chooseConfig(mEgl, mEglDisplay); in initialize() [all …]
|