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

Unified Diff: cc/tiles/tiling_set_raster_queue_all.cc

Issue 2899403003: cc: Give non-drawing layers that are rasterized a lower priority. (Closed)
Patch Set: type Created 3 years, 7 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/tiles/tiling_set_raster_queue_all.h ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tiling_set_raster_queue_all.cc
diff --git a/cc/tiles/tiling_set_raster_queue_all.cc b/cc/tiles/tiling_set_raster_queue_all.cc
index adae8a8dfbe8dc14102698fd7fa462c272fce841..f2c19165f7766e7d3b503ccfe7f334999eddf282 100644
--- a/cc/tiles/tiling_set_raster_queue_all.cc
+++ b/cc/tiles/tiling_set_raster_queue_all.cc
@@ -22,8 +22,11 @@ TilingSetRasterQueueAll::IterationStage::IterationStage(
TilingSetRasterQueueAll::TilingSetRasterQueueAll(
PictureLayerTilingSet* tiling_set,
- bool prioritize_low_res)
- : tiling_set_(tiling_set), current_stage_(0) {
+ bool prioritize_low_res,
+ bool is_drawing_layer)
+ : tiling_set_(tiling_set),
+ current_stage_(0),
+ is_drawing_layer_(is_drawing_layer) {
DCHECK(tiling_set_);
// Early out if the tiling set has no tilings.
« no previous file with comments | « cc/tiles/tiling_set_raster_queue_all.h ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698