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

Issue 2905823002: Add Mojo interfaces for GpuJpegDecodeAccelerator and GpuJpegDecodeAcceleratorHost (Closed)

Created:
3 years, 7 months ago by Chandan
Modified:
3 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, alokp+watch_chromium.org, chfremer+watch_chromium.org, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, mfoltz+watch_chromium.org, miu+watch_chromium.org, posciak+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, xjz+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Mojo interfaces for GpuJpegDecodeAccelerator and GpuJpegDecodeAcceleratorHost This CL is the first step towards mojification of GpuJpegDecodeAccelerator(GJDA) and GpuJpegDecodeAcceleratorHost(GJDAH). 1. Defines media::BitstreamBuffer and AcceleratedJpegDecoderMsg_Decode_Params for mojo. 2. GJDA and GJDAH implement these interfaces. Currently, these implementations are empty. BUG=699255 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 Review-Url: https://codereview.chromium.org/2905823002 Cr-Commit-Position: refs/heads/master@{#476712} Committed: https://chromium.googlesource.com/chromium/src/+/eed40bc79df20716a280b62fb3d1f1f0a40df0a1

Patch Set 1 #

Patch Set 2 : missing space #

Patch Set 3 : mojo interface #

Total comments: 16

Patch Set 4 : addressed review comments #

Patch Set 5 : added //ui/gfx/geometry/mojo to deps #

Total comments: 2

Patch Set 6 : updated comments #

Total comments: 8

Patch Set 7 : review comments + changed Initialize() to sync #

Total comments: 14

