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

Unified Diff: cc/trees/effect_node.h

Issue 2110683004: cc: Move filters to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 5 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/draw_property_utils.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 379f98d43c1026dbcc1e7d7cf432d16808cc444f..edb3a072600ab8c20051b2654f5418a0359ae571 100644
--- a/cc/trees/effect_node.h
+++ b/cc/trees/effect_node.h
@@ -33,6 +33,7 @@ struct CC_EXPORT EffectNode {
float opacity;
float screen_space_opacity;
+ FilterOperations filters;
FilterOperations background_filters;
gfx::Vector2dF surface_contents_scale;
@@ -46,7 +47,9 @@ struct CC_EXPORT EffectNode {
// TODO(jaydasika) : Delete this after implementation of
// SetHideLayerAndSubtree is cleaned up. (crbug.com/595843)
bool subtree_hidden;
+ bool has_potential_filter_animation;
bool has_potential_opacity_animation;
+ bool is_currently_animating_filter;
bool is_currently_animating_opacity;
// We need to track changes to effects on the compositor to compute damage
// rect.
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/effect_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698