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

Issue 12378053: Move Mailbox from cc to gpu, and its traits to gpu/ipc (Closed)

Created:
7 years, 9 months ago by piman
Modified:
7 years, 9 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, James Su
Visibility:
Public.

Description

Move Mailbox from cc to gpu, and its traits to gpu/ipc Mailbox is safer to IPC than coaxing it into a string, because otherwise we need to validate the size when coming from untrusted sources. This is to enable passing Mailbox through IPC without having to depend on cc. Among others I will need it to move Pepper to mailboxes, and pepper can't depend on cc. BUG=164095 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186006

Patch Set 1 #

Total comments: 4

Patch Set 2 : nits #

Patch Set 3 : rebase #

Patch Set 4 : fix component build #

Patch Set 5 : last gyp fixes? #

Patch Set 6 : ios hate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -87 lines) Patch
M cc/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/gl_frame_data.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resource_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/texture_layer_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M cc/texture_mailbox.h View 3 chunks +7 lines, -7 lines 0 comments Download
M cc/texture_mailbox.cc View 3 chunks +11 lines, -11 lines 0 comments Download
M cc/transferable_resource.h View 2 chunks +2 lines, -8 lines 0 comments Download
M cc/transferable_resource.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/cc_messages.h View 1 2 2 chunks +1 line, -8 lines 0 comments Download
M content/common/cc_messages.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/mailbox_output_surface.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/mailbox_output_surface.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
A gpu/command_buffer/common/mailbox.h View 1 chunk +23 lines, -0 lines 0 comments Download
A gpu/command_buffer/common/mailbox.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M gpu/command_buffer_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/ipc/gpu_command_buffer_traits.h View 2 chunks +12 lines, -0 lines 0 comments Download
M gpu/ipc/gpu_command_buffer_traits.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
piman
This is on top of 12371002 (mailbox output surface). jamesr: cc/ sievers: content/ apatrick: gpu/ ...
7 years, 9 months ago (2013-03-02 00:39:04 UTC) #1
apatrick_chromium
gpu/ LGTM
7 years, 9 months ago (2013-03-02 01:59:19 UTC) #2
jamesr
cc/ and content/renderer/ lgtm
7 years, 9 months ago (2013-03-02 02:09:36 UTC) #3
jschuh
lgtm. no significant change in ipc surface.
7 years, 9 months ago (2013-03-02 06:51:35 UTC) #4
no sievers
lgtm. yes, I kept putting that off, and we should really share this definition.
7 years, 9 months ago (2013-03-04 18:27:28 UTC) #5
no sievers
https://codereview.chromium.org/12378053/diff/1/gpu/command_buffer/common/mailbox.cc File gpu/command_buffer/common/mailbox.cc (right): https://codereview.chromium.org/12378053/diff/1/gpu/command_buffer/common/mailbox.cc#newcode5 gpu/command_buffer/common/mailbox.cc:5: #include "../common/mailbox.h" here and below: 'gpu/command_buffer/' instead of '../'? ...
7 years, 9 months ago (2013-03-04 18:27:40 UTC) #6
piman
https://codereview.chromium.org/12378053/diff/1/gpu/command_buffer/common/mailbox.cc File gpu/command_buffer/common/mailbox.cc (right): https://codereview.chromium.org/12378053/diff/1/gpu/command_buffer/common/mailbox.cc#newcode5 gpu/command_buffer/common/mailbox.cc:5: #include "../common/mailbox.h" On 2013/03/04 18:27:41, Daniel Sievers wrote: > ...
7 years, 9 months ago (2013-03-04 18:52:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/12378053/5003
7 years, 9 months ago (2013-03-04 18:52:20 UTC) #8
commit-bot: I haz the power
Failed to apply patch for content/renderer/gpu/mailbox_output_surface.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-04 18:52:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/12378053/6002
7 years, 9 months ago (2013-03-04 18:54:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/12378053/12001
7 years, 9 months ago (2013-03-04 19:13:54 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-04 19:42:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/12378053/14003
7 years, 9 months ago (2013-03-04 19:47:13 UTC) #13
commit-bot: I haz the power
Failed to trigger a try job on win7_aura HTTP Error 400: Bad Request
7 years, 9 months ago (2013-03-04 20:01:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/12378053/9008
7 years, 9 months ago (2013-03-04 20:01:49 UTC) #15
commit-bot: I haz the power
7 years, 9 months ago (2013-03-04 22:46:10 UTC) #16
Message was sent while issue was closed.
Change committed as 186006

Powered by Google App Engine
This is Rietveld 408576698