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 "cc/playback/compositing_display_item.h" | 5 #include "cc/playback/compositing_display_item.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
8 #include "base/trace_event/trace_event_argument.h" | 11 #include "base/trace_event/trace_event_argument.h" |
9 #include "cc/proto/display_item.pb.h" | 12 #include "cc/proto/display_item.pb.h" |
10 #include "cc/proto/gfx_conversions.h" | 13 #include "cc/proto/gfx_conversions.h" |
11 #include "cc/proto/skia_conversions.h" | 14 #include "cc/proto/skia_conversions.h" |
12 #include "third_party/skia/include/core/SkCanvas.h" | 15 #include "third_party/skia/include/core/SkCanvas.h" |
13 #include "third_party/skia/include/core/SkData.h" | 16 #include "third_party/skia/include/core/SkData.h" |
14 #include "third_party/skia/include/core/SkFlattenable.h" | 17 #include "third_party/skia/include/core/SkFlattenable.h" |
15 #include "third_party/skia/include/core/SkFlattenableSerialization.h" | 18 #include "third_party/skia/include/core/SkFlattenableSerialization.h" |
16 #include "third_party/skia/include/core/SkPaint.h" | 19 #include "third_party/skia/include/core/SkPaint.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 array->AppendString( | 156 array->AppendString( |
154 base::StringPrintf("EndCompositingDisplayItem visualRect: [%s]", | 157 base::StringPrintf("EndCompositingDisplayItem visualRect: [%s]", |
155 visual_rect.ToString().c_str())); | 158 visual_rect.ToString().c_str())); |
156 } | 159 } |
157 | 160 |
158 size_t EndCompositingDisplayItem::ExternalMemoryUsage() const { | 161 size_t EndCompositingDisplayItem::ExternalMemoryUsage() const { |
159 return 0; | 162 return 0; |
160 } | 163 } |
161 | 164 |
162 } // namespace cc | 165 } // namespace cc |
OLD | NEW |