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_COMPOSITING_DISPLAY_ITEM_H_ | 5 #ifndef CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ |
6 #define CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ | 6 #define CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
9 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
10 #include "cc/playback/display_item.h" | 13 #include "cc/playback/display_item.h" |
11 #include "skia/ext/refptr.h" | 14 #include "skia/ext/refptr.h" |
12 #include "third_party/skia/include/core/SkColorFilter.h" | 15 #include "third_party/skia/include/core/SkColorFilter.h" |
13 #include "third_party/skia/include/core/SkRect.h" | 16 #include "third_party/skia/include/core/SkRect.h" |
14 #include "third_party/skia/include/core/SkXfermode.h" | 17 #include "third_party/skia/include/core/SkXfermode.h" |
15 #include "ui/gfx/geometry/rect_f.h" | 18 #include "ui/gfx/geometry/rect_f.h" |
16 | 19 |
17 class SkCanvas; | 20 class SkCanvas; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 base::trace_event::TracedValue* array) const override; | 75 base::trace_event::TracedValue* array) const override; |
73 size_t ExternalMemoryUsage() const override; | 76 size_t ExternalMemoryUsage() const override; |
74 | 77 |
75 int ApproximateOpCount() const { return 0; } | 78 int ApproximateOpCount() const { return 0; } |
76 bool IsSuitableForGpuRasterization() const { return true; } | 79 bool IsSuitableForGpuRasterization() const { return true; } |
77 }; | 80 }; |
78 | 81 |
79 } // namespace cc | 82 } // namespace cc |
80 | 83 |
81 #endif // CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ | 84 #endif // CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ |
OLD | NEW |