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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1868003002: cc: Move RenderTarget Information to Effect Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 5525263d385696fbb63b68bc73b9100a0c80ee38..aba08539075b9991b311b40750658bd9dbf15009 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -860,7 +860,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) {
it != end; ++it) {
occlusion_tracker.EnterLayer(it);
- bool inside_replica = it->render_target()->InsideReplica();
+ bool inside_replica = it->InsideReplica();
// Don't use occlusion if a layer will appear in a replica, since the
// tile raster code does not know how to look for the replica and would
@@ -906,7 +906,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) {
}
unoccluded_screen_space_region_ =
- occlusion_tracker.ComputeVisibleRegionInScreen();
+ occlusion_tracker.ComputeVisibleRegionInScreen(this);
}
// It'd be ideal if this could be done earlier, but when the raster source

Powered by Google App Engine
This is Rietveld 408576698