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

Unified Diff: cc/resources/raster_tile_priority_queue.h

Issue 541843002: cc: Optimise shared raster tile handling in raster tile priority queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: cc/resources/raster_tile_priority_queue.h
diff --git a/cc/resources/raster_tile_priority_queue.h b/cc/resources/raster_tile_priority_queue.h
index bbfaafddef383a9e9f1e95a8f8815e8c26a8dfbd..3bca52babba391640bf62d43a48ca68a27b19041 100644
--- a/cc/resources/raster_tile_priority_queue.h
+++ b/cc/resources/raster_tile_priority_queue.h
@@ -30,9 +30,12 @@ class CC_EXPORT RasterTilePriorityQueue {
PictureLayerImpl::LayerRasterTileIterator active_iterator;
PictureLayerImpl::LayerRasterTileIterator pending_iterator;
+ bool has_both_layers;
+#if DCHECK_IS_ON
// TODO(vmpstr): Investigate removing this.
std::vector<Tile*> returned_shared_tiles;
+#endif
};
RasterTilePriorityQueue();
« no previous file with comments | « no previous file | cc/resources/raster_tile_priority_queue.cc » ('j') | cc/resources/raster_tile_priority_queue.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698