| 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 #include "base/trace_event/trace_event_argument.h" | 5 #include "base/trace_event/trace_event_argument.h" |
| 6 #include "cc/base/math_util.h" | 6 #include "cc/base/math_util.h" |
| 7 #include "cc/layers/layer.h" | 7 #include "cc/layers/layer.h" |
| 8 #include "cc/proto/gfx_conversions.h" | |
| 9 #include "cc/trees/property_tree.h" | 8 #include "cc/trees/property_tree.h" |
| 10 #include "cc/trees/transform_node.h" | 9 #include "cc/trees/transform_node.h" |
| 11 #include "ui/gfx/geometry/point3_f.h" | 10 #include "ui/gfx/geometry/point3_f.h" |
| 12 | 11 |
| 13 namespace cc { | 12 namespace cc { |
| 14 | 13 |
| 15 TransformNode::TransformNode() | 14 TransformNode::TransformNode() |
| 16 : id(TransformTree::kInvalidNodeId), | 15 : id(TransformTree::kInvalidNodeId), |
| 17 parent_id(TransformTree::kInvalidNodeId), | 16 parent_id(TransformTree::kInvalidNodeId), |
| 18 owning_layer_id(Layer::INVALID_ID), | 17 owning_layer_id(Layer::INVALID_ID), |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 127 |
| 129 bool TransformCachedNodeData::operator==( | 128 bool TransformCachedNodeData::operator==( |
| 130 const TransformCachedNodeData& other) const { | 129 const TransformCachedNodeData& other) const { |
| 131 return from_screen == other.from_screen && to_screen == other.to_screen && | 130 return from_screen == other.from_screen && to_screen == other.to_screen && |
| 132 target_id == other.target_id && | 131 target_id == other.target_id && |
| 133 content_target_id == other.content_target_id && | 132 content_target_id == other.content_target_id && |
| 134 is_showing_backface == other.is_showing_backface; | 133 is_showing_backface == other.is_showing_backface; |
| 135 } | 134 } |
| 136 | 135 |
| 137 } // namespace cc | 136 } // namespace cc |
| OLD | NEW |