Chromium Code Reviews| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 169 MemoryHistory::Entry memory_stats_from_last_assign_; | 169 MemoryHistory::Entry memory_stats_from_last_assign_; |
| 170 | 170 |
| 171 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 171 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| 172 | 172 |
| 173 bool did_initialize_visible_tile_; | 173 bool did_initialize_visible_tile_; |
| 174 | 174 |
| 175 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; | 175 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; |
| 176 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; | 176 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; |
| 177 LayerPixelRefTaskMap image_decode_tasks_; | 177 LayerPixelRefTaskMap image_decode_tasks_; |
| 178 | 178 |
| 179 typedef base::hash_map<int, int> LayerCountMap; | |
|
tomhudson
2013/09/04 18:38:34
I assume we're using hash_map here instead of some
enne (OOO)
2013/09/04 18:45:24
It really depends on the page. Scrollbars in part
vmpstr
2013/09/04 19:36:40
Right.. I think it would be a waste to grow this t
| |
| 180 LayerCountMap used_layer_counts_; | |
| 181 | |
| 179 RasterTaskCompletionStats update_visible_tiles_stats_; | 182 RasterTaskCompletionStats update_visible_tiles_stats_; |
| 180 | 183 |
| 181 DISALLOW_COPY_AND_ASSIGN(TileManager); | 184 DISALLOW_COPY_AND_ASSIGN(TileManager); |
| 182 }; | 185 }; |
| 183 | 186 |
| 184 } // namespace cc | 187 } // namespace cc |
| 185 | 188 |
| 186 #endif // CC_RESOURCES_TILE_MANAGER_H_ | 189 #endif // CC_RESOURCES_TILE_MANAGER_H_ |
| OLD | NEW |