/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 | 69 private EGL10 mEgl; field in ColorsGLRenderer 136 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in doFrame() 146 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 147 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent() 148 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 150 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in checkCurrent() 156 mEgl = (EGL10) EGLContext.getEGL(); in initGL() 158 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initGL() 161 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in initGL() 165 if (!mEgl.eglInitialize(mEglDisplay, version)) { in initGL() [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/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | NoBackupImageWallpaper.java | 158 private EGL10 mEgl; field in NoBackupImageWallpaper.DrawableEngine 335 if (mEgl != null) { in onSurfaceChanged() 336 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in onSurfaceChanged() 368 mEgl = null; in onSurfaceCreated() 595 if (mTexture != 0 && mEgl != null) { in loadWallpaper() 600 if (mEgl != null && mBackground != null) { in loadWallpaper() 715 mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in drawWallpaperWithOpenGL() 760 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); in drawWallpaperWithOpenGL() 783 mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in loadTexture() 866 int error = mEgl.eglGetError(); in checkEglError() [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 …]
|