| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 170 |
| 171 size_t bytes_releasable_; | 171 size_t bytes_releasable_; |
| 172 size_t resources_releasable_; | 172 size_t resources_releasable_; |
| 173 | 173 |
| 174 bool ever_exceeded_memory_budget_; | 174 bool ever_exceeded_memory_budget_; |
| 175 MemoryHistory::Entry memory_stats_from_last_assign_; | 175 MemoryHistory::Entry memory_stats_from_last_assign_; |
| 176 | 176 |
| 177 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 177 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| 178 | 178 |
| 179 bool did_initialize_visible_tile_; | 179 bool did_initialize_visible_tile_; |
| 180 bool did_check_for_completed_tasks_since_last_schedule_tasks_; |
| 180 | 181 |
| 181 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; | 182 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; |
| 182 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; | 183 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; |
| 183 LayerPixelRefTaskMap image_decode_tasks_; | 184 LayerPixelRefTaskMap image_decode_tasks_; |
| 184 | 185 |
| 185 typedef base::hash_map<int, int> LayerCountMap; | 186 typedef base::hash_map<int, int> LayerCountMap; |
| 186 LayerCountMap used_layer_counts_; | 187 LayerCountMap used_layer_counts_; |
| 187 | 188 |
| 188 RasterTaskCompletionStats update_visible_tiles_stats_; | 189 RasterTaskCompletionStats update_visible_tiles_stats_; |
| 189 | 190 |
| 190 DISALLOW_COPY_AND_ASSIGN(TileManager); | 191 DISALLOW_COPY_AND_ASSIGN(TileManager); |
| 191 }; | 192 }; |
| 192 | 193 |
| 193 } // namespace cc | 194 } // namespace cc |
| 194 | 195 |
| 195 #endif // CC_RESOURCES_TILE_MANAGER_H_ | 196 #endif // CC_RESOURCES_TILE_MANAGER_H_ |
| OLD | NEW |