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

Unified Diff: cc/resources/picture_layer_tiling.cc

Issue 343463004: Move occlusion info to TilePriority. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/picture_layer_tiling.cc
diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc
index 33e9038d4a2f30bff6bd3bad17bd1ece0286074a..6ad278ac4b4a89025d409e9145acb580f36b467e 100644
--- a/cc/resources/picture_layer_tiling.cc
+++ b/cc/resources/picture_layer_tiling.cc
@@ -495,7 +495,7 @@ void PictureLayerTiling::UpdateTilePriorities(
is_occluded = occlusion_tracker->Occluded(
render_target, tile_query_rect, draw_transform);
}
- tile->set_is_occluded(is_occluded);
+ tile->SetIsOccluded(tree, is_occluded);
vmpstr 2014/06/17 23:42:10 I don't really like the fact that this is very bri
jbedley 2014/06/18 23:00:39 Yes, is_occluded works in the constructor. I remov
}
// Assign soon priority to skewport tiles.

Powered by Google App Engine
This is Rietveld 408576698