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

Unified Diff: cc/trees/transform_node.h

Issue 2895793002: Track transform animation content readiness on TransformNode. (Closed)
Patch Set: 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
Index: cc/trees/transform_node.h
diff --git a/cc/trees/transform_node.h b/cc/trees/transform_node.h
index 2abfb1cc00480b7eb14ed6dab868d15a165a4096..2cdfbbe1ae2c5607d0b4eea74af16e45720dc142 100644
--- a/cc/trees/transform_node.h
+++ b/cc/trees/transform_node.h
@@ -123,6 +123,10 @@ struct CC_EXPORT TransformNode {
// We need to track changes to to_screen transform to compute the damage rect.
bool transform_changed : 1;
+ // Whether all tiles for the animation's content have been ready
+ // since the transform last animated. Only relevant when animated.
+ bool ready_since_animation : 1;
wkorman 2017/05/20 01:31:28 Is there a reason we can't/shouldn't do this on th
pdr. 2017/05/22 17:03:34 Tiles sort of feel like a Layer concept more than
wkorman 2017/05/22 17:18:25 Well, it's already on Layer (well, LayerImpl) toda
enne (OOO) 2017/05/22 18:51:59 Sorry, but I agree strongly with pdr here. Tiles
wkorman 2017/05/22 18:55:52 That's cool, I am happy to rework it. How do you f
+
// TODO(vollick): will be moved when accelerated effects are implemented.
float post_local_scale_factor;

Powered by Google App Engine
This is Rietveld 408576698