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

Issue 2636323002: cc: Fix missing ready to activate/draw callbacks. (Closed)

Created:
3 years, 11 months ago by sunnyps
Modified:
3 years, 11 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Fix missing ready to activate/draw callbacks. Missing NotifyReadyToActivate/Draw can cause the renderer/browser compositor to hang. This shows as a ChromeOS hang when overview mode is toggled continuously and as a renderer hang crash report. It's possible for TileManager to get into a state where it hits the raster task limit and the only tiles left after running a set of tasks are solid color tiles which are required for activate/draw. These solid color tiles are marked as ready to draw in AssignGpuMemoryToTiles and therefore ready to activate/draw callbacks aren't scheduled. It is not known how TileManager gets into this state except that certain tiling sets are marked as done thereby removing non-solid color tiles between PrepareTiles and the ready to activate/draw checks. R=vmpstr@chromium.org BUG=679970, 622080 TEST=TileManagerTest.AllWorkFinished CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2636323002 Cr-Commit-Position: refs/heads/master@{#444204} Committed: https://chromium.googlesource.com/chromium/src/+/a8ad82c005ae878c448ae500b3f7b5e3a880ad56

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -12 lines) Patch
M cc/tiles/tile_manager.h View 2 chunks +3 lines, -1 line 0 comments Download
M cc/tiles/tile_manager.cc View 2 chunks +6 lines, -9 lines 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 6 chunks +27 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
sunnyps
PTAL I've verified that the test fails with ToT and passes with the patch.
3 years, 11 months ago (2017-01-17 23:30:50 UTC) #4
vmpstr
lgtm
3 years, 11 months ago (2017-01-17 23:37:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2636323002/1
3 years, 11 months ago (2017-01-17 23:42:24 UTC) #8
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 00:34:56 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a8ad82c005ae878c448ae500b3f7...

Powered by Google App Engine
This is Rietveld 408576698