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

Issue 1460833002: gpu: Implement the new fence syncs in mojo command buffer. (Closed)

Created:
5 years, 1 month ago by Peng
Modified:
5 years ago
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Implement the new fence syncs in mojo command buffer. BUG=514815 Committed: https://crrev.com/3af1e58f871a6fd10efe23105fd20b495ab09d6c Cr-Commit-Position: refs/heads/master@{#361517}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Address issues #

Total comments: 11

Patch Set 3 : Update #

Total comments: 4

Patch Set 4 : Update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -63 lines) Patch
M components/mus/gles2/command_buffer_driver.h View 1 3 chunks +8 lines, -0 lines 0 comments Download
M components/mus/gles2/command_buffer_driver.cc View 6 chunks +28 lines, -18 lines 0 comments Download
M components/mus/gles2/command_buffer_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/mus/gles2/command_buffer_impl.cc View 1 2 chunks +11 lines, -3 lines 0 comments Download
M components/mus/gles2/command_buffer_local.h View 2 chunks +5 lines, -0 lines 0 comments Download
M components/mus/gles2/command_buffer_local.cc View 1 2 8 chunks +43 lines, -33 lines 0 comments Download
M components/mus/public/interfaces/command_buffer.mojom View 1 chunk +4 lines, -1 line 0 comments Download
M gpu/command_buffer/common/constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/gles2/command_buffer_client_impl.cc View 1 2 3 6 chunks +24 lines, -7 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
Peng
Hi David, could please take a look? Thanks.
5 years, 1 month ago (2015-11-18 20:02:01 UTC) #2
David Yen
https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc#newcode48 components/mus/gles2/command_buffer_driver.cc:48: : command_buffer_id_(g_next_command_buffer_id.GetNext()), This needs to be globally unique across ...
5 years, 1 month ago (2015-11-19 18:12:52 UTC) #3
David Yen
https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc#newcode48 components/mus/gles2/command_buffer_driver.cc:48: : command_buffer_id_(g_next_command_buffer_id.GetNext()), On 2015/11/19 18:12:52, David Yen wrote: > ...
5 years, 1 month ago (2015-11-20 00:47:14 UTC) #4
Peng
https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc#newcode48 components/mus/gles2/command_buffer_driver.cc:48: : command_buffer_id_(g_next_command_buffer_id.GetNext()), On 2015/11/20 00:47:13, David Yen wrote: > ...
5 years, 1 month ago (2015-11-20 17:41:15 UTC) #6
David Yen
https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc#newcode129 components/mus/gles2/command_buffer_driver.cc:129: sync_point_order_data_ = gpu::SyncPointOrderData::Create(); On 2015/11/20 17:41:15, Peng wrote: > ...
5 years, 1 month ago (2015-11-20 18:20:06 UTC) #7
Peng
https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1460833002/diff/1/components/mus/gles2/command_buffer_driver.cc#newcode129 components/mus/gles2/command_buffer_driver.cc:129: sync_point_order_data_ = gpu::SyncPointOrderData::Create(); On 2015/11/20 18:20:06, David Yen wrote: ...
5 years, 1 month ago (2015-11-20 20:32:15 UTC) #8
David Yen
Mostly looks good, a couple of comments. https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_driver.cc#newcode41 components/mus/gles2/command_buffer_driver.cc:41: base::StaticAtomicSequenceNumber g_next_command_buffer_id; ...
5 years, 1 month ago (2015-11-23 22:06:04 UTC) #9
piman
https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_driver.cc#newcode41 components/mus/gles2/command_buffer_driver.cc:41: base::StaticAtomicSequenceNumber g_next_command_buffer_id; On 2015/11/23 22:06:03, David Yen wrote: > ...
5 years, 1 month ago (2015-11-23 22:22:52 UTC) #10
Peng
https://codereview.chromium.org/1460833002/diff/20001/mojo/gles2/command_buffer_client_impl.cc File mojo/gles2/command_buffer_client_impl.cc (right): https://codereview.chromium.org/1460833002/diff/20001/mojo/gles2/command_buffer_client_impl.cc#newcode443 mojo/gles2/command_buffer_client_impl.cc:443: // All sync tokens must be flushed before being ...
5 years, 1 month ago (2015-11-23 22:35:09 UTC) #11
David Yen
https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_driver.cc File components/mus/gles2/command_buffer_driver.cc (right): https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_driver.cc#newcode41 components/mus/gles2/command_buffer_driver.cc:41: base::StaticAtomicSequenceNumber g_next_command_buffer_id; On 2015/11/23 22:22:52, piman (slow to review) ...
5 years, 1 month ago (2015-11-23 22:40:32 UTC) #12
piman
https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_local.cc File components/mus/gles2/command_buffer_local.cc (right): https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_local.cc#newcode259 components/mus/gles2/command_buffer_local.cc:259: // All sync tokens must be flushed before being ...
5 years, 1 month ago (2015-11-23 22:41:46 UTC) #13
David Yen
https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_local.cc File components/mus/gles2/command_buffer_local.cc (right): https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_local.cc#newcode259 components/mus/gles2/command_buffer_local.cc:259: // All sync tokens must be flushed before being ...
5 years, 1 month ago (2015-11-23 22:42:18 UTC) #14
Peng
https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_local.cc File components/mus/gles2/command_buffer_local.cc (right): https://codereview.chromium.org/1460833002/diff/20001/components/mus/gles2/command_buffer_local.cc#newcode259 components/mus/gles2/command_buffer_local.cc:259: // All sync tokens must be flushed before being ...
5 years ago (2015-11-24 15:29:49 UTC) #15
piman
LGTM when David is happy. https://codereview.chromium.org/1460833002/diff/40001/mojo/gles2/command_buffer_client_impl.cc File mojo/gles2/command_buffer_client_impl.cc (right): https://codereview.chromium.org/1460833002/diff/40001/mojo/gles2/command_buffer_client_impl.cc#newcode91 mojo/gles2/command_buffer_client_impl.cc:91: CHECK_EQ(command_buffer_namespace, gpu::CommandBufferNamespace::MOJO); nit: DCHECK_EQ ...
5 years ago (2015-11-24 21:49:45 UTC) #16
David Yen
LGTM although you will need mojo reviewers, thanks for doing this.
5 years ago (2015-11-24 22:26:47 UTC) #17
Peng
https://codereview.chromium.org/1460833002/diff/40001/mojo/gles2/command_buffer_client_impl.cc File mojo/gles2/command_buffer_client_impl.cc (right): https://codereview.chromium.org/1460833002/diff/40001/mojo/gles2/command_buffer_client_impl.cc#newcode91 mojo/gles2/command_buffer_client_impl.cc:91: CHECK_EQ(command_buffer_namespace, gpu::CommandBufferNamespace::MOJO); On 2015/11/24 21:49:45, piman (slow to review) ...
5 years ago (2015-11-24 22:52:09 UTC) #18
Peng
Hi Ben, PTAL. Thanks.
5 years ago (2015-11-24 22:52:40 UTC) #20
Ben Goodger (Google)
rubber stamp lgtm
5 years ago (2015-11-24 22:54:06 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460833002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460833002/60001
5 years ago (2015-11-24 22:55:52 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-11-25 01:42:03 UTC) #25
commit-bot: I haz the power
5 years ago (2015-11-25 01:43:25 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3af1e58f871a6fd10efe23105fd20b495ab09d6c
Cr-Commit-Position: refs/heads/master@{#361517}

Powered by Google App Engine
This is Rietveld 408576698