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