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

Issue 2651793007: Implemented StructTraits for cc::TextureMailbox (Closed)

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

Description

Implemented StructTraits for cc::TextureMailbox cc::CopyOutputRequest, which we soon need to send over mojo, has a cc::TextureMailbox. This CL creates a mojo struct for cc::TextureMailbox to be used in the mojo struct of cc::CopyOutputRequest in a future CL. We don't send shared_bitmap_ over IPC, and it's not a priority because cc::CopyOutputRequest doesn't need it. BUG=672071 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2651793007 Cr-Commit-Position: refs/heads/master@{#446811} Committed: https://chromium.googlesource.com/chromium/src/+/bf8eacc94d36e3718e5b74d5915f50422932e04d

Patch Set 1 #

Total comments: 6

Patch Set 2 : c #

Patch Set 3 : c #

Patch Set 4 : c #

Total comments: 2

Patch Set 5 : c #

Total comments: 4

Patch Set 6 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -0 lines) Patch
M cc/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/ipc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M cc/ipc/struct_traits_unittest.cc View 1 2 3 2 chunks +56 lines, -0 lines 0 comments Download
A cc/ipc/texture_mailbox.mojom View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
A cc/ipc/texture_mailbox.typemap View 1 chunk +11 lines, -0 lines 0 comments Download
A cc/ipc/texture_mailbox_struct_traits.h View 1 2 3 4 5 1 chunk +74 lines, -0 lines 0 comments Download
M cc/ipc/traits_test_service.mojom View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M cc/ipc/typemaps.gni View 1 chunk +1 line, -0 lines 0 comments Download
A cc/resources/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/resources/texture_mailbox.h View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (40 generated)
Fady Samuel
Minor things. Also, this needs a test. Please add a description of why you're adding ...
3 years, 11 months ago (2017-01-25 22:03:47 UTC) #5
Saman Sami
PTAL https://codereview.chromium.org/2651793007/diff/1/cc/ipc/texture_mailbox_struct_traits.h File cc/ipc/texture_mailbox_struct_traits.h (right): https://codereview.chromium.org/2651793007/diff/1/cc/ipc/texture_mailbox_struct_traits.h#newcode15 cc/ipc/texture_mailbox_struct_traits.h:15: static const gpu::MailboxHolder mailbox_holder( On 2017/01/25 22:03:47, Fady ...
3 years, 11 months ago (2017-01-25 23:04:00 UTC) #17
Fady Samuel
LGTM. Please pass to danakj@ and tsepez@. You can figure out the bitmap in the ...
3 years, 11 months ago (2017-01-25 23:31:38 UTC) #20
Saman Sami
tsepez@: Please review IPC. danakj@: Please review cc/
3 years, 11 months ago (2017-01-25 23:32:37 UTC) #22
Saman Sami
sky@: Please review cc/resources/DEPS
3 years, 11 months ago (2017-01-26 16:09:33 UTC) #28
Tom Sepez
mojom LGTM
3 years, 11 months ago (2017-01-26 17:26:13 UTC) #29
sky
https://codereview.chromium.org/2651793007/diff/60001/cc/resources/DEPS File cc/resources/DEPS (right): https://codereview.chromium.org/2651793007/diff/60001/cc/resources/DEPS#newcode2 cc/resources/DEPS:2: "+mojo/public/cpp/bindings/struct_traits.h", Don't you need to update deps in a ...
3 years, 11 months ago (2017-01-26 18:42:38 UTC) #34
Saman Sami
PTAL https://codereview.chromium.org/2651793007/diff/60001/cc/resources/DEPS File cc/resources/DEPS (right): https://codereview.chromium.org/2651793007/diff/60001/cc/resources/DEPS#newcode2 cc/resources/DEPS:2: "+mojo/public/cpp/bindings/struct_traits.h", On 2017/01/26 18:42:38, sky wrote: > Don't ...
3 years, 11 months ago (2017-01-26 18:46:38 UTC) #36
sky
LGTM
3 years, 11 months ago (2017-01-26 19:07:05 UTC) #40
Saman Sami
vmpstr@: Please review cc/
3 years, 10 months ago (2017-01-27 18:47:19 UTC) #42
vmpstr
https://codereview.chromium.org/2651793007/diff/80001/cc/ipc/texture_mailbox.mojom File cc/ipc/texture_mailbox.mojom (right): https://codereview.chromium.org/2651793007/diff/80001/cc/ipc/texture_mailbox.mojom#newcode11 cc/ipc/texture_mailbox.mojom:11: // TODO (samans): Add shared_bitmap. Typically no space between ...
3 years, 10 months ago (2017-01-27 21:08:06 UTC) #43
Saman Sami
PTAL https://codereview.chromium.org/2651793007/diff/80001/cc/ipc/texture_mailbox.mojom File cc/ipc/texture_mailbox.mojom (right): https://codereview.chromium.org/2651793007/diff/80001/cc/ipc/texture_mailbox.mojom#newcode11 cc/ipc/texture_mailbox.mojom:11: // TODO (samans): Add shared_bitmap. On 2017/01/27 21:08:05, ...
3 years, 10 months ago (2017-01-27 21:24:53 UTC) #46
vmpstr
lgtm
3 years, 10 months ago (2017-01-27 21:36:10 UTC) #47
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/2651793007/100001
3 years, 10 months ago (2017-01-27 22:53:50 UTC) #52
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 23:00:19 UTC) #55
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/bf8eacc94d36e3718e5b74d5915f...

Powered by Google App Engine
This is Rietveld 408576698