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

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

Issue 1864183002: cc: Main thread skip single layers instead of subtrees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Format the comments 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // context. 105 // context.
106 int sorting_context_id; 106 int sorting_context_id;
107 107
108 // TODO(vollick): will be moved when accelerated effects are implemented. 108 // TODO(vollick): will be moved when accelerated effects are implemented.
109 bool needs_local_transform_update : 1; 109 bool needs_local_transform_update : 1;
110 110
111 bool is_invertible : 1; 111 bool is_invertible : 1;
112 bool ancestors_are_invertible : 1; 112 bool ancestors_are_invertible : 1;
113 113
114 bool is_animated : 1; 114 bool is_animated : 1;
115 bool to_screen_is_animated : 1; 115 bool to_screen_is_potentially_animated : 1;
116 bool has_only_translation_animations : 1; 116 bool has_only_translation_animations : 1;
117 bool to_screen_has_scale_animation : 1; 117 bool to_screen_has_scale_animation : 1;
118 118
119 // Flattening, when needed, is only applied to a node's inherited transform, 119 // Flattening, when needed, is only applied to a node's inherited transform,
120 // never to its local transform. 120 // never to its local transform.
121 bool flattens_inherited_transform : 1; 121 bool flattens_inherited_transform : 1;
122 122
123 // This is true if the to_parent transform at every node on the path to the 123 // This is true if the to_parent transform at every node on the path to the
124 // root is flat. 124 // root is flat.
125 bool node_and_ancestors_are_flat : 1; 125 bool node_and_ancestors_are_flat : 1;
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 678
679 private: 679 private:
680 gfx::Vector2dF inner_viewport_container_bounds_delta_; 680 gfx::Vector2dF inner_viewport_container_bounds_delta_;
681 gfx::Vector2dF outer_viewport_container_bounds_delta_; 681 gfx::Vector2dF outer_viewport_container_bounds_delta_;
682 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; 682 gfx::Vector2dF inner_viewport_scroll_bounds_delta_;
683 }; 683 };
684 684
685 } // namespace cc 685 } // namespace cc
686 686
687 #endif // CC_TREES_PROPERTY_TREE_H_ 687 #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