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

Unified Diff: cc/trees/property_tree.h

Issue 1947683007: cc : Add subtree is hidden bool to effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/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 8b94fe9c3bdcb67dedadb5e5ef2693bbdf699999..64247f02cc0edfbc9dc543c20caa99b6994ad739 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -270,6 +270,9 @@ struct CC_EXPORT EffectNodeData {
bool hidden_by_backface_visibility;
bool double_sided;
bool is_drawn;
+ // TODO(jaydasika) : Delete this after implementation of
+ // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843)
+ bool subtree_hidden;
bool has_animated_opacity;
// We need to track changes to effects on the compositor to compute damage
// rect.
@@ -548,6 +551,8 @@ class CC_EXPORT EffectTree final : public PropertyTree<EffectNode> {
public:
bool operator==(const EffectTree& other) const;
+ float EffectiveOpacity(const EffectNode* node) const;
+
void UpdateEffects(int id);
void UpdateEffectChanged(EffectNode* node, EffectNode* parent_node);
« 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