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/filter_display_item.h" | 5 #include "cc/playback/filter_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/output/render_surface_filters.h" | 11 #include "cc/output/render_surface_filters.h" |
10 #include "cc/proto/display_item.pb.h" | 12 #include "cc/proto/display_item.pb.h" |
11 #include "cc/proto/gfx_conversions.h" | 13 #include "cc/proto/gfx_conversions.h" |
12 #include "skia/ext/refptr.h" | 14 #include "skia/ext/refptr.h" |
13 #include "third_party/skia/include/core/SkCanvas.h" | 15 #include "third_party/skia/include/core/SkCanvas.h" |
14 #include "third_party/skia/include/core/SkImageFilter.h" | 16 #include "third_party/skia/include/core/SkImageFilter.h" |
15 #include "third_party/skia/include/core/SkPaint.h" | 17 #include "third_party/skia/include/core/SkPaint.h" |
16 #include "third_party/skia/include/core/SkXfermode.h" | 18 #include "third_party/skia/include/core/SkXfermode.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 array->AppendString( | 112 array->AppendString( |
111 base::StringPrintf("EndFilterDisplayItem visualRect: [%s]", | 113 base::StringPrintf("EndFilterDisplayItem visualRect: [%s]", |
112 visual_rect.ToString().c_str())); | 114 visual_rect.ToString().c_str())); |
113 } | 115 } |
114 | 116 |
115 size_t EndFilterDisplayItem::ExternalMemoryUsage() const { | 117 size_t EndFilterDisplayItem::ExternalMemoryUsage() const { |
116 return 0; | 118 return 0; |
117 } | 119 } |
118 | 120 |
119 } // namespace cc | 121 } // namespace cc |
OLD | NEW |