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_EVICTION_TILE_PRIORITY_QUEUE_H_ | 5 #ifndef CC_TILES_EVICTION_TILE_PRIORITY_QUEUE_H_ |
6 #define CC_TILES_EVICTION_TILE_PRIORITY_QUEUE_H_ | 6 #define CC_TILES_EVICTION_TILE_PRIORITY_QUEUE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "cc/base/cc_export.h" | 13 #include "cc/cc_export.h" |
14 #include "cc/layers/picture_layer_impl.h" | 14 #include "cc/layers/picture_layer_impl.h" |
15 #include "cc/tiles/tile_priority.h" | 15 #include "cc/tiles/tile_priority.h" |
16 #include "cc/tiles/tiling_set_eviction_queue.h" | 16 #include "cc/tiles/tiling_set_eviction_queue.h" |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 class PrioritizedTile; | 19 class PrioritizedTile; |
20 | 20 |
21 class CC_EXPORT EvictionTilePriorityQueue { | 21 class CC_EXPORT EvictionTilePriorityQueue { |
22 public: | 22 public: |
23 EvictionTilePriorityQueue(); | 23 EvictionTilePriorityQueue(); |
(...skipping 15 matching lines...) Expand all Loading... |
39 std::vector<std::unique_ptr<TilingSetEvictionQueue>> active_queues_; | 39 std::vector<std::unique_ptr<TilingSetEvictionQueue>> active_queues_; |
40 std::vector<std::unique_ptr<TilingSetEvictionQueue>> pending_queues_; | 40 std::vector<std::unique_ptr<TilingSetEvictionQueue>> pending_queues_; |
41 TreePriority tree_priority_; | 41 TreePriority tree_priority_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(EvictionTilePriorityQueue); | 43 DISALLOW_COPY_AND_ASSIGN(EvictionTilePriorityQueue); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace cc | 46 } // namespace cc |
47 | 47 |
48 #endif // CC_TILES_EVICTION_TILE_PRIORITY_QUEUE_H_ | 48 #endif // CC_TILES_EVICTION_TILE_PRIORITY_QUEUE_H_ |
OLD | NEW |