365: mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
-
368: + GLUtils.getEGLErrorString(mEgl.eglGetError()));
-
372: if (!mEgl.eglInitialize(mEglDisplay, version)) {
-
374: GLUtils.getEGLErrorString(mEgl.eglGetError()));
-
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()));
-
407: return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
-
414: if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
-
416: GLUtils.getEGLErrorString(mEgl.eglGetError()));
Full Snippet Info