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

Unified Diff: cc/trees/transform_node.h

Issue 2883713002: Document some transform node animation fields. (Closed)
Patch Set: Sync to head. Created 3 years, 7 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/README.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/transform_node.h
diff --git a/cc/trees/transform_node.h b/cc/trees/transform_node.h
index 76f2a7c2ffc3a6c0eda666721c547d71d6955196..2abfb1cc00480b7eb14ed6dab868d15a165a4096 100644
--- a/cc/trees/transform_node.h
+++ b/cc/trees/transform_node.h
@@ -69,14 +69,27 @@ struct CC_EXPORT TransformNode {
// TODO(vollick): will be moved when accelerated effects are implemented.
bool needs_local_transform_update : 1;
+ // Whether this node or any ancestor has a potentially running
+ // (i.e., irrespective of exact timeline) transform animation or an
+ // invertible transform.
bool node_and_ancestors_are_animated_or_invertible : 1;
bool is_invertible : 1;
+ // Whether the transform from this node to the screen is
+ // invertible.
bool ancestors_are_invertible : 1;
+ // Whether this node has a potentially running (i.e., irrespective
+ // of exact timeline) transform animation.
bool has_potential_animation : 1;
+ // Whether this node has a currently running transform animation.
bool is_currently_animating : 1;
+ // Whether this node *or an ancestor* has a potentially running
+ // (i.e., irrespective of exact timeline) transform
+ // animation.
bool to_screen_is_potentially_animated : 1;
+ // Whether all animations on this transform node are simple
+ // translations.
bool has_only_translation_animations : 1;
// Flattening, when needed, is only applied to a node's inherited transform,
« no previous file with comments | « cc/README.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698