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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 155 |
156 bool did_initialize_visible_tile_; | 156 bool did_initialize_visible_tile_; |
157 | 157 |
158 GLenum texture_format_; | 158 GLenum texture_format_; |
159 | 159 |
160 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; | 160 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; |
161 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; | 161 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; |
162 LayerPixelRefTaskMap image_decode_tasks_; | 162 LayerPixelRefTaskMap image_decode_tasks_; |
163 | 163 |
164 RasterTaskCompletionStats update_visible_tiles_stats_; | 164 RasterTaskCompletionStats update_visible_tiles_stats_; |
| 165 bool use_16bit_tiles_; |
165 | 166 |
166 DISALLOW_COPY_AND_ASSIGN(TileManager); | 167 DISALLOW_COPY_AND_ASSIGN(TileManager); |
167 }; | 168 }; |
168 | 169 |
169 } // namespace cc | 170 } // namespace cc |
170 | 171 |
171 #endif // CC_RESOURCES_TILE_MANAGER_H_ | 172 #endif // CC_RESOURCES_TILE_MANAGER_H_ |
OLD | NEW |