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

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

Issue 23757024: cc: Speed up CleanUpImageDecodeTasks a bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« 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 <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 MemoryHistory::Entry memory_stats_from_last_assign_; 169 MemoryHistory::Entry memory_stats_from_last_assign_;
170 170
171 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 171 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
172 172
173 bool did_initialize_visible_tile_; 173 bool did_initialize_visible_tile_;
174 174
175 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; 175 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap;
176 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; 176 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap;
177 LayerPixelRefTaskMap image_decode_tasks_; 177 LayerPixelRefTaskMap image_decode_tasks_;
178 178
179 typedef base::hash_map<int, int> LayerCountMap;
tomhudson 2013/09/04 18:38:34 I assume we're using hash_map here instead of some
enne (OOO) 2013/09/04 18:45:24 It really depends on the page. Scrollbars in part
vmpstr 2013/09/04 19:36:40 Right.. I think it would be a waste to grow this t
180 LayerCountMap used_layer_counts_;
181
179 RasterTaskCompletionStats update_visible_tiles_stats_; 182 RasterTaskCompletionStats update_visible_tiles_stats_;
180 183
181 DISALLOW_COPY_AND_ASSIGN(TileManager); 184 DISALLOW_COPY_AND_ASSIGN(TileManager);
182 }; 185 };
183 186
184 } // namespace cc 187 } // namespace cc
185 188
186 #endif // CC_RESOURCES_TILE_MANAGER_H_ 189 #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