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

Issue 2659703002: Implemented StructTraits for cc::CopyOutputResult (Closed)

Created:
3 years, 10 months ago by Saman Sami
Modified:
3 years, 10 months ago
CC:
Aaron Boodman, abarth-chromium, cc-bugs_chromium.org, chromium-reviews, darin (slow to review), miu+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, xjz+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implemented StructTraits for cc::CopyOutputResult MojoCompositorFrameSink needs to support copy requests, which means we need mojo definition and struct traits for cc::CopyOutputResult in order to send it over mojo. BUG=672071 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2659703002 Cr-Commit-Position: refs/heads/master@{#447589} Committed: https://chromium.googlesource.com/chromium/src/+/455475e2b6c5e7dffb2cc0ad8f86e37819deede7

Patch Set 1 #

Patch Set 2 : c #

Patch Set 3 : c #

Patch Set 4 : c #

Patch Set 5 : c #

Patch Set 6 : c #

Patch Set 7 : c #

Total comments: 6

Patch Set 8 : c #

Total comments: 12

Patch Set 9 : c #

Patch Set 10 : c #

Patch Set 11 : c #

Patch Set 12 : c #

Patch Set 13 : c #

Total comments: 6

Patch Set 14 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -6 lines) Patch
M cc/ipc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +6 lines, -0 lines 0 comments Download
A cc/ipc/copy_output_result.mojom View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
A cc/ipc/copy_output_result.typemap View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +15 lines, -0 lines 0 comments Download
A cc/ipc/copy_output_result_struct_traits.h View 1 2 3 4 5 6 7 8 1 chunk +35 lines, -0 lines 0 comments Download
A cc/ipc/copy_output_result_struct_traits.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +27 lines, -0 lines 0 comments Download
M cc/ipc/struct_traits_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +58 lines, -1 line 0 comments Download
M cc/ipc/texture_mailbox_struct_traits.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M cc/ipc/traits_test_service.mojom View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M cc/ipc/typemaps.gni View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/copy_output_result.h View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -2 lines 0 comments Download
M cc/output/copy_output_result.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M gpu/ipc/common/mailbox_holder_struct_traits.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 71 (53 generated)
Saman Sami
rockot@: Please review mojo vmpstr@: Please review cc/
3 years, 10 months ago (2017-01-31 19:42:43 UTC) #17
Fady Samuel
lgtm
3 years, 10 months ago (2017-01-31 19:44:57 UTC) #18
Ken Rockot(use gerrit already)
Mojo LGTM https://codereview.chromium.org/2659703002/diff/120001/cc/ipc/copy_output_result.mojom File cc/ipc/copy_output_result.mojom (right): https://codereview.chromium.org/2659703002/diff/120001/cc/ipc/copy_output_result.mojom#newcode7 cc/ipc/copy_output_result.mojom:7: import "cc/ipc/texture_mailbox.mojom"; Please add //cc/ipc:interfaces to this ...
3 years, 10 months ago (2017-01-31 20:16:35 UTC) #19
Ken Rockot(use gerrit already)
On 2017/01/31 at 20:16:35, Ken Rockot wrote: > Mojo LGTM > > https://codereview.chromium.org/2659703002/diff/120001/cc/ipc/copy_output_result.mojom > File ...
3 years, 10 months ago (2017-01-31 20:17:16 UTC) #20
Ken Rockot(use gerrit already)
Actually, somewhat serendipitously, this thread has been happening: https://groups.google.com/a/chromium.org/forum/?utm_medium=email&utm_source=footer#!msg/cxx/j5rFewBzSBQ/HofdareCAAAJ It sounds like as of an ...
3 years, 10 months ago (2017-01-31 20:20:09 UTC) #21
Saman Sami
https://codereview.chromium.org/2659703002/diff/120001/cc/ipc/copy_output_result.mojom File cc/ipc/copy_output_result.mojom (right): https://codereview.chromium.org/2659703002/diff/120001/cc/ipc/copy_output_result.mojom#newcode12 cc/ipc/copy_output_result.mojom:12: // Note: release_callback_ is not included. On 2017/01/31 20:16:35, ...
3 years, 10 months ago (2017-01-31 20:47:57 UTC) #24
vmpstr
https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result.mojom File cc/ipc/copy_output_result.mojom (right): https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result.mojom#newcode14 cc/ipc/copy_output_result.mojom:14: skia.mojom.Bitmap? bitmap; is '?' a mojom for optional? https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result_struct_traits.h ...
3 years, 10 months ago (2017-01-31 21:32:19 UTC) #27
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result.mojom File cc/ipc/copy_output_result.mojom (right): https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result.mojom#newcode14 cc/ipc/copy_output_result.mojom:14: skia.mojom.Bitmap? bitmap; On 2017/01/31 at 21:32:19, vmpstr wrote: > ...
3 years, 10 months ago (2017-01-31 21:46:20 UTC) #28
Saman Sami
PTAL https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result_struct_traits.h File cc/ipc/copy_output_result_struct_traits.h (right): https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result_struct_traits.h#newcode20 cc/ipc/copy_output_result_struct_traits.h:20: static SkBitmap null_bitmap; On 2017/01/31 21:32:19, vmpstr wrote: ...
3 years, 10 months ago (2017-02-01 15:51:58 UTC) #45
Ken Rockot(use gerrit already)
Still LGTM, with some nits https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result_struct_traits.h File cc/ipc/copy_output_result_struct_traits.h (right): https://codereview.chromium.org/2659703002/diff/140001/cc/ipc/copy_output_result_struct_traits.h#newcode20 cc/ipc/copy_output_result_struct_traits.h:20: static SkBitmap null_bitmap; On ...
3 years, 10 months ago (2017-02-01 16:04:55 UTC) #46
Saman Sami
https://codereview.chromium.org/2659703002/diff/240001/cc/ipc/BUILD.gn File cc/ipc/BUILD.gn (right): https://codereview.chromium.org/2659703002/diff/240001/cc/ipc/BUILD.gn#newcode134 cc/ipc/BUILD.gn:134: "//skia/public/interfaces:interfaces", On 2017/02/01 16:04:55, Ken Rockot wrote: > nit: ...
3 years, 10 months ago (2017-02-01 17:19:41 UTC) #51
vmpstr
cc lgtm
3 years, 10 months ago (2017-02-01 18:49:55 UTC) #54
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/2659703002/260001
3 years, 10 months ago (2017-02-01 19:00:31 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/354885)
3 years, 10 months ago (2017-02-01 19:10:19 UTC) #63
Saman Sami
tsepez@: Please review mojo for security.
3 years, 10 months ago (2017-02-01 19:33:38 UTC) #65
Tom Sepez
mojom LGTM
3 years, 10 months ago (2017-02-01 20:05:02 UTC) #66
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/2659703002/260001
3 years, 10 months ago (2017-02-01 20:07:46 UTC) #68
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 20:13:15 UTC) #71
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/455475e2b6c5e7dffb2cc0ad8f86...

Powered by Google App Engine
This is Rietveld 408576698