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

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

Issue 1800923002: cc: Directly use property trees to calculate clip rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix perftests compile by not verify clip tree calc there 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_settings.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 <memory> 10 #include <memory>
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 bool is_drawn; 284 bool is_drawn;
285 // TODO(jaydasika) : Delete this after implementation of 285 // TODO(jaydasika) : Delete this after implementation of
286 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843) 286 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843)
287 bool subtree_hidden; 287 bool subtree_hidden;
288 bool has_potential_opacity_animation; 288 bool has_potential_opacity_animation;
289 bool is_currently_animating_opacity; 289 bool is_currently_animating_opacity;
290 // We need to track changes to effects on the compositor to compute damage 290 // We need to track changes to effects on the compositor to compute damage
291 // rect. 291 // rect.
292 bool effect_changed; 292 bool effect_changed;
293 int num_copy_requests_in_subtree; 293 int num_copy_requests_in_subtree;
294 bool has_unclipped_descendants;
294 int transform_id; 295 int transform_id;
295 int clip_id; 296 int clip_id;
296 // Effect node id of which this effect contributes to. 297 // Effect node id of which this effect contributes to.
297 int target_id; 298 int target_id;
298 299
299 bool operator==(const EffectNodeData& other) const; 300 bool operator==(const EffectNodeData& other) const;
300 301
301 void ToProtobuf(proto::TreeNode* proto) const; 302 void ToProtobuf(proto::TreeNode* proto) const;
302 void FromProtobuf(const proto::TreeNode& proto); 303 void FromProtobuf(const proto::TreeNode& proto);
303 void AsValueInto(base::trace_event::TracedValue* value) const; 304 void AsValueInto(base::trace_event::TracedValue* value) const;
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 711
711 private: 712 private:
712 gfx::Vector2dF inner_viewport_container_bounds_delta_; 713 gfx::Vector2dF inner_viewport_container_bounds_delta_;
713 gfx::Vector2dF outer_viewport_container_bounds_delta_; 714 gfx::Vector2dF outer_viewport_container_bounds_delta_;
714 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; 715 gfx::Vector2dF inner_viewport_scroll_bounds_delta_;
715 }; 716 };
716 717
717 } // namespace cc 718 } // namespace cc
718 719
719 #endif // CC_TREES_PROPERTY_TREE_H_ 720 #endif // CC_TREES_PROPERTY_TREE_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698