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_RESOURCES_DISPLAY_ITEM_H_ | 5 #ifndef CC_PLAYBACK_DISPLAY_ITEM_H_ |
6 #define CC_RESOURCES_DISPLAY_ITEM_H_ | 6 #define CC_PLAYBACK_DISPLAY_ITEM_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "cc/debug/traced_value.h" | 10 #include "cc/debug/traced_value.h" |
11 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
12 | 12 |
13 class SkCanvas; | 13 class SkCanvas; |
14 class SkDrawPictureCallback; | 14 class SkDrawPictureCallback; |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
(...skipping 24 matching lines...) Expand all Loading... |
41 protected: | 41 protected: |
42 DisplayItem(); | 42 DisplayItem(); |
43 | 43 |
44 bool is_suitable_for_gpu_rasterization_; | 44 bool is_suitable_for_gpu_rasterization_; |
45 int approximate_op_count_; | 45 int approximate_op_count_; |
46 size_t picture_memory_usage_; | 46 size_t picture_memory_usage_; |
47 }; | 47 }; |
48 | 48 |
49 } // namespace cc | 49 } // namespace cc |
50 | 50 |
51 #endif // CC_RESOURCES_DISPLAY_ITEM_H_ | 51 #endif // CC_PLAYBACK_DISPLAY_ITEM_H_ |
OLD | NEW |