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

Issue 131763003: cc: Fix logic for detecting when raster tasks were throttled (Closed)

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

Description

cc: Fix logic for detecting when raster tasks were throttled The PixelBufferRasterWorkerPool checks whether raster tasks were throttled to avoid notifying the client that all pending tasks were completed too early. The current logic for this fails if tasks from the previous graph were still active when we schedule a new graph. In these situations we end up thinking some tasks were throttled and will not schedule the final sentinel task to indicate work completion. This can lead to delayed tree activation. The fix is to only consider tasks from the new work queue when seeing if any got throttled. BUG=331534 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243962

Patch Set 1 #

Patch Set 2 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -3 lines) Patch
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 4 chunks +8 lines, -3 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 3 chunks +88 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Sami
6 years, 11 months ago (2014-01-09 17:59:48 UTC) #1
reveman
LGTM, thanks!
6 years, 11 months ago (2014-01-09 18:01:21 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/131763003/1
6 years, 11 months ago (2014-01-09 18:09:59 UTC) #3
commit-bot: I haz the power
Failed to apply patch for cc/resources/raster_worker_pool_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-09 18:10:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/131763003/50001
6 years, 11 months ago (2014-01-09 18:43:20 UTC) #5
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 20:18:57 UTC) #6
Message was sent while issue was closed.
Change committed as 243962

Powered by Google App Engine
This is Rietveld 408576698