/packages/apps/Gallery2/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 112 EGLContext mEglContext; field in BlockingGLTextureView.EglHelper 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in start() 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in start() 179 mEglContext = null; in start() 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface() 249 return (GL10) mEglContext.getGL(); in createGL() 278 if (mEglContext != null) { in finish() 279 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finish() 280 mEglContext = null; in finish()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | SurfaceTextureRenderer.java | 42 private EGLContext mEglContext; field in SurfaceTextureRenderer 80 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in release() 85 mEglContext = null; in release() 129 mEglContext = mEgl.eglCreateContext( in initialize() 132 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in initialize() 142 mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initialize() 146 mGl = (GL10) mEglContext.getGL(); in initialize()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | FireflyRenderer.java | 161 EGLContext mEglContext; field in FireflyRenderer.FireflyRenderThread 281 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 314 … mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null); in initGL() 324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL() 330 mGL = (GL10) mEglContext.getGL(); in initGL() 348 if (mEglContext != null) { in finishGL() 349 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL()
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | ColorsGLRenderer.java | 71 private EGLContext mEglContext; field in ColorsGLRenderer 146 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 148 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 175 mEglContext = createContext(mEgl, mEglDisplay, eglConfig); in initGL() 189 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL() 196 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | NoBackupImageWallpaper.java | 161 private EGLContext mEglContext; field in NoBackupImageWallpaper.DrawableEngine 715 mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in drawWallpaperWithOpenGL() 783 mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in loadTexture() 883 mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in deleteTexture() 895 mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in finishGL() 900 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL() 930 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in initGL() 931 if (mEglContext == EGL_NO_CONTEXT) { in initGL() 942 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext); in initGL() 953 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in initGL() [all …]
|