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

Issue 24153017: cc: Always check for completed raster tasks before scheduling more tasks. (Closed)

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

Description

cc: Always check for completed raster tasks before scheduling more tasks. RasterWorkerPool implementations assume that canceled raster tasks are not re-scheduled. The tile manager need to call CheckForCompletedTasks before scheduling more tasks to enforce this. BUG=290441 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224057

Patch Set 1 #

Total comments: 2

Patch Set 2 : add did_check_for_completed_tasks_since_last_schedule_tasks_ #

Patch Set 3 : fix unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M cc/resources/image_raster_worker_pool.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/tile_manager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 7 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
reveman
7 years, 3 months ago (2013-09-18 20:32:42 UTC) #1
vmpstr
lgtm https://codereview.chromium.org/24153017/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/24153017/diff/1/cc/resources/tile_manager.cc#newcode400 cc/resources/tile_manager.cc:400: raster_worker_pool_->CheckForCompletedTasks(); nit: Can you add a comment here, ...
7 years, 3 months ago (2013-09-18 20:39:36 UTC) #2
reveman
I changed the latest patch a bit to limit the change in behavior as much ...
7 years, 3 months ago (2013-09-18 21:48:30 UTC) #3
vmpstr
Makes sense, still lgtm
7 years, 3 months ago (2013-09-18 21:55:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/24153017/6001
7 years, 3 months ago (2013-09-18 21:58:30 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) cc_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=169414
7 years, 3 months ago (2013-09-18 22:49:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/24153017/25001
7 years, 3 months ago (2013-09-18 23:29:21 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=26200
7 years, 3 months ago (2013-09-18 23:39:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/24153017/25001
7 years, 3 months ago (2013-09-19 00:26:41 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-19 06:18:30 UTC) #10
Message was sent while issue was closed.
Change committed as 224057

Powered by Google App Engine
This is Rietveld 408576698