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

Issue 2492583002: Decouple PassThroughImageTransportSurface from GpuCommandBufferStub (Closed)

Created:
4 years, 1 month ago by Fady Samuel
Modified:
4 years, 1 month ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Decouple PassThroughImageTransportSurface from GpuCommandBufferStub We would like to reuse PassThroughImageTransportSurface in InprocessCommandBuffer to track when a swap completes on various platforms. This signal is used by ozone, in particular, to advance the BufferQueue when the command buffer is out-of-process. GLRenderer is moving to the gpu process and so, in the short term, we'd like to use an InprocessCommandBuffer and InprocessContextProvider without losing functionality. BUG=661278 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/2b039432b32361aa1b772aa5fa878d43ac22eff6 Cr-Commit-Position: refs/heads/master@{#431100}

Patch Set 1 #

Patch Set 2 : Towards fixing Mac #

Patch Set 3 : Add missing file #

Patch Set 4 : Fix Android and Mac #

Patch Set 5 : Another mac fix #

Total comments: 10

Patch Set 6 : Addressed Antoine's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -73 lines) Patch
M gpu/ipc/service/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/ipc/service/gpu_command_buffer_stub.h View 1 2 3 4 chunks +9 lines, -9 lines 0 comments Download
M gpu/ipc/service/gpu_command_buffer_stub.cc View 1 2 3 5 chunks +33 lines, -21 lines 0 comments Download
M gpu/ipc/service/image_transport_surface.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_android.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A gpu/ipc/service/image_transport_surface_delegate.h View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
A gpu/ipc/service/image_transport_surface_delegate.cc View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_linux.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_mac.mm View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_overlay_mac.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_overlay_mac.mm View 1 2 3 4 5 6 chunks +8 lines, -12 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_win.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/ipc/service/pass_through_image_transport_surface.h View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M gpu/ipc/service/pass_through_image_transport_surface.cc View 1 2 3 4 5 5 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 35 (29 generated)
Fady Samuel
4 years, 1 month ago (2016-11-09 22:12:32 UTC) #20
piman
lgtm + nits https://codereview.chromium.org/2492583002/diff/80001/gpu/ipc/service/image_transport_surface_delegate.h File gpu/ipc/service/image_transport_surface_delegate.h (right): https://codereview.chromium.org/2492583002/diff/80001/gpu/ipc/service/image_transport_surface_delegate.h#newcode26 gpu/ipc/service/image_transport_surface_delegate.h:26: SwapBuffersCompleteParams(SwapBuffersCompleteParams&& other); nit: rule-of-3, add a ...
4 years, 1 month ago (2016-11-09 22:49:37 UTC) #25
Fady Samuel
CQ'ing. Thanks Antoine! https://codereview.chromium.org/2492583002/diff/80001/gpu/ipc/service/image_transport_surface_delegate.h File gpu/ipc/service/image_transport_surface_delegate.h (right): https://codereview.chromium.org/2492583002/diff/80001/gpu/ipc/service/image_transport_surface_delegate.h#newcode26 gpu/ipc/service/image_transport_surface_delegate.h:26: SwapBuffersCompleteParams(SwapBuffersCompleteParams&& other); On 2016/11/09 22:49:36, piman ...
4 years, 1 month ago (2016-11-09 23:28:11 UTC) #28
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/2492583002/100001
4 years, 1 month ago (2016-11-09 23:36:32 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-10 00:34:36 UTC) #33
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 00:38:26 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2b039432b32361aa1b772aa5fa878d43ac22eff6
Cr-Commit-Position: refs/heads/master@{#431100}

Powered by Google App Engine
This is Rietveld 408576698