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

Issue 99323005: [Mojo] Fix race condition in sample_app's SwapBuffers (Closed)

Created:
7 years ago by abarth-chromium
Modified:
7 years ago
Reviewers:
DaveMoore
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

[Mojo] Fix race condition in sample_app's SwapBuffers The in-process command buffer expects all of its callers to be on a single thread. Prior to this CL, we were bouncing back to the shell thread to call swap buffers. Now we call SwapBuffers from sample_app's thread. R=davemoore@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238223

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -21 lines) Patch
M mojo/examples/sample_app/native_viewport_client_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/examples/sample_app/sample_gles2_delegate.h View 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/examples/sample_app/sample_gles2_delegate.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/bindings/gles2_client/gles2_client_impl.h View 2 chunks +5 lines, -5 lines 0 comments Download
M mojo/public/bindings/gles2_client/gles2_client_impl.cc View 4 chunks +9 lines, -4 lines 0 comments Download
M mojo/services/gles2/gles2.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/gles2/gles2_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/gles2/gles2_impl.cc View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
abarth-chromium
7 years ago (2013-12-02 19:12:30 UTC) #1
DaveMoore
lgtm
7 years ago (2013-12-02 19:36:56 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/99323005/1
7 years ago (2013-12-02 20:23:48 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/99323005/1
7 years ago (2013-12-02 21:28:20 UTC) #4
commit-bot: I haz the power
7 years ago (2013-12-02 23:14:09 UTC) #5
Message was sent while issue was closed.
Change committed as 238223

Powered by Google App Engine
This is Rietveld 408576698