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

Unified Diff: cc/raster/tile_task_worker_pool.h

Issue 1470113002: Move TaskGraph creation to TileManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pinchfix
Patch Set: feedback Created 5 years 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/raster/tile_task_runner.cc ('k') | cc/raster/tile_task_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/tile_task_worker_pool.h
diff --git a/cc/raster/tile_task_worker_pool.h b/cc/raster/tile_task_worker_pool.h
index 6657b9af057a9694def1d8cf83483068ad82faaa..6b550fa2f2da344215d4206065da1286c6cd3eef 100644
--- a/cc/raster/tile_task_worker_pool.h
+++ b/cc/raster/tile_task_worker_pool.h
@@ -19,40 +19,14 @@ class RenderingStatsInstrumentation;
class CC_EXPORT TileTaskWorkerPool {
public:
- static size_t kBenchmarkTaskPriority;
- static size_t kTaskSetFinishedTaskPriorityBase;
- static size_t kTileTaskPriorityBase;
-
TileTaskWorkerPool();
virtual ~TileTaskWorkerPool();
- // Utility function that can be used to create a "Task set finished" task that
- // posts |callback| to |task_runner| when run.
- static scoped_refptr<TileTask> CreateTaskSetFinishedTask(
- base::SequencedTaskRunner* task_runner,
- const base::Closure& callback);
-
// Utility function that can be used to call ::ScheduleOnOriginThread() for
// each task in |graph|.
static void ScheduleTasksOnOriginThread(TileTaskClient* client,
TaskGraph* graph);
- // Utility function that can be used to build a task graph. Inserts a node
- // that represents |task| in |graph|. See TaskGraph definition for valid
- // |priority| values.
- static void InsertNodeForTask(TaskGraph* graph,
- TileTask* task,
- size_t priority,
- size_t dependencies);
-
- // Utility function that can be used to build a task graph. Inserts nodes that
- // represent |task| and all its image decode dependencies in |graph|.
- static void InsertNodesForRasterTask(
- TaskGraph* graph,
- RasterTask* task,
- const ImageDecodeTask::Vector& decode_tasks,
- size_t priority);
-
// Utility function that will create a temporary bitmap and copy pixels to
// |memory| when necessary. The |canvas_bitmap_rect| is the rect of the bitmap
// being played back in the pixel space of the source, ie a rect in the source
« no previous file with comments | « cc/raster/tile_task_runner.cc ('k') | cc/raster/tile_task_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698