/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...] |
/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/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/Launcher3/WallpaperPicker/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/Camera/src/com/android/camera/ |
MosaicPreviewRenderer.java | 59 private EGL10 mEgl; 108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 125 mEgl = (EGL10) EGLContext.getEGL(); 126 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 131 if (!mEgl.eglInitialize(mEglDisplay, version)) { 137 mEglConfig = chooseConfig(mEgl, mEglDisplay); 138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, 144 mEglSurface = mEgl.eglCreateWindowSurface( 150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
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/HwAccelerationTest/src/com/android/test/hwui/ |
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/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 126 private EGL10 mEgl; 556 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 656 int error = mEgl.eglGetError(); 670 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 671 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 672 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 673 mEgl.eglTerminate(mEglDisplay); 677 mEgl = (EGL10) EGLContext.getEGL(); 679 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY); 682 GLUtils.getEGLErrorString(mEgl.eglGetError())) [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...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GLSurfaceView.java | [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GLSurfaceViewCustom.java | [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLSurfaceView.java | [all...] |