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

Issue 2349463003: MediaService: Implement GetChannelToken IPC (Closed)

Created:
4 years, 3 months ago by sandersd (OOO until July 31)
Modified:
4 years, 3 months ago
Reviewers:
tguilbert, dcheng
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MediaService: Implement GetChannelToken IPC This new IPC provides a non-forgeable token identifying a GpuChannel so that it can be passed to Mojo services that want to share the same channel in the GPU process (namely VDAv2 in the MojoMediaApplication). For simplicity, the IPC is sync. It is handled on the IO thread in the GPU process, so latency is expected to be manageable (and vastly better that the already sync CreateVideoDecodeAccelerator IPC). BUG=522298 Committed: https://crrev.com/777e4aae05428625f99dcabddfdd4b581d6516d5 Cr-Commit-Position: refs/heads/master@{#419826}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Trust the refptrs. #

Patch Set 3 : Remove changes to media_channel.h. #

Patch Set 4 : base::UnguessableToken #

Total comments: 6

Patch Set 5 : Nits #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -1 line) Patch
M media/gpu/ipc/common/media_messages.h View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M media/gpu/ipc/service/media_channel.cc View 1 2 3 4 2 chunks +37 lines, -1 line 3 comments Download

Messages

Total messages: 26 (10 generated)
sandersd (OOO until July 31)
4 years, 3 months ago (2016-09-16 00:30:42 UTC) #2
dcheng
https://codereview.chromium.org/2349463003/diff/1/media/gpu/ipc/common/media_messages.h File media/gpu/ipc/common/media_messages.h (right): https://codereview.chromium.org/2349463003/diff/1/media/gpu/ipc/common/media_messages.h#newcode55 media/gpu/ipc/common/media_messages.h:55: uint64_t /* channel_token */) NonceToken is going to land ...
4 years, 3 months ago (2016-09-16 19:20:42 UTC) #4
sandersd (OOO until July 31)
On 2016/09/16 19:20:42, dcheng wrote: > https://codereview.chromium.org/2349463003/diff/1/media/gpu/ipc/common/media_messages.h > File media/gpu/ipc/common/media_messages.h (right): > > https://codereview.chromium.org/2349463003/diff/1/media/gpu/ipc/common/media_messages.h#newcode55 > ...
4 years, 3 months ago (2016-09-16 19:49:32 UTC) #5
sandersd (OOO until July 31)
PTAL.
4 years, 3 months ago (2016-09-19 22:21:51 UTC) #8
tguilbert
LGTM % nits (I am technically still not a full chromium committer however... So my ...
4 years, 3 months ago (2016-09-19 22:32:23 UTC) #9
sandersd (OOO until July 31)
https://codereview.chromium.org/2349463003/diff/80001/media/gpu/ipc/common/media_messages.h File media/gpu/ipc/common/media_messages.h (right): https://codereview.chromium.org/2349463003/diff/80001/media/gpu/ipc/common/media_messages.h#newcode8 media/gpu/ipc/common/media_messages.h:8: #include <stdint.h> On 2016/09/19 22:32:22, ThomasGuilbert wrote: > No ...
4 years, 3 months ago (2016-09-19 22:40:33 UTC) #10
dcheng
https://codereview.chromium.org/2349463003/diff/100001/media/gpu/ipc/service/media_channel.cc File media/gpu/ipc/service/media_channel.cc (right): https://codereview.chromium.org/2349463003/diff/100001/media/gpu/ipc/service/media_channel.cc#newcode66 media/gpu/ipc/service/media_channel.cc:66: void OnFilterAdded(IPC::Channel* channel) override { channel_ = channel; } ...
4 years, 3 months ago (2016-09-19 22:47:35 UTC) #11
sandersd (OOO until July 31)
https://codereview.chromium.org/2349463003/diff/100001/media/gpu/ipc/service/media_channel.cc File media/gpu/ipc/service/media_channel.cc (right): https://codereview.chromium.org/2349463003/diff/100001/media/gpu/ipc/service/media_channel.cc#newcode66 media/gpu/ipc/service/media_channel.cc:66: void OnFilterAdded(IPC::Channel* channel) override { channel_ = channel; } ...
4 years, 3 months ago (2016-09-19 22:55:49 UTC) #12
dcheng
lgtm https://codereview.chromium.org/2349463003/diff/100001/media/gpu/ipc/service/media_channel.cc File media/gpu/ipc/service/media_channel.cc (right): https://codereview.chromium.org/2349463003/diff/100001/media/gpu/ipc/service/media_channel.cc#newcode66 media/gpu/ipc/service/media_channel.cc:66: void OnFilterAdded(IPC::Channel* channel) override { channel_ = channel; ...
4 years, 3 months ago (2016-09-19 23:05:58 UTC) #13
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/2349463003/100001
4 years, 3 months ago (2016-09-19 23:08:21 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/262461)
4 years, 3 months ago (2016-09-19 23:17:01 UTC) #18
sandersd (OOO until July 31)
On 2016/09/19 23:17:01, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 3 months ago (2016-09-19 23:37:52 UTC) #19
dcheng
On 2016/09/19 23:37:52, sandersd wrote: > On 2016/09/19 23:17:01, commit-bot: I haz the power wrote: ...
4 years, 3 months ago (2016-09-19 23:40:42 UTC) #20
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/2349463003/100001
4 years, 3 months ago (2016-09-20 17:51:20 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 3 months ago (2016-09-20 18:40:28 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 18:42:59 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/777e4aae05428625f99dcabddfdd4b581d6516d5
Cr-Commit-Position: refs/heads/master@{#419826}

Powered by Google App Engine
This is Rietveld 408576698