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

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

Issue 366113002: cc: Do not cleanup tiles with raster tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | cc/resources/tile_manager.cc » ('j') | cc/resources/tile_manager.cc » ('J')
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_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 <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 324
325 RasterTaskCompletionStats update_visible_tiles_stats_; 325 RasterTaskCompletionStats update_visible_tiles_stats_;
326 326
327 std::vector<Tile*> released_tiles_; 327 std::vector<Tile*> released_tiles_;
328 328
329 ResourceFormat resource_format_; 329 ResourceFormat resource_format_;
330 330
331 // Queue used when scheduling raster tasks. 331 // Queue used when scheduling raster tasks.
332 RasterTaskQueue raster_queue_; 332 RasterTaskQueue raster_queue_;
333 333
334 std::vector<scoped_refptr<RasterTask> > orphan_raster_tasks_;
335
336 UniqueNotifier ready_to_activate_check_notifier_; 334 UniqueNotifier ready_to_activate_check_notifier_;
337 335
338 DISALLOW_COPY_AND_ASSIGN(TileManager); 336 DISALLOW_COPY_AND_ASSIGN(TileManager);
339 }; 337 };
340 338
341 } // namespace cc 339 } // namespace cc
342 340
343 #endif // CC_RESOURCES_TILE_MANAGER_H_ 341 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/resources/tile_manager.cc » ('j') | cc/resources/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698