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

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

Issue 662473003: cc: Replace > > with >> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: angles: . Created 6 years, 2 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/resources/task_graph_runner_perftest.cc ('k') | cc/scheduler/scheduler_unittest.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 <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 bool all_tiles_that_need_to_be_rasterized_are_scheduled_; 243 bool all_tiles_that_need_to_be_rasterized_are_scheduled_;
244 MemoryHistory::Entry memory_stats_from_last_assign_; 244 MemoryHistory::Entry memory_stats_from_last_assign_;
245 245
246 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 246 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
247 247
248 bool did_initialize_visible_tile_; 248 bool did_initialize_visible_tile_;
249 bool did_check_for_completed_tasks_since_last_schedule_tasks_; 249 bool did_check_for_completed_tasks_since_last_schedule_tasks_;
250 bool did_oom_on_last_assign_; 250 bool did_oom_on_last_assign_;
251 251
252 typedef base::hash_map<uint32_t, scoped_refptr<ImageDecodeTask> > 252 typedef base::hash_map<uint32_t, scoped_refptr<ImageDecodeTask>>
253 PixelRefTaskMap; 253 PixelRefTaskMap;
254 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; 254 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap;
255 LayerPixelRefTaskMap image_decode_tasks_; 255 LayerPixelRefTaskMap image_decode_tasks_;
256 256
257 typedef base::hash_map<int, int> LayerCountMap; 257 typedef base::hash_map<int, int> LayerCountMap;
258 LayerCountMap used_layer_counts_; 258 LayerCountMap used_layer_counts_;
259 259
260 RasterTaskCompletionStats update_visible_tiles_stats_; 260 RasterTaskCompletionStats update_visible_tiles_stats_;
261 261
262 std::vector<Tile*> released_tiles_; 262 std::vector<Tile*> released_tiles_;
263 263
264 ResourceFormat resource_format_; 264 ResourceFormat resource_format_;
265 265
266 // Queue used when scheduling raster tasks. 266 // Queue used when scheduling raster tasks.
267 RasterTaskQueue raster_queue_; 267 RasterTaskQueue raster_queue_;
268 268
269 std::vector<scoped_refptr<RasterTask> > orphan_raster_tasks_; 269 std::vector<scoped_refptr<RasterTask>> orphan_raster_tasks_;
270 270
271 UniqueNotifier ready_to_activate_check_notifier_; 271 UniqueNotifier ready_to_activate_check_notifier_;
272 272
273 RasterTilePriorityQueue raster_priority_queue_; 273 RasterTilePriorityQueue raster_priority_queue_;
274 EvictionTilePriorityQueue eviction_priority_queue_; 274 EvictionTilePriorityQueue eviction_priority_queue_;
275 bool eviction_priority_queue_is_up_to_date_; 275 bool eviction_priority_queue_is_up_to_date_;
276 276
277 DISALLOW_COPY_AND_ASSIGN(TileManager); 277 DISALLOW_COPY_AND_ASSIGN(TileManager);
278 }; 278 };
279 279
280 } // namespace cc 280 } // namespace cc
281 281
282 #endif // CC_RESOURCES_TILE_MANAGER_H_ 282 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/resources/task_graph_runner_perftest.cc ('k') | cc/scheduler/scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698