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

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: rebase 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_occlusion.cc ('k') | cc/trees/occlusion_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 5c2b9c6477fc236b4955197600485444549e740e..9040e5953d0b9e5ed1290efae7b0b4e9d4a6048b 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -867,7 +867,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
@@ -913,7 +913,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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_occlusion.cc ('k') | cc/trees/occlusion_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698