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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 187043004: cc: Remove impl_transform_is_unknown argument from OcclusionTracker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: occlusionparams2: perftest Created 6 years, 10 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/layers/tiled_layer.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_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index cad33714360e2187239e690028ac4d31f9678e33..94d7aadb2ed50c9408f6b3df53bf2a3652ef5cf3 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -816,12 +816,9 @@ DrawSwapReadbackResult::DrawResult LayerTreeHostImpl::CalculateRenderPasses(
&append_quads_data);
} else if (it.represents_itself() && it->DrawsContent() &&
!it->visible_content_rect().IsEmpty()) {
- bool impl_draw_transform_is_unknown = false;
- bool occluded = occlusion_tracker.Occluded(
- it->render_target(),
- it->visible_content_rect(),
- it->draw_transform(),
- impl_draw_transform_is_unknown);
+ bool occluded = occlusion_tracker.Occluded(it->render_target(),
+ it->visible_content_rect(),
+ it->draw_transform());
if (!occluded && it->WillDraw(draw_mode, resource_provider_.get())) {
DCHECK_EQ(active_tree_, it->layer_tree_impl());
« no previous file with comments | « cc/layers/tiled_layer.cc ('k') | cc/trees/occlusion_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698