Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: ui/gl/gl_surface.cc

Issue 592933003: Fix for surfaceless implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove debug code Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.cc
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
index 31b5ab9576242b1beca5b0f17fee5f1724cd943f..620cee7e10ef747d3459571e505cc64310347a76 100644
--- a/ui/gl/gl_surface.cc
+++ b/ui/gl/gl_surface.cc
@@ -235,6 +235,10 @@ bool GLSurface::ScheduleOverlayPlane(int z_order,
return false;
}
+bool GLSurface::IsSurfaceless() const {
+ return false;
+}
+
GLSurface* GLSurface::GetCurrent() {
return current_surface_.Pointer()->Get();
}
@@ -352,6 +356,10 @@ bool GLSurfaceAdapter::ScheduleOverlayPlane(int z_order,
z_order, transform, image, bounds_rect, crop_rect);
}
+bool GLSurfaceAdapter::IsSurfaceless() const {
+ return surface_->IsSurfaceless();
+}
+
GLSurfaceAdapter::~GLSurfaceAdapter() {}
} // namespace gfx
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698