Home | History | Annotate | Download | only in gl

Lines Matching refs:surface_

65         surface_(surface) {
76 g_display, surface_, &u_system_time,
91 EGLSurface surface_;
238 surface_(NULL),
260 DCHECK(!surface_);
285 surface_ = eglCreateWindowSurface(
288 if (!surface_) {
297 surface_,
305 vsync_provider_.reset(new EGLSyncControlVSyncProvider(surface_));
310 if (surface_) {
311 if (!eglDestroySurface(GetDisplay(), surface_)) {
315 surface_ = NULL;
405 if (!eglSwapBuffers(GetDisplay(), surface_)) {
417 if (!eglQuerySurface(GetDisplay(), surface_, EGL_WIDTH, &width) ||
418 !eglQuerySurface(GetDisplay(), surface_, EGL_HEIGHT, &height)) {
463 return surface_;
473 if (!eglPostSubBufferNV(GetDisplay(), surface_, x, y, width, height)) {
494 surface_ = surface;
499 surface_(NULL) {
507 EGLSurface old_surface = surface_;
537 surface_ = new_surface;
542 if (surface_) {
543 if (!eglDestroySurface(GetDisplay(), surface_)) {
547 surface_ = NULL;
592 return surface_;