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/clip_path_display_item.h" | 5 #include "cc/playback/clip_path_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/skia_conversions.h" | 13 #include "cc/proto/skia_conversions.h" |
11 #include "third_party/skia/include/core/SkCanvas.h" | 14 #include "third_party/skia/include/core/SkCanvas.h" |
12 | 15 |
13 namespace cc { | 16 namespace cc { |
14 | 17 |
15 ClipPathDisplayItem::ClipPathDisplayItem(const SkPath& clip_path, | 18 ClipPathDisplayItem::ClipPathDisplayItem(const SkPath& clip_path, |
16 SkRegion::Op clip_op, | 19 SkRegion::Op clip_op, |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 array->AppendString( | 113 array->AppendString( |
111 base::StringPrintf("EndClipPathDisplayItem visualRect: [%s]", | 114 base::StringPrintf("EndClipPathDisplayItem visualRect: [%s]", |
112 visual_rect.ToString().c_str())); | 115 visual_rect.ToString().c_str())); |
113 } | 116 } |
114 | 117 |
115 size_t EndClipPathDisplayItem::ExternalMemoryUsage() const { | 118 size_t EndClipPathDisplayItem::ExternalMemoryUsage() const { |
116 return 0; | 119 return 0; |
117 } | 120 } |
118 | 121 |
119 } // namespace cc | 122 } // namespace cc |
OLD | NEW |