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

Issue 2461003003: Reduce GPU mailbox size to 16 bytes (Closed)

Created:
4 years, 1 month ago by piman
Modified:
4 years, 1 month ago
Reviewers:
Zhenyao Mo, dcheng
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), tguilbert
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce GPU mailbox size to 16 bytes 16 bytes is enough entropy. This is a precursor to replacing gpu::Mailbox by base::UnguessableToken (which is 16 bytes). BUG=660138 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/02b9c4e04a6c4fbcee7d3a6902145a43110bff1e Cr-Commit-Position: refs/heads/master@{#428881}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -232 lines) Patch
M cc/ipc/cc_param_traits_unittest.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M cc/ipc/struct_traits_unittest.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 4 chunks +0 lines, -192 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/mailbox.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/ipc/common/mailbox.mojom View 1 chunk +1 line, -1 line 0 comments Download
M gpu/ipc/common/struct_traits_unittest.cc View 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
piman
zmo: please review dcheng: gpu/ipc and overall security soundness
4 years, 1 month ago (2016-10-29 00:22:38 UTC) #5
Zhenyao Mo
On 2016/10/29 00:22:38, piman wrote: > zmo: please review > dcheng: gpu/ipc and overall security ...
4 years, 1 month ago (2016-10-29 00:27:46 UTC) #6
dcheng
ipc lgtm https://codereview.chromium.org/2461003003/diff/1/gpu/GLES2/gl2extchromium.h File gpu/GLES2/gl2extchromium.h (right): https://codereview.chromium.org/2461003003/diff/1/gpu/GLES2/gl2extchromium.h#newcode22 gpu/GLES2/gl2extchromium.h:22: #define GL_MAILBOX_SIZE_CHROMIUM 16 Unrelated, but we could ...
4 years, 1 month ago (2016-10-29 00:32:23 UTC) #7
piman
On Fri, Oct 28, 2016 at 5:32 PM, <dcheng@chromium.org> wrote: > ipc lgtm > > ...
4 years, 1 month ago (2016-10-29 00:33:57 UTC) #8
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/2461003003/1
4 years, 1 month ago (2016-10-29 00:34:41 UTC) #12
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/2461003003/20001
4 years, 1 month ago (2016-10-29 00:39:52 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/307490)
4 years, 1 month ago (2016-10-29 01:52:01 UTC) #17
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/2461003003/20001
4 years, 1 month ago (2016-10-31 22:56:01 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-01 00:26:41 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 00:29:41 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/02b9c4e04a6c4fbcee7d3a6902145a43110bff1e
Cr-Commit-Position: refs/heads/master@{#428881}

Powered by Google App Engine
This is Rietveld 408576698