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

Issue 1854953002: Plumb GpuSwapBuffers completion from Mus GPU thread to WS thread (Closed)

Created:
4 years, 8 months ago by rjkroege
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumb GpuSwapBuffers completion from Mus GPU thread to WS thread Add the necessary code to plumb the SwapBuffersAsync completion indication from Mus GPU thread back to the invoking WS thread. BUG=596549 Committed: https://crrev.com/224cf40b93b5bde158e61610e8fd233ab5f776ca Cr-Commit-Position: refs/heads/master@{#384760}

Patch Set 1 #

Total comments: 4

Patch Set 2 : review nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -28 lines) Patch
M components/mus/gles2/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M components/mus/gles2/command_buffer_driver.h View 4 chunks +8 lines, -2 lines 0 comments Download
M components/mus/gles2/command_buffer_driver.cc View 1 3 chunks +16 lines, -1 line 1 comment Download
M components/mus/gles2/command_buffer_impl.h View 2 chunks +8 lines, -2 lines 0 comments Download
M components/mus/gles2/command_buffer_impl.cc View 3 chunks +6 lines, -18 lines 0 comments Download
M components/mus/gles2/command_buffer_local.h View 2 chunks +4 lines, -2 lines 0 comments Download
M components/mus/gles2/command_buffer_local.cc View 3 chunks +16 lines, -0 lines 0 comments Download
M components/mus/gles2/command_buffer_local_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
A components/mus/gles2/gl_surface_adapter.h View 1 1 chunk +71 lines, -0 lines 0 comments Download
A components/mus/gles2/gl_surface_adapter.cc View 1 chunk +57 lines, -0 lines 0 comments Download
M components/mus/surfaces/surfaces_context_provider.h View 4 chunks +8 lines, -0 lines 0 comments Download
M components/mus/surfaces/surfaces_context_provider.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M components/mus/surfaces/top_level_display_client.h View 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
rjkroege
PTAL
4 years, 8 months ago (2016-04-01 23:18:57 UTC) #2
Fady Samuel
LGTM + nits. https://codereview.chromium.org/1854953002/diff/1/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1854953002/diff/1/components/mus/gles2/command_buffer_driver.cc#newcode89 components/mus/gles2/command_buffer_driver.cc:89: scoped_refptr<GLSurfaceAdapterMus> s = nit: better variable ...
4 years, 8 months ago (2016-04-01 23:24:42 UTC) #3
rjkroege
https://codereview.chromium.org/1854953002/diff/1/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1854953002/diff/1/components/mus/gles2/command_buffer_driver.cc#newcode89 components/mus/gles2/command_buffer_driver.cc:89: scoped_refptr<GLSurfaceAdapterMus> s = On 2016/04/01 23:24:42, Fady Samuel wrote: ...
4 years, 8 months ago (2016-04-01 23:58:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854953002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854953002/20001
4 years, 8 months ago (2016-04-01 23:59:29 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-02 00:47:18 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/224cf40b93b5bde158e61610e8fd233ab5f776ca Cr-Commit-Position: refs/heads/master@{#384760}
4 years, 8 months ago (2016-04-02 00:48:27 UTC) #10
brucedawson
https://codereview.chromium.org/1854953002/diff/20001/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1854953002/diff/20001/components/mus/gles2/command_buffer_driver.cc#newcode85 components/mus/gles2/command_buffer_driver.cc:85: static scoped_refptr<gfx::GLSurface> underlying_surface; What is this line for? underlying_surface ...
4 years, 8 months ago (2016-04-12 00:40:36 UTC) #12
rjkroege
4 years, 8 months ago (2016-04-12 01:27:29 UTC) #13
Message was sent while issue was closed.
On 2016/04/12 00:40:36, brucedawson wrote:
>
https://codereview.chromium.org/1854953002/diff/20001/components/mus/gles2/co...
> File components/mus/gles2/command_buffer_driver.cc (right):
> 
>
https://codereview.chromium.org/1854953002/diff/20001/components/mus/gles2/co...
> components/mus/gles2/command_buffer_driver.cc:85: static
> scoped_refptr<gfx::GLSurface> underlying_surface;
> What is this line for? underlying_surface is never used in this change.
> 
> In the subsequent change:
>
https://codereview.chromium.org/1857243005/diff/80001/components/mus/gles2/co...
> then underlying_surface is used, but it is also redeclared so that the static
> local continues to be unnecessary. Delete?
> 
> This was found by VC++'s /analyze, crbug.com/427616.

Thanks for finding my bad rebase. Fixed:
https://codereview.chromium.org/1875303003/

Powered by Google App Engine
This is Rietveld 408576698