/cts/tests/tests/textureview/src/android/textureview/cts/ |
GLProducerThread.java | 45 private EGL10 mEgl; 79 mEgl = (EGL10) EGLContext.getEGL(); 81 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 84 + GLUtils.getEGLErrorString(mEgl.eglGetError())); 88 if (!mEgl.eglInitialize(mEglDisplay, version)) { 90 GLUtils.getEGLErrorString(mEgl.eglGetError())); 106 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) || numConfigs[0] == 0) { 114 mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs); 116 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null); 119 int error = mEgl.eglGetError() [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
SurfaceTextureRenderer.java | 44 private EGL10 mEgl; 59 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 79 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 80 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 81 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, 83 mEgl.eglTerminate(mEglDisplay); 116 mEgl = (EGL10) EGLContext.getEGL(); 117 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 122 if (!mEgl.eglInitialize(mEglDisplay, version)) { 128 mEglConfig = chooseConfig(mEgl, mEglDisplay) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
TextureViewCtsActivity.java | 60 private EGL10 mEgl; 143 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 168 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 170 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 172 mEgl.eglTerminate(mEglDisplay); 207 mEgl = (EGL10) EGLContext.getEGL(); 209 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 212 + GLUtils.getEGLErrorString(mEgl.eglGetError())); 216 if (!mEgl.eglInitialize(mEglDisplay, version)) { 218 GLUtils.getEGLErrorString(mEgl.eglGetError())) [all...] |
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
ColorsGLRenderer.java | 68 private EGL10 mEgl; 135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 145 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 146 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 149 + GLUtils.getEGLErrorString(mEgl.eglGetError())); 155 mEgl = (EGL10) EGLContext.getEGL(); 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 160 + GLUtils.getEGLErrorString(mEgl.eglGetError())); 164 if (!mEgl.eglInitialize(mEglDisplay, version)) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
SingleFrameTextureViewTestActivity.java | 84 private EGL10 mEgl; 105 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 121 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 122 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 126 mEgl = (EGL10) EGLContext.getEGL(); 128 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 131 + GLUtils.getEGLErrorString(mEgl.eglGetError())); 135 if (!mEgl.eglInitialize(mEglDisplay, version)) { 137 GLUtils.getEGLErrorString(mEgl.eglGetError())); 145 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig) [all...] |
GLTextureViewActivity.java | 140 private EGL10 mEgl; 238 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 333 int error = mEgl.eglGetError(); 347 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 348 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 352 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 353 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 356 + GLUtils.getEGLErrorString(mEgl.eglGetError())); 362 mEgl = (EGL10) EGLContext.getEGL() [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
BlockingGLTextureView.java | 108 EGL10 mEgl; 118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { 120 GLUtils.getEGLErrorString(mEgl.eglGetError())); 152 mEgl = (EGL10) EGLContext.getEGL(); 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 167 if (!mEgl.eglInitialize(mEglDisplay, version)) { 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 196 if (mEgl == null) { 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); 222 int error = mEgl.eglGetError() [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
BlockingGLTextureView.java | 108 EGL10 mEgl; 118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { 120 GLUtils.getEGLErrorString(mEgl.eglGetError())); 152 mEgl = (EGL10) EGLContext.getEGL(); 157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 167 if (!mEgl.eglInitialize(mEglDisplay, version)) { 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 196 if (mEgl == null) { 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); 222 int error = mEgl.eglGetError() [all...] |
/packages/apps/Nfc/src/com/android/nfc/beam/ |
FireflyRenderer.java | 158 EGL10 mEgl; 204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 281 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 282 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 285 + GLUtils.getEGLErrorString(mEgl.eglGetError())); 292 mEgl = (EGL10) EGLContext.getEGL(); 294 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 297 GLUtils.getEGLErrorString(mEgl.eglGetError())) [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
ImageFlipRenderThread.java | 94 private EGL10 mEgl; 191 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 286 int error = mEgl.eglGetError(); 300 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 301 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 305 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 306 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 307 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 309 + GLUtils.getEGLErrorString(mEgl.eglGetError())); 315 mEgl = (EGL10) EGLContext.getEGL() [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
RenderTarget.java | 64 private EGL10 mEgl; 119 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); 124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null); 128 checkEglError(mEgl, "eglCreateWindowSurface"); 129 checkSurface(mEgl, eglSurf); 138 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); 143 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceTexture, null); 147 checkEglError(mEgl, "eglCreateWindowSurface"); 148 checkSurface(mEgl, eglSurf); 157 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 126 private EGL10 mEgl; 618 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 715 int error = mEgl.eglGetError(); 733 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 734 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 735 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 736 mEgl.eglTerminate(mEglDisplay); 740 mEgl = (EGL10) EGLContext.getEGL(); 742 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY); 745 GLUtils.getEGLErrorString(mEgl.eglGetError())) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GLSurfaceView.java | [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GLSurfaceViewCustom.java | [all...] |
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/ |
GLSurfaceViewAPI18.java | [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLSurfaceView.java | [all...] |