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

Issue 2126813003: cc: Tell scheduler the output surface is lost before releasing it. (Closed)

Created:
4 years, 5 months ago by danakj
Modified:
4 years, 5 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Tell scheduler the output surface is lost before releasing it. This matches the behaviour of ReleaseOutputSurface, and will prevent the scheduler from trying to activate when the surface is released. At the time the surface is lost in the scheduler, it will drop the active tree and activate the pending tree immediately. This avoids the state where we have a pending tree when the output surface is released, after doing ReleaseTreeResources. R=enne BUG=624075 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e702a318e280000fc7f7d81c08c8ed41caa14735 Cr-Commit-Position: refs/heads/master@{#403990}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M cc/trees/proxy_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
danakj
4 years, 5 months ago (2016-07-06 20:39:31 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2126813003/1
4 years, 5 months ago (2016-07-06 20:40:02 UTC) #4
danakj
I agree this isn't super ideal. The original goal was to avoid OutputSurface calling back ...
4 years, 5 months ago (2016-07-06 20:42:27 UTC) #5
enne (OOO)
I think this is fine as a crash fix. I can't think of a cleaner ...
4 years, 5 months ago (2016-07-06 20:44:54 UTC) #6
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/2126813003/1
4 years, 5 months ago (2016-07-06 21:13:06 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-06 23:57:09 UTC) #10
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 23:59:07 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e702a318e280000fc7f7d81c08c8ed41caa14735
Cr-Commit-Position: refs/heads/master@{#403990}

Powered by Google App Engine
This is Rietveld 408576698