| 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_TILE_MANAGER_H_ | 5 #ifndef CC_RESOURCES_TILE_MANAGER_H_ |
| 6 #define CC_RESOURCES_TILE_MANAGER_H_ | 6 #define CC_RESOURCES_TILE_MANAGER_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; | 196 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; |
| 197 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; | 197 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; |
| 198 LayerPixelRefTaskMap image_decode_tasks_; | 198 LayerPixelRefTaskMap image_decode_tasks_; |
| 199 | 199 |
| 200 typedef base::hash_map<int, int> LayerCountMap; | 200 typedef base::hash_map<int, int> LayerCountMap; |
| 201 LayerCountMap used_layer_counts_; | 201 LayerCountMap used_layer_counts_; |
| 202 | 202 |
| 203 RasterTaskCompletionStats update_visible_tiles_stats_; | 203 RasterTaskCompletionStats update_visible_tiles_stats_; |
| 204 | 204 |
| 205 std::vector<Tile*> released_tiles_; | 205 std::vector<Tile*> released_tiles_; |
| 206 std::vector<Tile*> tile_pool_; |
| 206 | 207 |
| 207 DISALLOW_COPY_AND_ASSIGN(TileManager); | 208 DISALLOW_COPY_AND_ASSIGN(TileManager); |
| 208 }; | 209 }; |
| 209 | 210 |
| 210 } // namespace cc | 211 } // namespace cc |
| 211 | 212 |
| 212 #endif // CC_RESOURCES_TILE_MANAGER_H_ | 213 #endif // CC_RESOURCES_TILE_MANAGER_H_ |
| OLD | NEW |