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

Unified Diff: cc/trees/effect_node.h

Issue 2892103002: Update cc effect node documentation. (Closed)
Patch Set: Remove TODO. 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/layers/render_surface_impl.cc ('k') | cc/trees/effect_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/effect_node.h
diff --git a/cc/trees/effect_node.h b/cc/trees/effect_node.h
index 49dc56fa37a7568d3132bcfe8e258560a9c98162..8079f8982831d79c1dbdd9cd155142fe0346a7fd 100644
--- a/cc/trees/effect_node.h
+++ b/cc/trees/effect_node.h
@@ -51,20 +51,32 @@ struct CC_EXPORT EffectNode {
// TODO(jaydasika) : Delete this after implementation of
// SetHideLayerAndSubtree is cleaned up. (crbug.com/595843)
bool subtree_hidden : 1;
+ // Whether this node has a potentially running (i.e., irrespective
+ // of exact timeline) filter animation.
bool has_potential_filter_animation : 1;
+ // Whether this node has a potentially running (i.e., irrespective
+ // of exact timeline) opacity animation.
bool has_potential_opacity_animation : 1;
+ // Whether this node has a currently running filter animation.
bool is_currently_animating_filter : 1;
+ // Whether this node has a currently running opacity animation.
bool is_currently_animating_opacity : 1;
- // We need to track changes to effects on the compositor to compute damage
- // rect.
+ // Whether this node's effect has been changed since the last
+ // frame. Needed in order to compute damage rect.
bool effect_changed : 1;
bool subtree_has_copy_request : 1;
+ // The transform node index of the transform to apply to this effect
+ // node's content when rendering to a surface.
int transform_id;
+ // The clip node index of the clip to apply to this effect node's
+ // content when rendering to a surface.
int clip_id;
// This is the id of the ancestor effect node that induces a
// RenderSurfaceImpl.
int target_id;
+ // The layer id of the mask layer, if any, to apply to this effect
+ // node's content when rendering to a surface.
int mask_layer_id;
int closest_ancestor_with_copy_request_id;
« no previous file with comments | « cc/layers/render_surface_impl.cc ('k') | cc/trees/effect_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698