Searched refs:mEgl (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java141 private EGL10 mEgl; field in class:GLTextureViewActivity.RenderThread
236 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
331 int error = mEgl.eglGetError();
345 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
346 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
350 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
351 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
352 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
354 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
360 mEgl
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java114 private EGL10 mEgl; field in class:ImageWallpaper.DrawableEngine
433 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
537 int error = mEgl.eglGetError();
551 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
552 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
553 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
557 mEgl = (EGL10) EGLContext.getEGL();
559 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
562 GLUtils.getEGLErrorString(mEgl.eglGetError()));
566 if (!mEgl
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java991 mEgl = (EGL10) EGLContext.getEGL();
996 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
1006 if(!mEgl.eglInitialize(mEglDisplay, version)) {
1009 mEglConfig = mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay);
1015 mEglContext = mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig);
1038 if (mEgl == null) {
1057 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE,
1059 mEGLWindowSurfaceFactory.destroySurface(mEgl, mEglDisplay, mEglSurface);
1065 mEglSurface = mEGLWindowSurfaceFactory.createWindowSurface(mEgl,
1069 int error = mEgl
1181 EGL10 mEgl; field in class:GLSurfaceView.EglHelper
[all...]

Completed in 167 milliseconds