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

Unified Diff: cc/trees/quad_culler.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/trees/occlusion_tracker_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/quad_culler.cc
diff --git a/cc/trees/quad_culler.cc b/cc/trees/quad_culler.cc
index 9ff2dcc9a0bb10467da9fa941fea97557985f6ea..f4a8e27c93220e7f317b7ff12f1f0d36198c6548 100644
--- a/cc/trees/quad_culler.cc
+++ b/cc/trees/quad_culler.cc
@@ -84,17 +84,14 @@ bool QuadCuller::Append(scoped_ptr<DrawQuad> draw_quad,
DCHECK(shared_quad_state_list_->back() == current_shared_quad_state_);
gfx::Rect culled_rect;
- bool impl_draw_transform_is_unknown = false;
-
if (for_surface_) {
culled_rect = occlusion_tracker_.UnoccludedContributingSurfaceContentRect(
layer_, false, draw_quad->visible_rect);
} else {
- culled_rect = occlusion_tracker_.UnoccludedContentRect(
- layer_->render_target(),
- draw_quad->visible_rect,
- draw_quad->quadTransform(),
- impl_draw_transform_is_unknown);
+ culled_rect =
+ occlusion_tracker_.UnoccludedContentRect(layer_->render_target(),
+ draw_quad->visible_rect,
+ draw_quad->quadTransform());
}
return AppendQuadInternal(draw_quad.Pass(),
« no previous file with comments | « cc/trees/occlusion_tracker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698