Home
last modified time | relevance | path

Searched refs:mEgl (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/beam/
DFireflyRenderer.java158 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/
DColorsGLRenderer.java69 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/
DBlockingGLTextureView.java108 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/Camera2/src/com/android/camera/
DSurfaceTextureRenderer.java44 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 …]