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