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

Unified Diff: cc/trees/layer_tree_settings.cc

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: remove include Created 3 years, 10 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 | « cc/trees/layer_tree_settings.h ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_settings.cc
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc
index 166d79c8ce7a95f7a560230fc225df6e8b083be4..6890bbb828e0bb7f5e44c60e0b654c9f001474cd 100644
--- a/cc/trees/layer_tree_settings.cc
+++ b/cc/trees/layer_tree_settings.cc
@@ -95,4 +95,13 @@ SchedulerSettings LayerTreeSettings::ToSchedulerSettings() const {
return scheduler_settings;
}
+TileManagerSettings LayerTreeSettings::ToTileManagerSettings() const {
+ TileManagerSettings tile_manager_settings;
+ tile_manager_settings.use_partial_raster = use_partial_raster;
+ tile_manager_settings.check_tile_priority_inversion =
+ check_tile_priority_inversion;
+ tile_manager_settings.enable_checker_imaging = enable_checker_imaging;
+ return tile_manager_settings;
+}
+
} // namespace cc
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698