| 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> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 ImageSerializationProcessor* image_serialization_processor) | 75 ImageSerializationProcessor* image_serialization_processor) |
| 76 const override; | 76 const override; |
| 77 void Raster(SkCanvas* canvas, | 77 void Raster(SkCanvas* canvas, |
| 78 const gfx::Rect& canvas_target_playback_rect, | 78 const gfx::Rect& canvas_target_playback_rect, |
| 79 SkPicture::AbortCallback* callback) const override; | 79 SkPicture::AbortCallback* callback) const override; |
| 80 void AsValueInto(const gfx::Rect& visual_rect, | 80 void AsValueInto(const gfx::Rect& visual_rect, |
| 81 base::trace_event::TracedValue* array) const override; | 81 base::trace_event::TracedValue* array) const override; |
| 82 size_t ExternalMemoryUsage() const override; | 82 size_t ExternalMemoryUsage() const override; |
| 83 | 83 |
| 84 int ApproximateOpCount() const { return 0; } | 84 int ApproximateOpCount() const { return 0; } |
| 85 bool IsSuitableForGpuRasterization() const { return true; } | |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 } // namespace cc | 87 } // namespace cc |
| 89 | 88 |
| 90 #endif // CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ | 89 #endif // CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ |
| OLD | NEW |