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_PLAYBACK_PICTURE_PILE_H_ |
6 #define CC_RESOURCES_PICTURE_PILE_H_ | 6 #define CC_PLAYBACK_PICTURE_PILE_H_ |
7 | 7 |
8 #include <bitset> | 8 #include <bitset> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "cc/base/tiling_data.h" | 14 #include "cc/base/tiling_data.h" |
15 #include "cc/resources/picture.h" | 15 #include "cc/playback/picture.h" |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 class PicturePileImpl; | 18 class PicturePileImpl; |
19 | 19 |
20 class CC_EXPORT PicturePile : public RecordingSource { | 20 class CC_EXPORT PicturePile : public RecordingSource { |
21 public: | 21 public: |
22 PicturePile(float min_contents_scale, const gfx::Size& tile_grid_size); | 22 PicturePile(float min_contents_scale, const gfx::Size& tile_grid_size); |
23 ~PicturePile() override; | 23 ~PicturePile() override; |
24 | 24 |
25 // RecordingSource overrides. | 25 // RecordingSource overrides. |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 void DetermineIfSolidColor(); | 97 void DetermineIfSolidColor(); |
98 void SetBufferPixels(int buffer_pixels); | 98 void SetBufferPixels(int buffer_pixels); |
99 | 99 |
100 bool is_suitable_for_gpu_rasterization_; | 100 bool is_suitable_for_gpu_rasterization_; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(PicturePile); | 102 DISALLOW_COPY_AND_ASSIGN(PicturePile); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace cc | 105 } // namespace cc |
106 | 106 |
107 #endif // CC_RESOURCES_PICTURE_PILE_H_ | 107 #endif // CC_PLAYBACK_PICTURE_PILE_H_ |
OLD | NEW |