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_TILES_TILE_MANAGER_H_ | 5 #ifndef CC_TILES_TILE_MANAGER_H_ |
6 #define CC_TILES_TILE_MANAGER_H_ | 6 #define CC_TILES_TILE_MANAGER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 Signals signals_; | 331 Signals signals_; |
332 | 332 |
333 UniqueNotifier signals_check_notifier_; | 333 UniqueNotifier signals_check_notifier_; |
334 | 334 |
335 bool has_scheduled_tile_tasks_; | 335 bool has_scheduled_tile_tasks_; |
336 | 336 |
337 uint64_t prepare_tiles_count_; | 337 uint64_t prepare_tiles_count_; |
338 uint64_t next_tile_id_; | 338 uint64_t next_tile_id_; |
339 | 339 |
340 std::unordered_map<Tile::Id, std::vector<DrawImage>> scheduled_draw_images_; | 340 std::unordered_map<Tile::Id, std::vector<DrawImage>> scheduled_draw_images_; |
341 std::vector<DrawImage> locked_images_; | |
342 std::vector<scoped_refptr<TileTask>> locked_image_tasks_; | 341 std::vector<scoped_refptr<TileTask>> locked_image_tasks_; |
343 | 342 |
344 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; | 343 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; |
345 | 344 |
346 DISALLOW_COPY_AND_ASSIGN(TileManager); | 345 DISALLOW_COPY_AND_ASSIGN(TileManager); |
347 }; | 346 }; |
348 | 347 |
349 } // namespace cc | 348 } // namespace cc |
350 | 349 |
351 #endif // CC_TILES_TILE_MANAGER_H_ | 350 #endif // CC_TILES_TILE_MANAGER_H_ |
OLD | NEW |