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

Unified Diff: cc/resources/tile_task_runner.h

Issue 860813002: Remove the default format from ResourcePool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ResourceFormat from TileManager and call TileTaskRunner::GetResourceFormat() directly instea… Created 5 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/resources/tile_manager_perftest.cc ('k') | cc/resources/tile_task_worker_pool_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_task_runner.h
diff --git a/cc/resources/tile_task_runner.h b/cc/resources/tile_task_runner.h
index 1de0f4f54dad8bb387cb5e25698c2a6c12cb5e96..70c2c25e27d56f3c0a3e188a6700aff6041068df 100644
--- a/cc/resources/tile_task_runner.h
+++ b/cc/resources/tile_task_runner.h
@@ -160,6 +160,9 @@ class CC_EXPORT TileTaskRunner {
// Check for completed tasks and dispatch reply callbacks.
virtual void CheckForCompletedTasks() = 0;
+ // Returns the format to use for the tiles.
+ virtual ResourceFormat GetResourceFormat() = 0;
+
protected:
virtual ~TileTaskRunner() {}
};
« no previous file with comments | « cc/resources/tile_manager_perftest.cc ('k') | cc/resources/tile_task_worker_pool_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698