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

Issue 2064853002: Add timeout to swap fence (Closed)

Created:
4 years, 6 months ago by ericrk
Modified:
4 years, 6 months ago
Reviewers:
ccameron
CC:
chromium-reviews, piman+watch_chromium.org, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add timeout to swap fence In some cases (mainly on Mac OS 10.9), it appears that a glFence may never pass. To work around this issue (and make the code more robust in similar cases), a 32ms timeout has been added, after which we will just call glFinish rather than continuing to wait on the fence. Will add an UMA stat in a follow-up CL to make sure this is very rare on 10.9 - if this turns out to be at all common, we should probably modify 10.9 to indicate that it doesn't support glFence. BUG=618075 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/d84042a6b9b061fd319c0068bdd0c786a16fcc85 Cr-Commit-Position: refs/heads/master@{#399598}

Patch Set 1 #

Total comments: 4

Patch Set 2 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M gpu/ipc/service/image_transport_surface_overlay_mac.mm View 1 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 15 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064853002/1
4 years, 6 months ago (2016-06-13 20:59:09 UTC) #5
ccameron
lgtm. Would be nice to include a crbug ref for the issue, since it's pretty ...
4 years, 6 months ago (2016-06-13 22:16:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064853002/20001
4 years, 6 months ago (2016-06-13 22:22:09 UTC) #9
ericrk
https://codereview.chromium.org/2064853002/diff/1/gpu/ipc/service/image_transport_surface_overlay_mac.mm File gpu/ipc/service/image_transport_surface_overlay_mac.mm (right): https://codereview.chromium.org/2064853002/diff/1/gpu/ipc/service/image_transport_surface_overlay_mac.mm#newcode186 gpu/ipc/service/image_transport_surface_overlay_mac.mm:186: // fences appear to sometimes get lost and will ...
4 years, 6 months ago (2016-06-13 22:23:15 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-13 23:36:52 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-13 23:36:57 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 23:38:40 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d84042a6b9b061fd319c0068bdd0c786a16fcc85
Cr-Commit-Position: refs/heads/master@{#399598}

Powered by Google App Engine
This is Rietveld 408576698