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

Issue 2726743002: gpu: Do not call MakeCurrent in wait sync token callback. (Closed)

Created:
3 years, 9 months ago by sunnyps
Modified:
3 years, 9 months ago
Reviewers:
jbauman
CC:
chromium-reviews, rjkroege, piman+watch_chromium.org, fuzzing_chromium.org, android-webview-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Do not call MakeCurrent in wait sync token callback. The wait sync token completion callback is called while commands are being processed in the releasing context. Therefore, it is not safe to call MakeCurrent on the waiting context and pull texture updates from MailboxManagerSync. Moreoever, the wait sync token command is executed again when the context is scheduled, and PullTextureUpdates will be called there. R=jbauman@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2726743002 Cr-Commit-Position: refs/heads/master@{#454728} Committed: https://chromium.googlesource.com/chromium/src/+/6125ed888b761ec02660821245615da02587008c

Patch Set 1 #

Patch Set 2 : gpu: Allow waiting on sync tokens without sync token client. #

Patch Set 3 : gpu: Do not call MakeCurrent in wait sync token callback. #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M gpu/ipc/service/gpu_command_buffer_stub.cc View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (14 generated)
sunnyps
This based on top of https://codereview.chromium.org/2722883002/ PS 3 contains the changes for this CL. PTAL
3 years, 9 months ago (2017-02-28 23:54:35 UTC) #4
jbauman
lgtm
3 years, 9 months ago (2017-03-03 22:23:55 UTC) #7
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/2726743002/60001
3 years, 9 months ago (2017-03-03 23:58:12 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-04 00:52:09 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/6125ed888b761ec0266082124561...

Powered by Google App Engine
This is Rietveld 408576698