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

Issue 2398283002: Fix flakiness in LayerTreeHostCacheBehaviorOnOutputSurfaceRecreated (Closed)

Created:
4 years, 2 months ago by ericrk
Modified:
4 years, 2 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flakiness in LayerTreeHostCacheBehaviorOnOutputSurfaceRecreated We were relying on the ordering of WillBeginImplFrameOnThread and DidInitializeCompositorFrameSink, which is not reliable as these calls are async with regards to each other. This change switches to using WillBeginImplFrameOnThread and DidInitializeRendererOnThread, which are both compositor thread functions and will be ordered consistently. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/c70db2f7f0899c350ec8bb47bca750a3fbb87188 Cr-Commit-Position: refs/heads/master@{#423914}

Patch Set 1 #

Total comments: 4

Patch Set 2 : OutputSurface > CompositorFrameSink #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -12 lines) Patch
M cc/trees/layer_tree_host_unittest.cc View 1 2 chunks +15 lines, -12 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
ericrk
4 years, 2 months ago (2016-10-06 22:58:33 UTC) #5
danakj
LGTM https://codereview.chromium.org/2398283002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/2398283002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode590 cc/trees/layer_tree_host_unittest.cc:590: // Output surface lost expectations. oops. Output surface ...
4 years, 2 months ago (2016-10-06 23:37:38 UTC) #10
ericrk
https://codereview.chromium.org/2398283002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/2398283002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode590 cc/trees/layer_tree_host_unittest.cc:590: // Output surface lost expectations. On 2016/10/06 23:37:38, danakj ...
4 years, 2 months ago (2016-10-07 17:58:31 UTC) #13
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/2398283002/20001
4 years, 2 months ago (2016-10-07 17:58:42 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-07 18:25:48 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 18:30:49 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c70db2f7f0899c350ec8bb47bca750a3fbb87188
Cr-Commit-Position: refs/heads/master@{#423914}

Powered by Google App Engine
This is Rietveld 408576698