OLD | NEW |
---|---|
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 <vector> | 10 #include <vector> |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 // root is flat. | 111 // root is flat. |
112 bool node_and_ancestors_are_flat : 1; | 112 bool node_and_ancestors_are_flat : 1; |
113 | 113 |
114 // This is needed to know if a layer can use lcd text. | 114 // This is needed to know if a layer can use lcd text. |
115 bool node_and_ancestors_have_only_integer_translation : 1; | 115 bool node_and_ancestors_have_only_integer_translation : 1; |
116 | 116 |
117 bool scrolls : 1; | 117 bool scrolls : 1; |
118 | 118 |
119 bool needs_sublayer_scale : 1; | 119 bool needs_sublayer_scale : 1; |
120 | 120 |
121 bool is_3d_sorted : 1; | |
weiliangc
2016/01/25 21:29:26
Can we have 3d rendering context within 3d renderi
ajuma
2016/01/25 21:53:00
Looking at PaintLayer::renderingContextRoot (the i
| |
122 | |
121 // These are used to position nodes wrt the right or bottom of the inner or | 123 // These are used to position nodes wrt the right or bottom of the inner or |
122 // outer viewport. | 124 // outer viewport. |
123 bool affected_by_inner_viewport_bounds_delta_x : 1; | 125 bool affected_by_inner_viewport_bounds_delta_x : 1; |
124 bool affected_by_inner_viewport_bounds_delta_y : 1; | 126 bool affected_by_inner_viewport_bounds_delta_y : 1; |
125 bool affected_by_outer_viewport_bounds_delta_x : 1; | 127 bool affected_by_outer_viewport_bounds_delta_x : 1; |
126 bool affected_by_outer_viewport_bounds_delta_y : 1; | 128 bool affected_by_outer_viewport_bounds_delta_y : 1; |
127 | 129 |
128 // Layer scale factor is used as a fallback when we either cannot adjust | 130 // Layer scale factor is used as a fallback when we either cannot adjust |
129 // raster scale or if the raster scale cannot be extracted from the screen | 131 // raster scale or if the raster scale cannot be extracted from the screen |
130 // space transform. For layers in the subtree of the page scale layer, the | 132 // space transform. For layers in the subtree of the page scale layer, the |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
529 ClipTree clip_tree; | 531 ClipTree clip_tree; |
530 ScrollTree scroll_tree; | 532 ScrollTree scroll_tree; |
531 bool needs_rebuild; | 533 bool needs_rebuild; |
532 bool non_root_surfaces_enabled; | 534 bool non_root_surfaces_enabled; |
533 int sequence_number; | 535 int sequence_number; |
534 }; | 536 }; |
535 | 537 |
536 } // namespace cc | 538 } // namespace cc |
537 | 539 |
538 #endif // CC_TREES_PROPERTY_TREE_H_ | 540 #endif // CC_TREES_PROPERTY_TREE_H_ |
OLD | NEW |