Searched refs:mEglContext (Results 1 – 4 of 4) sorted by relevance
/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()
|