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

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

Issue 38553002: cc: Add tile pool to tile manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « cc/resources/tile.cc ('k') | cc/resources/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_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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; 196 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap;
197 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; 197 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap;
198 LayerPixelRefTaskMap image_decode_tasks_; 198 LayerPixelRefTaskMap image_decode_tasks_;
199 199
200 typedef base::hash_map<int, int> LayerCountMap; 200 typedef base::hash_map<int, int> LayerCountMap;
201 LayerCountMap used_layer_counts_; 201 LayerCountMap used_layer_counts_;
202 202
203 RasterTaskCompletionStats update_visible_tiles_stats_; 203 RasterTaskCompletionStats update_visible_tiles_stats_;
204 204
205 std::vector<Tile*> released_tiles_; 205 std::vector<Tile*> released_tiles_;
206 std::vector<Tile*> tile_pool_;
206 207
207 DISALLOW_COPY_AND_ASSIGN(TileManager); 208 DISALLOW_COPY_AND_ASSIGN(TileManager);
208 }; 209 };
209 210
210 } // namespace cc 211 } // namespace cc
211 212
212 #endif // CC_RESOURCES_TILE_MANAGER_H_ 213 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/resources/tile.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698