Searched defs:mEgl (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java140 private EGL10 mEgl; field in class:GLTextureViewActivity.RenderThread
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
[all...]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
H A DImageFlipRenderThread.java94 private EGL10 mEgl; field in class:ImageFlipRenderThread
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
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java108 EGL10 mEgl; field in class:BlockingGLTextureView.EglHelper
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
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DRenderTarget.java64 private EGL10 mEgl; field in class:RenderTarget
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, mDispla
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java120 private EGL10 mEgl; field in class:ImageWallpaper.DrawableEngine
643 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
740 int error = mEgl.eglGetError();
758 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
759 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
760 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
761 mEgl.eglTerminate(mEglDisplay);
765 mEgl = (EGL10) EGLContext.getEGL();
767 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
770 GLUtils.getEGLErrorString(mEgl
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1030 mEgl = (EGL10) EGLContext.getEGL();
1035 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
1045 if(!mEgl.eglInitialize(mEglDisplay, version)) {
1053 mEglConfig = view.mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay);
1059 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig);
1085 if (mEgl == null) {
1106 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl,
1113 int error = mEgl.eglGetError();
1124 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1129 logEglErrorAsWarning("EGLHelper", "eglMakeCurrent", mEgl
1234 EGL10 mEgl; field in class:GLSurfaceView.EglHelper
[all...]

Completed in 1826 milliseconds