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_TILES_TILING_SET_EVICTION_QUEUE_H_ | 5 #ifndef CC_TILES_TILING_SET_EVICTION_QUEUE_H_ |
6 #define CC_TILES_TILING_SET_EVICTION_QUEUE_H_ | 6 #define CC_TILES_TILING_SET_EVICTION_QUEUE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "cc/base/cc_export.h" | 12 #include "cc/cc_export.h" |
13 #include "cc/tiles/picture_layer_tiling_set.h" | 13 #include "cc/tiles/picture_layer_tiling_set.h" |
14 #include "cc/tiles/prioritized_tile.h" | 14 #include "cc/tiles/prioritized_tile.h" |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
17 | 17 |
18 // This eviction queue returned tiles from all tilings in a tiling set in | 18 // This eviction queue returned tiles from all tilings in a tiling set in |
19 // the order in which the tiles should be evicted. It can be thought of as the | 19 // the order in which the tiles should be evicted. It can be thought of as the |
20 // following: | 20 // following: |
21 // for all phases: | 21 // for all phases: |
22 // for all ordered tilings: | 22 // for all ordered tilings: |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 EventuallyTilingIterator eventually_iterator_; | 196 EventuallyTilingIterator eventually_iterator_; |
197 SoonBorderTilingIterator soon_iterator_; | 197 SoonBorderTilingIterator soon_iterator_; |
198 SkewportTilingIterator skewport_iterator_; | 198 SkewportTilingIterator skewport_iterator_; |
199 PendingVisibleTilingIterator pending_visible_iterator_; | 199 PendingVisibleTilingIterator pending_visible_iterator_; |
200 VisibleTilingIterator visible_iterator_; | 200 VisibleTilingIterator visible_iterator_; |
201 }; | 201 }; |
202 | 202 |
203 } // namespace cc | 203 } // namespace cc |
204 | 204 |
205 #endif // CC_TILES_TILING_SET_EVICTION_QUEUE_H_ | 205 #endif // CC_TILES_TILING_SET_EVICTION_QUEUE_H_ |
OLD | NEW |