/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | SingleFrameTextureViewTestActivity.java | 84 private EGL10 mEgl; in onSurfaceTextureAvailable() 105 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in onSurfaceTextureAvailable() 121 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in onSurfaceTextureAvailable() 122 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in onSurfaceTextureAvailable() 126 mEgl = (EGL10) EGLContext.getEGL(); in onSurfaceTextureAvailable() 128 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in onSurfaceTextureAvailable() 131 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in onSurfaceTextureAvailable() 135 if (!mEgl.eglInitialize(mEglDisplay, version)) { in onSurfaceTextureAvailable() 137 GLUtils.getEGLErrorString(mEgl.eglGetError())); in onSurfaceTextureAvailable() 145 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in onSurfaceTextureAvailable() [all …]
|
D | GLTextureViewActivity.java | 140 private EGL10 mEgl; field in GLTextureViewActivity.RenderThread 238 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in run() 333 int error = mEgl.eglGetError(); in checkEglError() 347 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL() 348 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in finishGL() 352 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 353 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent() 354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 356 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in checkCurrent() 362 mEgl = (EGL10) EGLContext.getEGL(); in initGL() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 108 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 …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
D | ImageFlipRenderThread.java | 94 private EGL10 mEgl; field in ImageFlipRenderThread 191 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { in run() 286 int error = mEgl.eglGetError(); in checkEglError() 300 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL() 301 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); in finishGL() 305 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 306 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent() 307 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 309 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in checkCurrent() 315 mEgl = (EGL10) EGLContext.getEGL(); in initGL() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 64 private EGL10 mEgl; field in RenderTarget 119 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurfaceHolder() 124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null); in forSurfaceHolder() 128 checkEglError(mEgl, "eglCreateWindowSurface"); in forSurfaceHolder() 129 checkSurface(mEgl, eglSurf); in forSurfaceHolder() 138 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurfaceTexture() 143 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceTexture, null); in forSurfaceTexture() 147 checkEglError(mEgl, "eglCreateWindowSurface"); in forSurfaceTexture() 148 checkSurface(mEgl, eglSurf); in forSurfaceTexture() 157 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurface() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 1031 mEgl = (EGL10) EGLContext.getEGL(); in start() 1036 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in start() 1046 if(!mEgl.eglInitialize(mEglDisplay, version)) { in start() 1054 mEglConfig = view.mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay); in start() 1060 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); in start() 1086 if (mEgl == null) { in createSurface() 1107 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl, in createSurface() 1114 int error = mEgl.eglGetError(); in createSurface() 1125 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface() 1130 logEglErrorAsWarning("EGLHelper", "eglMakeCurrent", mEgl.eglGetError()); in createSurface() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 48389 Landroid/opengl/GLSurfaceView$EglHelper;->mEgl:Ljavax/microedition/khronos/egl/EGL10;
|