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

Unified Diff: cc/resources/picture_layer_tiling.cc

Issue 374653003: Track occlusion per tree on Tile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback Created 6 years, 5 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 fb68cbb2fa43fcf1933dfafd8a21f4220781946a..baddcf13cee9627225c7ae47853729930f080b8e 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->set_is_occluded(tree, is_occluded);
}
// Assign soon priority to skewport tiles.

Powered by Google App Engine
This is Rietveld 408576698