Home | History | Annotate | Download | only in hwui

Lines Matching refs:mEgl

141         private EGL10 mEgl;
239 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
334 int error = mEgl.eglGetError();
348 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
349 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
353 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
354 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
355 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
357 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
363 mEgl = (EGL10) EGLContext.getEGL();
365 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
368 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
372 if (!mEgl.eglInitialize(mEglDisplay, version)) {
374 GLUtils.getEGLErrorString(mEgl.eglGetError()));
382 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
384 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
387 int error = mEgl.eglGetError();
396 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
398 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
414 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
416 GLUtils.getEGLErrorString(mEgl.eglGetError()));