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

Issue 1399173002: Reland: Added SyncToken command buffer trait to help with IPC messages (Closed)

Created:
5 years, 2 months ago by David Yen
Modified:
5 years, 2 months ago
Reviewers:
piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org, jbudorick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Added SyncToken command buffer trait to help with IPC messages Revert "Revert of Added SyncToken command buffer trait to help with IPC messages. (patchset #1 id:1 of https://codereview.chromium.org/1394543003/ )" This reverts commit 77970f1c3cd71d535a248d6e15f14081312b300a. This CL is relands the SyncToken command buffer trait changes but also fixes the alignment issues found on android. R=piman@chromium.org BUG=514815 Committed: https://crrev.com/1e5cd82449106d3550e4c896d42cc8af01197a4a Cr-Commit-Position: refs/heads/master@{#353555}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Read/Write SyncToken variables separately. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -59 lines) Patch
M content/common/gpu/gpu_command_buffer_stub.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 3 chunks +11 lines, -11 lines 0 comments Download
M gpu/command_buffer/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/constants.h View 1 chunk +0 lines, -5 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format.h View 2 chunks +0 lines, -20 lines 0 comments Download
A gpu/command_buffer/common/sync_token.h View 1 1 chunk +77 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 5 chunks +5 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager.h View 1 chunk +3 lines, -1 line 0 comments Download
M gpu/command_buffer/service/mailbox_manager_sync.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/tests/gl_fence_sync_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M gpu/command_buffer_common.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/gpu_command_buffer_traits.h View 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/ipc/gpu_command_buffer_traits.cc View 1 2 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
David Yen
5 years, 2 months ago (2015-10-10 01:26:40 UTC) #1
piman
https://codereview.chromium.org/1399173002/diff/1/gpu/ipc/gpu_command_buffer_traits.cc File gpu/ipc/gpu_command_buffer_traits.cc (right): https://codereview.chromium.org/1399173002/diff/1/gpu/ipc/gpu_command_buffer_traits.cc#newcode60 gpu/ipc/gpu_command_buffer_traits.cc:60: m->WriteBytes(&p, sizeof(p)); I'd suggest writing and reading each field ...
5 years, 2 months ago (2015-10-12 16:32:16 UTC) #2
David Yen
https://codereview.chromium.org/1399173002/diff/1/gpu/ipc/gpu_command_buffer_traits.cc File gpu/ipc/gpu_command_buffer_traits.cc (right): https://codereview.chromium.org/1399173002/diff/1/gpu/ipc/gpu_command_buffer_traits.cc#newcode60 gpu/ipc/gpu_command_buffer_traits.cc:60: m->WriteBytes(&p, sizeof(p)); On 2015/10/12 16:32:15, piman (slow to review) ...
5 years, 2 months ago (2015-10-12 16:57:44 UTC) #3
piman
lgtm
5 years, 2 months ago (2015-10-12 17:34:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399173002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399173002/20001
5 years, 2 months ago (2015-10-12 17:40:00 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-12 18:07:25 UTC) #7
commit-bot: I haz the power
5 years, 2 months ago (2015-10-12 18:08:46 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1e5cd82449106d3550e4c896d42cc8af01197a4a
Cr-Commit-Position: refs/heads/master@{#353555}

Powered by Google App Engine
This is Rietveld 408576698