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

Unified Diff: cc/tiles/image_decode_controller.h

Issue 1866043006: cc: Remove ScheduleOnOriginThread() and CompleteOnOriginThread(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 7 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/image_decode_controller.h
diff --git a/cc/tiles/image_decode_controller.h b/cc/tiles/image_decode_controller.h
index 10e93988ef9cd14fe351280bcfd2e60b5fd2550d..7d3f9346aeff116d1b53e1bf8e614652d7a72586 100644
--- a/cc/tiles/image_decode_controller.h
+++ b/cc/tiles/image_decode_controller.h
@@ -84,6 +84,11 @@ class CC_EXPORT ImageDecodeController {
// retaining cached resources longer than needed.
virtual void SetShouldAggressivelyFreeResources(
bool aggressively_free_resources) = 0;
+
+ // These functions process completion of image decode/upload tasks on origin
+ // thread (i.e. on the compositor thread called by the tile manager).
+ virtual void OnImageDecodeTaskCompleted(TileTask* task) = 0;
+ virtual void OnImageUploadTaskCompleted(TileTask* task) = 0;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698