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 #ifndef CC_PLAYBACK_CLIP_PATH_DISPLAY_ITEM_H_ | 5 #ifndef CC_PLAYBACK_CLIP_PATH_DISPLAY_ITEM_H_ |
6 #define CC_PLAYBACK_CLIP_PATH_DISPLAY_ITEM_H_ | 6 #define CC_PLAYBACK_CLIP_PATH_DISPLAY_ITEM_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
9 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
10 #include "cc/playback/display_item.h" | 12 #include "cc/playback/display_item.h" |
11 #include "third_party/skia/include/core/SkPath.h" | 13 #include "third_party/skia/include/core/SkPath.h" |
12 #include "third_party/skia/include/core/SkRegion.h" | 14 #include "third_party/skia/include/core/SkRegion.h" |
13 | 15 |
14 class SkCanvas; | 16 class SkCanvas; |
15 | 17 |
16 namespace cc { | 18 namespace cc { |
17 | 19 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 base::trace_event::TracedValue* array) const override; | 60 base::trace_event::TracedValue* array) const override; |
59 size_t ExternalMemoryUsage() const override; | 61 size_t ExternalMemoryUsage() const override; |
60 | 62 |
61 int ApproximateOpCount() const { return 0; } | 63 int ApproximateOpCount() const { return 0; } |
62 bool IsSuitableForGpuRasterization() const { return true; } | 64 bool IsSuitableForGpuRasterization() const { return true; } |
63 }; | 65 }; |
64 | 66 |
65 } // namespace cc | 67 } // namespace cc |
66 | 68 |
67 #endif // CC_PLAYBACK_CLIP_PATH_DISPLAY_ITEM_H_ | 69 #endif // CC_PLAYBACK_CLIP_PATH_DISPLAY_ITEM_H_ |
OLD | NEW |