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

Unified Diff: cc/tiles/tile_manager.h

Issue 1866043006: cc: Remove ScheduleOnOriginThread() and CompleteOnOriginThread(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip - fixed few unit tests Created 4 years, 8 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
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index 94eac03f030fb6114cd53958accef8b83f36fab0..3acb0ed3057559c6c0efb2ac617bdf1a92e6520e 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -242,10 +242,8 @@ class CC_EXPORT TileManager {
int resource_count_;
};
- void OnRasterTaskCompleted(
- Tile::Id tile,
- Resource* resource,
- bool was_canceled);
+ void CheckAndProcessCompletedTasks();
+ void CompleteRasterTask(Tile* tile, Resource* resource, bool was_canceled);
void FreeResourcesForTile(Tile* tile);
void FreeResourcesForTileAndNotifyClientIfTileWasReadyToDraw(Tile* tile);
@@ -298,7 +296,7 @@ class CC_EXPORT TileManager {
bool all_tiles_that_need_to_be_rasterized_are_scheduled_;
MemoryHistory::Entry memory_stats_from_last_assign_;
- bool did_check_for_completed_tasks_since_last_schedule_tasks_;
+ bool did_check_and_process_completed_tasks_since_last_schedule_tasks_;
bool did_oom_on_last_assign_;
ImageDecodeController* image_decode_controller_;

Powered by Google App Engine
This is Rietveld 408576698