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

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 350183005: cc: update scaled transform to occlusion tracker during append quad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased to TOT Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index 3694e7c78c6d363ea99f0af904f74027a40bacb4..8624788e1e78034fb9f89effc1bfb9fec3ff0f8a 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -178,7 +178,7 @@ void PictureLayerImpl::AppendQuads(
gfx::Rect geometry_rect = rect;
gfx::Rect opaque_rect = contents_opaque() ? geometry_rect : gfx::Rect();
gfx::Rect visible_geometry_rect = occlusion_tracker.UnoccludedContentRect(
- geometry_rect, draw_transform());
+ geometry_rect, scaled_draw_transform);
if (visible_geometry_rect.IsEmpty())
return;
@@ -264,7 +264,7 @@ void PictureLayerImpl::AppendQuads(
++iter) {
gfx::Rect geometry_rect = iter.geometry_rect();
gfx::Rect visible_geometry_rect = occlusion_tracker.UnoccludedContentRect(
- geometry_rect, draw_transform());
+ geometry_rect, scaled_draw_transform);
if (visible_geometry_rect.IsEmpty())
continue;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698