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

Side by Side Diff: cc/trees/property_tree.h

Issue 1832233002: cc : Use effect tree to determine if a layer is inside replica (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_PROPERTY_TREE_H_ 5 #ifndef CC_TREES_PROPERTY_TREE_H_
6 #define CC_TREES_PROPERTY_TREE_H_ 6 #define CC_TREES_PROPERTY_TREE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <unordered_map> 10 #include <unordered_map>
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 bool has_copy_request; 264 bool has_copy_request;
265 bool has_background_filters; 265 bool has_background_filters;
266 bool is_drawn; 266 bool is_drawn;
267 bool has_animated_opacity; 267 bool has_animated_opacity;
268 // We need to track changes to effects on the compositor to compute damage 268 // We need to track changes to effects on the compositor to compute damage
269 // rect. 269 // rect.
270 bool effect_changed; 270 bool effect_changed;
271 int num_copy_requests_in_subtree; 271 int num_copy_requests_in_subtree;
272 int transform_id; 272 int transform_id;
273 int clip_id; 273 int clip_id;
274 // For a node that creates a render surface, target_id is its own id.
275 int target_id;
274 276
275 bool operator==(const EffectNodeData& other) const; 277 bool operator==(const EffectNodeData& other) const;
276 278
277 void ToProtobuf(proto::TreeNode* proto) const; 279 void ToProtobuf(proto::TreeNode* proto) const;
278 void FromProtobuf(const proto::TreeNode& proto); 280 void FromProtobuf(const proto::TreeNode& proto);
279 }; 281 };
280 282
281 typedef TreeNode<EffectNodeData> EffectNode; 283 typedef TreeNode<EffectNodeData> EffectNode;
282 284
283 struct CC_EXPORT ScrollNodeData { 285 struct CC_EXPORT ScrollNodeData {
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 673
672 private: 674 private:
673 gfx::Vector2dF inner_viewport_container_bounds_delta_; 675 gfx::Vector2dF inner_viewport_container_bounds_delta_;
674 gfx::Vector2dF outer_viewport_container_bounds_delta_; 676 gfx::Vector2dF outer_viewport_container_bounds_delta_;
675 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; 677 gfx::Vector2dF inner_viewport_scroll_bounds_delta_;
676 }; 678 };
677 679
678 } // namespace cc 680 } // namespace cc
679 681
680 #endif // CC_TREES_PROPERTY_TREE_H_ 682 #endif // CC_TREES_PROPERTY_TREE_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698