OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_PICTURE_PILE_H_ | 5 #ifndef CC_RESOURCES_PICTURE_PILE_H_ |
6 #define CC_RESOURCES_PICTURE_PILE_H_ | 6 #define CC_RESOURCES_PICTURE_PILE_H_ |
7 | 7 |
8 #include <bitset> | 8 #include <bitset> |
| 9 #include <utility> |
9 | 10 |
| 11 #include "base/containers/hash_tables.h" |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "cc/base/tiling_data.h" | 13 #include "cc/base/tiling_data.h" |
12 #include "cc/resources/recording_source.h" | 14 #include "cc/resources/recording_source.h" |
13 | 15 |
14 namespace cc { | 16 namespace cc { |
15 class PicturePileImpl; | 17 class PicturePileImpl; |
16 | 18 |
17 class CC_EXPORT PicturePile : public RecordingSource { | 19 class CC_EXPORT PicturePile : public RecordingSource { |
18 public: | 20 public: |
19 PicturePile(); | 21 PicturePile(); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 void SetBufferPixels(int buffer_pixels); | 117 void SetBufferPixels(int buffer_pixels); |
116 | 118 |
117 bool is_suitable_for_gpu_rasterization_; | 119 bool is_suitable_for_gpu_rasterization_; |
118 | 120 |
119 DISALLOW_COPY_AND_ASSIGN(PicturePile); | 121 DISALLOW_COPY_AND_ASSIGN(PicturePile); |
120 }; | 122 }; |
121 | 123 |
122 } // namespace cc | 124 } // namespace cc |
123 | 125 |
124 #endif // CC_RESOURCES_PICTURE_PILE_H_ | 126 #endif // CC_RESOURCES_PICTURE_PILE_H_ |
OLD | NEW |