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

Unified Diff: cc/tiles/tile_manager.h

Issue 2612123002: cc: Add a flag to check for tile priority inversion in AssignGpuMemory. (Closed)
Patch Set: master: compile_fix Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_tile_manager.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index 1136708ebde1b4d5a1cfc7c145d4669391db74c0..7a47febe84c08d20255dcca96ca1e46723c2fbf5 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -100,7 +100,8 @@ class CC_EXPORT TileManager {
TileManager(TileManagerClient* client,
base::SequencedTaskRunner* task_runner,
size_t scheduled_raster_task_limit,
- bool use_partial_raster);
+ bool use_partial_raster,
+ bool check_tile_priority_inversion);
virtual ~TileManager();
// Assigns tile memory and schedules work to prepare tiles for drawing.
@@ -342,6 +343,7 @@ class CC_EXPORT TileManager {
std::unordered_map<Tile::Id, std::vector<DrawImage>> scheduled_draw_images_;
std::vector<scoped_refptr<TileTask>> locked_image_tasks_;
+ const bool check_tile_priority_inversion_;
base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_;
« no previous file with comments | « cc/test/fake_tile_manager.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698