Home | History | Annotate | Download | only in systemui

Lines Matching refs:mEgl

121         private EGL10 mEgl;
490 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
590 int error = mEgl.eglGetError();
604 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
605 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
606 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
607 mEgl.eglTerminate(mEglDisplay);
611 mEgl = (EGL10) EGLContext.getEGL();
613 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
616 GLUtils.getEGLErrorString(mEgl.eglGetError()));
620 if (!mEgl.eglInitialize(mEglDisplay, version)) {
622 GLUtils.getEGLErrorString(mEgl.eglGetError()));
630 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
633 GLUtils.getEGLErrorString(mEgl.eglGetError()));
641 EGLSurface tmpSurface = mEgl.eglCreatePbufferSurface(mEglDisplay, mEglConfig, attribs);
642 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext);
648 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
649 mEgl.eglDestroySurface(mEglDisplay, tmpSurface);
652 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
653 mEgl.eglTerminate(mEglDisplay);
660 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);
662 int error = mEgl.eglGetError();
672 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
674 GLUtils.getEGLErrorString(mEgl.eglGetError()));
690 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
692 GLUtils.getEGLErrorString(mEgl.eglGetError()));