Index: cc/trees/property_tree.h |
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h |
index 654b5e481f1f0b8780c98ee7552cb33c680abe95..e4dcaadfe82195fff6db7314c2eb9a189db09cf2 100644 |
--- a/cc/trees/property_tree.h |
+++ b/cc/trees/property_tree.h |
@@ -242,6 +242,10 @@ struct CC_EXPORT EffectNodeData { |
float screen_space_opacity; |
bool has_render_surface; |
+ bool has_copy_request; |
+ bool has_background_filters; |
+ bool is_drawn; |
+ bool screen_space_opacity_is_animating; |
int num_copy_requests_in_subtree; |
int transform_id; |
int clip_id; |
@@ -479,11 +483,14 @@ class CC_EXPORT EffectTree final : public PropertyTree<EffectNode> { |
void ClearCopyRequests(); |
+ bool ContributesToDrawnSurface(int id); |
+ |
void ToProtobuf(proto::PropertyTree* proto) const; |
void FromProtobuf(const proto::PropertyTree& proto); |
private: |
void UpdateOpacities(EffectNode* node, EffectNode* parent_node); |
+ void UpdateIsDrawn(EffectNode* node, EffectNode* parent_node); |
}; |
class CC_EXPORT PropertyTrees final { |