Patch Set 8 : addressed xhwang@'s review comments #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -0 lines) Patch
M media/gpu/ipc/client/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/gpu/ipc/client/gpu_jpeg_decode_accelerator_host.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M media/gpu/ipc/service/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -0 lines 0 comments Download
M media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
A media/gpu/mojo/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
A media/gpu/mojo/OWNERS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A media/gpu/mojo/jpeg_decoder.mojom View 1 2 3 4 5 6 7 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 94 (58 generated)
Chandan
PTAL. Thank you.
3 years, 7 months ago (2017-05-25 15:02:14 UTC) #6
chfremer
lgtm My feeling is that this CL is almost a bit too small. I would ...
3 years, 7 months ago (2017-05-25 21:46:28 UTC) #9
Chandan
On 2017/05/25 21:46:28, chfremer wrote: > lgtm > > My feeling is that this CL ...
3 years, 7 months ago (2017-05-26 02:28:10 UTC) #10
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/2905823002/20001
3 years, 7 months ago (2017-05-26 02:29:30 UTC) #12
Chandan
tsepez@, PTAL. Thank you.
3 years, 7 months ago (2017-05-26 02:36:34 UTC) #14
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/448335)
3 years, 7 months ago (2017-05-26 02:40:18 UTC) #16
mcasas
Some thoughts. Also please use Polygerrit ;-) https://polygerrit.appspot.com/ https://codereview.chromium.org/2905823002/diff/40001/media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc File media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc (right): https://codereview.chromium.org/2905823002/diff/40001/media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc#newcode459 media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc:459: CreateJpegDecoderCallback ...
3 years, 7 months ago (2017-05-26 14:40:00 UTC) #22
Chandan
https://codereview.chromium.org/2905823002/diff/40001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/40001/media/gpu/mojo/jpeg_decoder.mojom#newcode16 media/gpu/mojo/jpeg_decoder.mojom:16: }; On 2017/05/26 14:39:59, mcasas wrote: > I would ...
3 years, 7 months ago (2017-05-26 15:10:11 UTC) #23
mcasas
https://codereview.chromium.org/2905823002/diff/40001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/40001/media/gpu/mojo/jpeg_decoder.mojom#newcode26 media/gpu/mojo/jpeg_decoder.mojom:26: CreateJpegDecoder(GpuJpegDecodeAcceleratorClient client) => (bool success); On 2017/05/26 15:10:11, Chandan ...
3 years, 7 months ago (2017-05-26 15:36:14 UTC) #24
Tom Sepez
Where is the existing "IPC" equivalent? Can any of that be removed along with this ...
3 years, 7 months ago (2017-05-26 16:42:44 UTC) #27
chfremer
https://codereview.chromium.org/2905823002/diff/40001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/40001/media/gpu/mojo/jpeg_decoder.mojom#newcode26 media/gpu/mojo/jpeg_decoder.mojom:26: CreateJpegDecoder(GpuJpegDecodeAcceleratorClient client) => (bool success); Since this does not ...
3 years, 7 months ago (2017-05-26 18:12:13 UTC) #28
Chandan
PTAL @ps4. @Tom Sepez, you can find the existing IPCs here: https://cs.chromium.org/chromium/src/media/gpu/ipc/common/media_messages.h?l=211 This CL has ...
3 years, 6 months ago (2017-05-29 13:02:34 UTC) #33
Chandan
PTAL. Thank you.
3 years, 6 months ago (2017-05-30 12:54:25 UTC) #42
Tom Sepez
lgtm
3 years, 6 months ago (2017-05-30 17:27:42 UTC) #43
chfremer
PatchSet 5 lgtm % nit https://codereview.chromium.org/2905823002/diff/120001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/120001/media/gpu/mojo/jpeg_decoder.mojom#newcode34 media/gpu/mojo/jpeg_decoder.mojom:34: Initialize(GpuJpegDecodeAcceleratorClient client) => (bool ...
3 years, 6 months ago (2017-05-30 18:07:25 UTC) #44
mcasas
On 2017/05/30 18:07:25, chfremer wrote: > PatchSet 5 lgtm % nit > > https://codereview.chromium.org/2905823002/diff/120001/media/gpu/mojo/jpeg_decoder.mojom > ...
3 years, 6 months ago (2017-05-30 18:15:19 UTC) #45
Chandan
Thanks for the review. I think we need a lgtm from media/gpu OWNERS as well ...
3 years, 6 months ago (2017-05-31 13:19:58 UTC) #49
DaleCurtis
=>sandersd for review.
3 years, 6 months ago (2017-05-31 20:38:43 UTC) #53
sandersd (OOO until July 31)
+xhwang@ to review addition of //media/gpu/mojo directory. What is the fundamental reason for this addition? ...
3 years, 6 months ago (2017-06-01 00:07:20 UTC) #55
sandersd (OOO until July 31)
On 2017/06/01 00:07:20, sandersd wrote: > +xhwang@ to review addition of //media/gpu/mojo directory. > > ...
3 years, 6 months ago (2017-06-01 00:15:24 UTC) #56
Chandan
On 2017/06/01 00:15:24, sandersd wrote: > On 2017/06/01 00:07:20, sandersd wrote: > > +xhwang@ to ...
3 years, 6 months ago (2017-06-01 03:30:23 UTC) #57
xhwang
On 2017/06/01 03:30:23, Chandan wrote: > On 2017/06/01 00:15:24, sandersd wrote: > > On 2017/06/01 ...
3 years, 6 months ago (2017-06-01 05:17:03 UTC) #58
xhwang
https://codereview.chromium.org/2905823002/diff/140001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/140001/media/gpu/mojo/jpeg_decoder.mojom#newcode32 media/gpu/mojo/jpeg_decoder.mojom:32: interface GpuJpegDecodeAccelerator { Depending on how this interface interacts ...
3 years, 6 months ago (2017-06-01 05:17:19 UTC) #59
Chandan
https://codereview.chromium.org/2905823002/diff/140001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/140001/media/gpu/mojo/jpeg_decoder.mojom#newcode32 media/gpu/mojo/jpeg_decoder.mojom:32: interface GpuJpegDecodeAccelerator { On 2017/06/01 05:17:19, xhwang wrote: > ...
3 years, 6 months ago (2017-06-01 05:54:26 UTC) #60
Chandan
On 2017/06/01 05:17:03, xhwang wrote: > On 2017/06/01 03:30:23, Chandan wrote: > > On 2017/06/01 ...
3 years, 6 months ago (2017-06-01 05:59:42 UTC) #61
Chandan
PTAL @ps7. Thank you. https://codereview.chromium.org/2905823002/diff/160001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/160001/media/gpu/mojo/jpeg_decoder.mojom#newcode33 media/gpu/mojo/jpeg_decoder.mojom:33: [Sync] Sorry, didn't realize that ...
3 years, 6 months ago (2017-06-01 13:37:50 UTC) #66
xhwang
https://codereview.chromium.org/2905823002/diff/160001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/160001/media/gpu/mojo/jpeg_decoder.mojom#newcode19 media/gpu/mojo/jpeg_decoder.mojom:19: struct JpegDecodeInfo { This struct is not documented. You ...
3 years, 6 months ago (2017-06-01 16:59:01 UTC) #67
sandersd (OOO until July 31)
https://codereview.chromium.org/2905823002/diff/160001/media/mojo/interfaces/media_types.mojom File media/mojo/interfaces/media_types.mojom (right): https://codereview.chromium.org/2905823002/diff/160001/media/mojo/interfaces/media_types.mojom#newcode176 media/mojo/interfaces/media_types.mojom:176: struct BitstreamBuffer { On 2017/06/01 16:59:01, xhwang wrote: > ...
3 years, 6 months ago (2017-06-01 18:13:34 UTC) #68
Chandan
https://codereview.chromium.org/2905823002/diff/160001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/160001/media/gpu/mojo/jpeg_decoder.mojom#newcode19 media/gpu/mojo/jpeg_decoder.mojom:19: struct JpegDecodeInfo { On 2017/06/01 16:59:01, xhwang wrote: > ...
3 years, 6 months ago (2017-06-01 18:38:23 UTC) #69
xhwang
On 2017/06/01 18:13:34, sandersd wrote: > https://codereview.chromium.org/2905823002/diff/160001/media/mojo/interfaces/media_types.mojom > File media/mojo/interfaces/media_types.mojom (right): > > https://codereview.chromium.org/2905823002/diff/160001/media/mojo/interfaces/media_types.mojom#newcode176 > ...
3 years, 6 months ago (2017-06-01 18:45:54 UTC) #70
xhwang
https://codereview.chromium.org/2905823002/diff/160001/media/gpu/mojo/jpeg_decoder.mojom File media/gpu/mojo/jpeg_decoder.mojom (right): https://codereview.chromium.org/2905823002/diff/160001/media/gpu/mojo/jpeg_decoder.mojom#newcode33 media/gpu/mojo/jpeg_decoder.mojom:33: [Sync] On 2017/06/01 18:38:23, Chandan wrote: > On 2017/06/01 ...
3 years, 6 months ago (2017-06-01 18:49:19 UTC) #71
Chandan
PTAL @ps9. Thank you.
3 years, 6 months ago (2017-06-02 14:08:44 UTC) #84
xhwang
Thanks! This looks much cleaner! I agree with chfremer@ that this CL is a bit ...
3 years, 6 months ago (2017-06-02 16:40:16 UTC) #87
Chandan
On 2017/06/02 16:40:16, xhwang wrote: > Thanks! This looks much cleaner! > > I agree ...
3 years, 6 months ago (2017-06-02 17:38:47 UTC) #88
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/2905823002/220001
3 years, 6 months ago (2017-06-02 17:39:30 UTC) #91
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 17:45:23 UTC) #94
Message was sent while issue was closed.
Committed patchset #9 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/eed40bc79df20716a280b62fb3d1...

Powered by Google App Engine
This is Rietveld 408576698