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

Issue 8678028: Ensure swap is performed before informing compositor. (Closed)

Created:
9 years, 1 month ago by jbauman
Modified:
9 years, 1 month ago
Reviewers:
nfullagar, piman
CC:
chromium-reviews
Visibility:
Public.

Description

Ensure swap is performed before informing compositor. This can prevent a possible race condition. This can cause an issue for NaCl where the command buffer swap will occur even if the callback returns an error, but that just matches the normal pepper proxy's behavior, and shouldn't really cause any issues in practice. BUG=99643 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111465

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc View 2 chunks +1 line, -2 lines 1 comment Download
M ppapi/proxy/ppb_graphics_3d_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
jbauman
9 years, 1 month ago (2011-11-23 22:39:15 UTC) #1
piman
lgtm
9 years, 1 month ago (2011-11-23 22:43:22 UTC) #2
nfullagar
http://codereview.chromium.org/8678028/diff/1/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc File ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc (right): http://codereview.chromium.org/8678028/diff/1/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc#newcode245 ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc:245: impl()->SwapBuffers(); what's going to happen if the NaClSrpcError retval ...
9 years, 1 month ago (2011-11-23 22:51:18 UTC) #3
nfullagar
Sorry, just saw that this is already mentioned in the CL description. lgtm if it ...
9 years, 1 month ago (2011-11-23 22:53:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/8678028/1
9 years, 1 month ago (2011-11-23 23:58:23 UTC) #5
commit-bot: I haz the power
9 years, 1 month ago (2011-11-24 01:06:24 UTC) #6
Change committed as 111465

Powered by Google App Engine
This is Rietveld 408576698