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

Issue 140333006: cc: Move internal::Task::did_schedule_ to internal::WorkerPoolTask. (Closed)

Created:
6 years, 10 months ago by reveman
Modified:
6 years, 10 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Move internal::Task::did_schedule_ to internal::WorkerPoolTask. This moves the task scheduling notion out of the TaskGraphRunner and into the RasterWorkerPool. This is a more appropriate place to handle this and required as tasks need to complete multiple times when used with PixelRasterWorkerPool. BUG=339201 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249236

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 7

Patch Set 3 : address review feedback #

Patch Set 4 : schedule once per complete #

Patch Set 5 : rebase #

Patch Set 6 : fix cc_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -36 lines) Patch
M cc/resources/image_raster_worker_pool.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/image_raster_worker_pool.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 2 3 4 4 chunks +3 lines, -1 line 0 comments Download
M cc/resources/raster_worker_pool.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 2 3 4 5 chunks +34 lines, -7 lines 0 comments Download
M cc/resources/raster_worker_pool_perftest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M cc/resources/task_graph_runner.h View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/resources/task_graph_runner.cc View 2 chunks +2 lines, -9 lines 0 comments Download
M cc/resources/task_graph_runner_perftest.cc View 1 chunk +1 line, -4 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
reveman
6 years, 10 months ago (2014-02-05 02:51:47 UTC) #1
vmpstr
https://codereview.chromium.org/140333006/diff/40001/cc/resources/raster_worker_pool.cc File cc/resources/raster_worker_pool.cc (right): https://codereview.chromium.org/140333006/diff/40001/cc/resources/raster_worker_pool.cc#newcode635 cc/resources/raster_worker_pool.cc:635: internal::WorkerPoolTask* task = Can you do a DCHECK here ...
6 years, 10 months ago (2014-02-05 16:56:23 UTC) #2
reveman
https://codereview.chromium.org/140333006/diff/40001/cc/resources/raster_worker_pool.cc File cc/resources/raster_worker_pool.cc (right): https://codereview.chromium.org/140333006/diff/40001/cc/resources/raster_worker_pool.cc#newcode635 cc/resources/raster_worker_pool.cc:635: internal::WorkerPoolTask* task = On 2014/02/05 16:56:23, vmpstr wrote: > ...
6 years, 10 months ago (2014-02-05 17:59:59 UTC) #3
vmpstr
https://codereview.chromium.org/140333006/diff/40001/cc/resources/raster_worker_pool.cc File cc/resources/raster_worker_pool.cc (right): https://codereview.chromium.org/140333006/diff/40001/cc/resources/raster_worker_pool.cc#newcode635 cc/resources/raster_worker_pool.cc:635: internal::WorkerPoolTask* task = On 2014/02/05 18:00:00, David Reveman wrote: ...
6 years, 10 months ago (2014-02-05 18:07:42 UTC) #4
reveman
https://codereview.chromium.org/140333006/diff/40001/cc/resources/raster_worker_pool.cc File cc/resources/raster_worker_pool.cc (right): https://codereview.chromium.org/140333006/diff/40001/cc/resources/raster_worker_pool.cc#newcode635 cc/resources/raster_worker_pool.cc:635: internal::WorkerPoolTask* task = On 2014/02/05 18:07:42, vmpstr wrote: > ...
6 years, 10 months ago (2014-02-05 19:52:41 UTC) #5
vmpstr
lgtm
6 years, 10 months ago (2014-02-05 19:55:32 UTC) #6
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-05 20:33:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/140333006/320001
6 years, 10 months ago (2014-02-05 20:47:32 UTC) #8
reveman
The CQ bit was unchecked by reveman@chromium.org
6 years, 10 months ago (2014-02-05 21:47:33 UTC) #9
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-05 21:47:50 UTC) #10
commit-bot: I haz the power
Failed to trigger a try job on linux_rel HTTP Error 400: Bad Request
6 years, 10 months ago (2014-02-05 22:09:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/140333006/540001
6 years, 10 months ago (2014-02-05 22:09:49 UTC) #12
commit-bot: I haz the power
6 years, 10 months ago (2014-02-06 02:34:17 UTC) #13
Message was sent while issue was closed.
Change committed as 249236

Powered by Google App Engine
This is Rietveld 408576698