OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #include "cc/layers/layer_impl.h" | 5 #include "cc/layers/layer_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 should_flatten_transform_from_property_tree_(false), | 60 should_flatten_transform_from_property_tree_(false), |
61 layer_property_changed_(false), | 61 layer_property_changed_(false), |
62 may_contain_video_(false), | 62 may_contain_video_(false), |
63 masks_to_bounds_(false), | 63 masks_to_bounds_(false), |
64 contents_opaque_(false), | 64 contents_opaque_(false), |
65 use_parent_backface_visibility_(false), | 65 use_parent_backface_visibility_(false), |
66 use_local_transform_for_backface_visibility_(false), | 66 use_local_transform_for_backface_visibility_(false), |
67 should_check_backface_visibility_(false), | 67 should_check_backface_visibility_(false), |
68 draws_content_(false), | 68 draws_content_(false), |
69 contributes_to_drawn_render_surface_(false), | 69 contributes_to_drawn_render_surface_(false), |
70 was_ever_ready_since_last_transform_animation_(true), | |
71 viewport_layer_type_(NOT_VIEWPORT_LAYER), | 70 viewport_layer_type_(NOT_VIEWPORT_LAYER), |
72 background_color_(0), | 71 background_color_(0), |
73 safe_opaque_background_color_(0), | 72 safe_opaque_background_color_(0), |
74 transform_tree_index_(TransformTree::kInvalidNodeId), | 73 transform_tree_index_(TransformTree::kInvalidNodeId), |
75 effect_tree_index_(EffectTree::kInvalidNodeId), | 74 effect_tree_index_(EffectTree::kInvalidNodeId), |
76 clip_tree_index_(ClipTree::kInvalidNodeId), | 75 clip_tree_index_(ClipTree::kInvalidNodeId), |
77 scroll_tree_index_(ScrollTree::kInvalidNodeId), | 76 scroll_tree_index_(ScrollTree::kInvalidNodeId), |
78 current_draw_mode_(DRAW_MODE_NONE), | 77 current_draw_mode_(DRAW_MODE_NONE), |
79 mutable_properties_(MutableProperty::kNone), | 78 mutable_properties_(MutableProperty::kNone), |
80 debug_info_(nullptr), | 79 debug_info_(nullptr), |
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 | 979 |
981 ScrollTree& LayerImpl::GetScrollTree() const { | 980 ScrollTree& LayerImpl::GetScrollTree() const { |
982 return GetPropertyTrees()->scroll_tree; | 981 return GetPropertyTrees()->scroll_tree; |
983 } | 982 } |
984 | 983 |
985 TransformTree& LayerImpl::GetTransformTree() const { | 984 TransformTree& LayerImpl::GetTransformTree() const { |
986 return GetPropertyTrees()->transform_tree; | 985 return GetPropertyTrees()->transform_tree; |
987 } | 986 } |
988 | 987 |
989 } // namespace cc | 988 } // namespace cc |
OLD | NEW |