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

Unified Diff: ui/gl/gl_surface.cc

Issue 2736643004: Add DCLayerOverlayProcessor and supporting DCLayer structures. (Closed)
Patch Set: split CALayerOverlay into DCLayerOverlay Created 3 years, 9 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') | no next file » | 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 9bddfd3314750e54154574eda5581a668a0d7dfc..eb1c66b2531b5f77b9f902659321cf09e7d84361 100644
--- a/ui/gl/gl_surface.cc
+++ b/ui/gl/gl_surface.cc
@@ -156,6 +156,11 @@ void GLSurface::ScheduleCALayerInUseQuery(
NOTIMPLEMENTED();
}
+bool GLSurface::ScheduleDCLayer(const ui::DCRendererLayerParams& params) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
bool GLSurface::IsSurfaceless() const {
return false;
}
@@ -349,6 +354,11 @@ bool GLSurfaceAdapter::ScheduleOverlayPlane(int z_order,
z_order, transform, image, bounds_rect, crop_rect);
}
+bool GLSurfaceAdapter::ScheduleDCLayer(
+ const ui::DCRendererLayerParams& params) {
+ return surface_->ScheduleDCLayer(params);
+}
+
bool GLSurfaceAdapter::IsSurfaceless() const {
return surface_->IsSurfaceless();
}
« no previous file with comments | « ui/gl/gl_surface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698