Home | History | Annotate | Download | only in nfc

Lines Matching refs:mEgl

158         EGL10 mEgl;
203 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
229 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
280 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
281 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
282 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
284 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
291 mEgl = (EGL10) EGLContext.getEGL();
293 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
296 GLUtils.getEGLErrorString(mEgl.eglGetError()));
301 if (!mEgl.eglInitialize(mEglDisplay, version)) {
303 GLUtils.getEGLErrorString(mEgl.eglGetError()));
313 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null);
315 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
318 int error = mEgl.eglGetError();
323 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
325 GLUtils.getEGLErrorString(mEgl.eglGetError()));
335 if (mEgl == null || mEglDisplay == null) {
340 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE,
344 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
348 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
355 if (!mEgl.eglChooseConfig(mEglDisplay, sEglConfig, configs, 1, configsCount)) {
357 GLUtils.getEGLErrorString(mEgl.eglGetError()));