Home | History | Annotate | Download | only in views

Lines Matching refs:mEgl

108         EGL10 mEgl;
118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
120 GLUtils.getEGLErrorString(mEgl.eglGetError()));
152 mEgl = (EGL10) EGLContext.getEGL();
157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
167 if (!mEgl.eglInitialize(mEglDisplay, version)) {
176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
196 if (mEgl == null) {
216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null);
222 int error = mEgl.eglGetError();
233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
238 logEglErrorAsWarning("EGLHelper", "eglMakeCurrent", mEgl.eglGetError());
257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
258 return mEgl.eglGetError();
269 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE,
272 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
279 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
283 mEgl.eglTerminate(mEglDisplay);
289 throwEglException(function, mEgl.eglGetError());