OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "mojo/services/gfx/composition/cpp/formatting.h" | 5 #include "mojo/services/gfx/composition/cpp/formatting.h" |
6 | 6 |
7 #include <ostream> | 7 #include <ostream> |
8 | 8 |
9 namespace mojo { | 9 namespace mojo { |
10 namespace gfx { | 10 namespace gfx { |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 233 |
234 std::ostream& operator<<(std::ostream& os, | 234 std::ostream& operator<<(std::ostream& os, |
235 const mojo::gfx::composition::SceneHit& value) { | 235 const mojo::gfx::composition::SceneHit& value) { |
236 return os << "{scene_token=" << value.scene_token | 236 return os << "{scene_token=" << value.scene_token |
237 << ", scene_version=" << value.scene_version | 237 << ", scene_version=" << value.scene_version |
238 << ", hits=" << value.hits << "}"; | 238 << ", hits=" << value.hits << "}"; |
239 } | 239 } |
240 | 240 |
241 std::ostream& operator<<(std::ostream& os, | 241 std::ostream& operator<<(std::ostream& os, |
242 const mojo::gfx::composition::NodeHit& value) { | 242 const mojo::gfx::composition::NodeHit& value) { |
243 return os << "{node_id=" << value.node_id | 243 return os << "{node_id=" << value.node_id << ", transform=" << value.transform |
244 << ", intersection=" << value.intersection << "}"; | 244 << "}"; |
245 } | 245 } |
246 | 246 |
247 } // namespace composition | 247 } // namespace composition |
248 } // namespace gfx | 248 } // namespace gfx |
249 } // namespace mojo | 249 } // namespace mojo |
OLD | NEW |