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

Unified Diff: cc/tiles/tiling_set_eviction_queue.cc

Issue 2910303002: cc: Keep tile eviction prioritization consistent with raster priorities. (Closed)
Patch Set: 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_eviction_queue.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tiling_set_eviction_queue.cc
diff --git a/cc/tiles/tiling_set_eviction_queue.cc b/cc/tiles/tiling_set_eviction_queue.cc
index da09e3192e991f1bf4bee73da5f08f43fa112f35..5ba7913cecf875c54fc7df7ca03b7387dafb9204 100644
--- a/cc/tiles/tiling_set_eviction_queue.cc
+++ b/cc/tiles/tiling_set_eviction_queue.cc
@@ -11,8 +11,11 @@
namespace cc {
TilingSetEvictionQueue::TilingSetEvictionQueue(
- PictureLayerTilingSet* tiling_set)
- : tree_(tiling_set->tree()), phase_(EVENTUALLY_RECT) {
+ PictureLayerTilingSet* tiling_set,
+ bool is_drawing_layer)
+ : tree_(tiling_set->tree()),
+ phase_(EVENTUALLY_RECT),
+ is_drawing_layer_(is_drawing_layer) {
// Early out if the layer has no tilings.
if (!tiling_set->num_tilings())
return;
« no previous file with comments | « cc/tiles/tiling_set_eviction_queue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698