| 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 #ifndef CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_ | 5 #ifndef CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_ |
| 6 #define CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_ | 6 #define CC_PLAYBACK_TRANSFORM_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 "ui/gfx/transform.h" | 13 #include "ui/gfx/transform.h" |
| 12 | 14 |
| 13 class SkCanvas; | 15 class SkCanvas; |
| 14 | 16 |
| 15 namespace cc { | 17 namespace cc { |
| 16 | 18 |
| 17 class CC_EXPORT TransformDisplayItem : public DisplayItem { | 19 class CC_EXPORT TransformDisplayItem : public DisplayItem { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 base::trace_event::TracedValue* array) const override; | 57 base::trace_event::TracedValue* array) const override; |
| 56 size_t ExternalMemoryUsage() const override; | 58 size_t ExternalMemoryUsage() const override; |
| 57 | 59 |
| 58 int ApproximateOpCount() const { return 0; } | 60 int ApproximateOpCount() const { return 0; } |
| 59 bool IsSuitableForGpuRasterization() const { return true; } | 61 bool IsSuitableForGpuRasterization() const { return true; } |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 } // namespace cc | 64 } // namespace cc |
| 63 | 65 |
| 64 #endif // CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_ | 66 #endif // CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_ |
| OLD | NEW |