Home | History | Annotate | Download | only in replicaisland

Lines Matching refs:mEgl

925             mEgl = (EGL10) EGLContext.getEGL();
930 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
940 if(!mEgl.eglInitialize(mEglDisplay, version)) {
943 mEglConfig = mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay);
949 mEglContext = mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig);
972 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE,
974 mEGLWindowSurfaceFactory.destroySurface(mEgl, mEglDisplay, mEglSurface);
980 mEglSurface = mEGLWindowSurfaceFactory.createWindowSurface(mEgl,
991 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1019 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
1027 return mEgl.eglGetError() != EGL11.EGL_CONTEXT_LOST;
1032 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE,
1035 mEGLWindowSurfaceFactory.destroySurface(mEgl, mEglDisplay, mEglSurface);
1042 mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext);
1046 mEgl.eglTerminate(mEglDisplay);
1052 throw new RuntimeException(function + " failed: " + mEgl.eglGetError());
1057 EGLContext currentContext = mEgl.eglGetCurrentContext();
1058 return currentContext != EGL10.EGL_NO_CONTEXT && mEgl.eglGetError() != EGL11.EGL_CONTEXT_LOST;
1061 EGL10 mEgl;