Home | History | Annotate | Download | only in nfc

Lines Matching refs:mEgl

158         EGL10 mEgl;
204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
281 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
282 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
285 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
292 mEgl = (EGL10) EGLContext.getEGL();
294 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
297 GLUtils.getEGLErrorString(mEgl.eglGetError()));
302 if (!mEgl.eglInitialize(mEglDisplay, version)) {
304 GLUtils.getEGLErrorString(mEgl.eglGetError()));
314 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null);
316 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
319 int error = mEgl.eglGetError();
324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
326 GLUtils.getEGLErrorString(mEgl.eglGetError()));
336 if (mEgl == null || mEglDisplay == null) {
341 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE,
345 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
349 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
356 if (!mEgl.eglChooseConfig(mEglDisplay, sEglConfig, configs, 1, configsCount)) {
358 GLUtils.getEGLErrorString(mEgl.eglGetError()));