Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: cc/tiles/tile_manager.h

Issue 2345833002: cc: Move (partially) the predecode image tracking to ImageManager. (Closed)
Patch Set: initialize var Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/tiles/image_manager_unittest.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « cc/tiles/image_manager_unittest.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698