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 #include "cc/playback/transform_display_item.h" | 5 #include "cc/playback/transform_display_item.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
8 #include "base/trace_event/trace_event_argument.h" | 10 #include "base/trace_event/trace_event_argument.h" |
9 #include "cc/proto/display_item.pb.h" | 11 #include "cc/proto/display_item.pb.h" |
10 #include "cc/proto/gfx_conversions.h" | 12 #include "cc/proto/gfx_conversions.h" |
11 #include "third_party/skia/include/core/SkCanvas.h" | 13 #include "third_party/skia/include/core/SkCanvas.h" |
12 | 14 |
13 namespace cc { | 15 namespace cc { |
14 | 16 |
15 TransformDisplayItem::TransformDisplayItem(const gfx::Transform& transform) | 17 TransformDisplayItem::TransformDisplayItem(const gfx::Transform& transform) |
16 : transform_(gfx::Transform::kSkipInitialization) { | 18 : transform_(gfx::Transform::kSkipInitialization) { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 array->AppendString( | 89 array->AppendString( |
88 base::StringPrintf("EndTransformDisplayItem visualRect: [%s]", | 90 base::StringPrintf("EndTransformDisplayItem visualRect: [%s]", |
89 visual_rect.ToString().c_str())); | 91 visual_rect.ToString().c_str())); |
90 } | 92 } |
91 | 93 |
92 size_t EndTransformDisplayItem::ExternalMemoryUsage() const { | 94 size_t EndTransformDisplayItem::ExternalMemoryUsage() const { |
93 return 0; | 95 return 0; |
94 } | 96 } |
95 | 97 |
96 } // namespace cc | 98 } // namespace cc |
OLD | NEW |