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

Issue 1586883002: Converted Ppapi post swap buffer sync point to use sync tokens. (Closed)

Created:
4 years, 11 months ago by David Yen
Modified:
4 years, 11 months ago
Reviewers:
bbudge, raymes, dcheng, piman
CC:
bb8dd9090, chromium-reviews, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Converted Ppapi post swap buffer sync point to use sync tokens. This CL removes the sync point inserted directly from the command buffer after swap buffers and just uses GL to insert a fence sync after each swap buffer instead. BUG=514815 Committed: https://crrev.com/ddfdbbbf08df6ab8f1ca5f81330eed3e5100bc9c Cr-Commit-Position: refs/heads/master@{#369575}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added DCHECKs #

Total comments: 2

Patch Set 3 : Removed some .get() booleans #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -50 lines) Patch
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 chunk +3 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 8 chunks +18 lines, -17 lines 0 comments Download
M content/renderer/pepper/ppb_graphics_3d_impl.h View 4 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/pepper/ppb_graphics_3d_impl.cc View 1 4 chunks +14 lines, -10 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.h View 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.cc View 1 3 chunks +17 lines, -5 lines 0 comments Download
M ppapi/shared_impl/ppb_graphics_3d_shared.h View 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/shared_impl/ppb_graphics_3d_shared.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/thunk/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/ppb_graphics_3d_api.h View 2 chunks +6 lines, -1 line 0 comments Download
M ppapi/thunk/ppb_graphics_3d_thunk.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 21 (10 generated)
David Yen
4 years, 11 months ago (2016-01-14 00:07:11 UTC) #2
piman
LGTM! https://codereview.chromium.org/1586883002/diff/1/content/renderer/pepper/ppb_graphics_3d_impl.cc File content/renderer/pepper/ppb_graphics_3d_impl.cc (right): https://codereview.chromium.org/1586883002/diff/1/content/renderer/pepper/ppb_graphics_3d_impl.cc#newcode188 content/renderer/pepper/ppb_graphics_3d_impl.cc:188: gl->OrderingBarrierCHROMIUM(); nit: maybe DCHECK(!sync_token.HasData()) in this case. FYI ...
4 years, 11 months ago (2016-01-14 00:21:36 UTC) #3
David Yen
Added DCHECKs and a brief comment https://codereview.chromium.org/1586883002/diff/1/content/renderer/pepper/ppb_graphics_3d_impl.cc File content/renderer/pepper/ppb_graphics_3d_impl.cc (right): https://codereview.chromium.org/1586883002/diff/1/content/renderer/pepper/ppb_graphics_3d_impl.cc#newcode188 content/renderer/pepper/ppb_graphics_3d_impl.cc:188: gl->OrderingBarrierCHROMIUM(); On 2016/01/14 ...
4 years, 11 months ago (2016-01-14 00:36:38 UTC) #4
David Yen
Adding more owner reviewers +dcheng@ for ppapi_messages.h review. +bbudge@ for all the ppapi changes.
4 years, 11 months ago (2016-01-14 00:37:35 UTC) #6
dcheng
ipc changes lgtm https://codereview.chromium.org/1586883002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/1586883002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode787 content/renderer/pepper/pepper_plugin_instance_impl.cc:787: if (!texture_layer_.get()) { Nit: remove the ...
4 years, 11 months ago (2016-01-14 02:33:33 UTC) #10
David Yen
bbudge@ is out until 1-18 but I'll just wait for him to be back since ...
4 years, 11 months ago (2016-01-14 19:14:36 UTC) #11
piman
+raymes: can you take a look? (I already reviewed)
4 years, 11 months ago (2016-01-14 19:30:17 UTC) #13
raymes
lgtm
4 years, 11 months ago (2016-01-14 21:58:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586883002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586883002/40001
4 years, 11 months ago (2016-01-14 22:15:17 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-14 22:21:45 UTC) #19
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 22:22:36 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ddfdbbbf08df6ab8f1ca5f81330eed3e5100bc9c
Cr-Commit-Position: refs/heads/master@{#369575}

Powered by Google App Engine
This is Rietveld 408576698