Home | History | Annotate | Download | only in hwui

Lines Matching refs:mEgl

140         private EGL10 mEgl;
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 = (EGL10) EGLContext.getEGL();
364 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
367 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
371 if (!mEgl.eglInitialize(mEglDisplay, version)) {
373 GLUtils.getEGLErrorString(mEgl.eglGetError()));
381 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
386 int error = mEgl.eglGetError();
395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
397 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
413 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
415 GLUtils.getEGLErrorString(mEgl.eglGetError()));