Lines Matching refs:display
48 eglDestroySurface(display(), it->second.first);
61 eglDestroyContext(display(), it->second);
68 // Destroy display
70 eglTerminate(display());
84 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
90 if (display() != eglGetCurrentDisplay() ||
99 eglMakeCurrent(display(), surface(), surface(), context());
107 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE;
120 (display() != EGL_NO_DISPLAY) &&
135 eglInitialize(display(), &majorVersion, &minorVersion);
156 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs);
167 surfaces_[0] = SurfaceWindowPair(eglCreateWindowSurface(display(), config, window_.get(), NULL), NULL);
172 contexts_[0] = eglCreateContext(display(),
186 && display() == eglGetCurrentDisplay()
228 eglDestroySurface(display(), surface_window_pair->first);
292 eglDestroyContext(display(), *context);
328 ALOGE("EGL Error: Attempting to activate context with bad display!");