Lines Matching refs:mEgl
84 private EGL10 mEgl;
105 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
121 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
122 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
126 mEgl = (EGL10) EGLContext.getEGL();
128 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
131 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
135 if (!mEgl.eglInitialize(mEglDisplay, version)) {
137 GLUtils.getEGLErrorString(mEgl.eglGetError()));
145 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
147 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null);
150 int error = mEgl.eglGetError();
159 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
161 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
175 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
177 GLUtils.getEGLErrorString(mEgl.eglGetError()));