OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ | 5 #ifndef CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ |
6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ | 6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 std::unique_ptr<LayerImpl> RemoveChild(LayerImpl* child); | 30 std::unique_ptr<LayerImpl> RemoveChild(LayerImpl* child); |
31 void SetMaskLayer(std::unique_ptr<LayerImpl> mask); | 31 void SetMaskLayer(std::unique_ptr<LayerImpl> mask); |
32 | 32 |
33 LayerImpl* owning_layer; | 33 LayerImpl* owning_layer; |
34 bool double_sided; | 34 bool double_sided; |
35 bool force_render_surface; | 35 bool force_render_surface; |
36 bool is_container_for_fixed_position_layers; | 36 bool is_container_for_fixed_position_layers; |
37 bool should_flatten_transform; | 37 bool should_flatten_transform; |
38 bool hide_layer_and_subtree; | 38 bool hide_layer_and_subtree; |
39 bool opacity_can_animate; | 39 bool opacity_can_animate; |
40 int num_descendants_that_draw_content; | |
41 int sorting_context_id; | 40 int sorting_context_id; |
42 size_t num_unclipped_descendants; | |
43 float opacity; | 41 float opacity; |
44 FilterOperations filters; | 42 FilterOperations filters; |
45 FilterOperations background_filters; | 43 FilterOperations background_filters; |
46 gfx::PointF filters_origin; | 44 gfx::PointF filters_origin; |
47 SkBlendMode blend_mode; | 45 SkBlendMode blend_mode; |
48 LayerPositionConstraint position_constraint; | 46 LayerPositionConstraint position_constraint; |
49 LayerStickyPositionConstraint sticky_position_constraint; | 47 LayerStickyPositionConstraint sticky_position_constraint; |
50 gfx::Point3F transform_origin; | 48 gfx::Point3F transform_origin; |
51 gfx::Transform transform; | 49 gfx::Transform transform; |
52 LayerImpl* scroll_parent; | 50 LayerImpl* scroll_parent; |
53 std::unique_ptr<std::set<LayerImpl*>> scroll_children; | 51 std::unique_ptr<std::set<LayerImpl*>> scroll_children; |
54 LayerImpl* clip_parent; | 52 LayerImpl* clip_parent; |
55 std::unique_ptr<std::set<LayerImpl*>> clip_children; | 53 std::unique_ptr<std::set<LayerImpl*>> clip_children; |
56 std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests; | 54 std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests; |
57 LayerImplList children; | 55 LayerImplList children; |
58 LayerImpl* mask_layer; | 56 LayerImpl* mask_layer; |
59 LayerImpl* parent; | 57 LayerImpl* parent; |
60 }; | 58 }; |
61 | 59 |
62 } // namespace cc | 60 } // namespace cc |
63 | 61 |
64 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ | 62 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ |
OLD | NEW |