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

Unified Diff: cc/trees/property_tree.h

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress Created 5 years, 9 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') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index 404f498d4e3ca9ef4a0daeed0b2ca4101a756305..cb00e8adc5247fb777c48683a04d0ddf93d87764 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -69,7 +69,13 @@ struct CC_EXPORT TransformNodeData {
bool is_animated;
bool to_screen_is_animated;
- bool flattens;
+ // We don't necessarily create a transform node to apply flattening. If we've
+ // skipped flattening for an ancestor, we must flatten the transform we
+ // inherit, but we don't necessarily need to flatten our local transform. We
+ // must therefore use two values to describe the flattening required for the
+ // local and inherited transforms.
+ bool flattens_inherited_transform;
+ bool flattens_local_transform;
bool scrolls;
bool needs_sublayer_scale;
« no previous file with comments | « cc/trees/occlusion_tracker_unittest.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698