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_TILING_SET_RASTER_QUEUE_ALL_H_ | 5 #ifndef CC_TILES_TILING_SET_RASTER_QUEUE_ALL_H_ |
6 #define CC_RESOURCES_TILING_SET_RASTER_QUEUE_ALL_H_ | 6 #define CC_TILES_TILING_SET_RASTER_QUEUE_ALL_H_ |
7 | 7 |
8 #include "base/containers/stack_container.h" | 8 #include "base/containers/stack_container.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "cc/resources/picture_layer_tiling_set.h" | 10 #include "cc/tiles/picture_layer_tiling_set.h" |
11 #include "cc/resources/prioritized_tile.h" | 11 #include "cc/tiles/prioritized_tile.h" |
12 #include "cc/resources/tile.h" | 12 #include "cc/tiles/tile.h" |
13 #include "cc/resources/tile_priority.h" | 13 #include "cc/tiles/tile_priority.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 // This queue returns all tiles required to be rasterized from HIGH_RESOLUTION | 17 // This queue returns all tiles required to be rasterized from HIGH_RESOLUTION |
18 // and LOW_RESOLUTION tilings. | 18 // and LOW_RESOLUTION tilings. |
19 class CC_EXPORT TilingSetRasterQueueAll { | 19 class CC_EXPORT TilingSetRasterQueueAll { |
20 public: | 20 public: |
21 TilingSetRasterQueueAll(PictureLayerTilingSet* tiling_set, | 21 TilingSetRasterQueueAll(PictureLayerTilingSet* tiling_set, |
22 bool prioritize_low_res); | 22 bool prioritize_low_res); |
23 ~TilingSetRasterQueueAll(); | 23 ~TilingSetRasterQueueAll(); |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // The max number of stages is 6: 1 low res, 3 high res, and 2 active non | 189 // The max number of stages is 6: 1 low res, 3 high res, and 2 active non |
190 // ideal pending high res. | 190 // ideal pending high res. |
191 base::StackVector<IterationStage, 6> stages_; | 191 base::StackVector<IterationStage, 6> stages_; |
192 TilingIterator iterators_[NUM_ITERATORS]; | 192 TilingIterator iterators_[NUM_ITERATORS]; |
193 | 193 |
194 DISALLOW_COPY_AND_ASSIGN(TilingSetRasterQueueAll); | 194 DISALLOW_COPY_AND_ASSIGN(TilingSetRasterQueueAll); |
195 }; | 195 }; |
196 | 196 |
197 } // namespace cc | 197 } // namespace cc |
198 | 198 |
199 #endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_ALL_H_ | 199 #endif // CC_TILES_TILING_SET_RASTER_QUEUE_ALL_H_ |
OLD | NEW |