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

Issue 10826296: Introduce shared_memory_support media target for PPAPI (Closed)

Created:
8 years, 4 months ago by DaleCurtis
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Introduce shared_memory_support media target for PPAPI. Allows PPAPI to directly utilize shared memory utility code instead of duplicating it and CHECK'ing for equivalency. Required to eventually convert PPAPI to using an AudioBus and floats in PPB_Audio_Shared::Run(). http://crbug.com/114700 BUG=123203 TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152406 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153262

Patch Set 1 #

Total comments: 6

Patch Set 2 : Comments. #

Patch Set 3 : Compiles! #

Total comments: 11

Patch Set 4 : Comments. Clean up dependencies. #

Patch Set 5 : Fix android compile by keeping shared files in one target. #

Patch Set 6 : Bite the bullet and make dependencies explicit. #

Total comments: 2

Patch Set 7 : Comments. Rebase. #

Patch Set 8 : MEDIA_EXPORT. #

Patch Set 9 : Rebase. #

Patch Set 10 : Attempt ARMEL fix, #

Total comments: 2

Patch Set 11 : SizeSize => Size #

Patch Set 12 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -176 lines) Patch
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/audio_sync_reader.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -5 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/audio_output_controller.h View 1 chunk +0 lines, -4 lines 0 comments Download
M media/audio/audio_output_controller.cc View 2 chunks +1 line, -3 lines 0 comments Download
M media/audio/audio_output_device.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M media/audio/audio_output_device_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/audio/audio_util.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -15 lines 0 comments Download
M media/audio/audio_util.cc View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -57 lines 0 comments Download
A media/audio/shared_memory_util.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +39 lines, -0 lines 0 comments Download
A media/audio/shared_memory_util.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +70 lines, -0 lines 0 comments Download
M media/base/channel_layout.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -4 lines 0 comments Download
M media/base/channel_layout.cc View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +23 lines, -7 lines 0 comments Download
A + media/media_untrusted.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -13 lines 0 comments Download
A media/shared_memory_support.gypi View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
M ppapi/native_client/native_client.gyp View 1 2 3 4 5 6 7 8 9 10 11 18 chunks +27 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_audio_rpc_server.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -8 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio.cc View 1 2 5 chunks +7 lines, -18 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy_untrusted.gyp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.gyp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_host.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/ppapi_internal.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/ppapi_shared_untrusted.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/ppb_audio_shared.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ppapi/shared_impl/ppb_audio_shared.cc View 4 chunks +6 lines, -29 lines 0 comments Download
M webkit/plugins/ppapi/ppb_audio_impl.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
DaleCurtis
PTAL guys. I'm not sure what I should be doing with the ppapi_shared_untrusted gyp. I ...
8 years, 4 months ago (2012-08-14 04:31:51 UTC) #1
DaleCurtis
On 2012/08/14 04:31:51, DaleCurtis wrote: > PTAL guys. I'm not sure what I should be ...
8 years, 4 months ago (2012-08-14 04:34:10 UTC) #2
scherkus (not reviewing)
brettw: care to weigh in on PPAPI gyp dependencies + targets for untrusted code? https://chromiumcodereview.appspot.com/10826296/diff/1/media/audio/shared_memory_util.cc ...
8 years, 4 months ago (2012-08-14 19:27:33 UTC) #3
DaleCurtis
Done. croger's suggested +nfullagar might be a better reviewer. brettw to cc. https://chromiumcodereview.appspot.com/10826296/diff/1/media/audio/shared_memory_util.cc File media/audio/shared_memory_util.cc ...
8 years, 4 months ago (2012-08-15 01:11:14 UTC) #4
nfullagar
quick comment for NaCl: I think you're going to want to also make changes for ...
8 years, 4 months ago (2012-08-15 18:01:56 UTC) #5
DaleCurtis
On 2012/08/15 18:01:56, nfullagar wrote: > quick comment for NaCl: > I think you're going ...
8 years, 4 months ago (2012-08-15 19:11:50 UTC) #6
nfullagar
You're going to want to port parts of media to NaCl for this CL anyway. ...
8 years, 4 months ago (2012-08-16 18:38:18 UTC) #7
DaleCurtis
PTAL. This set compiles and runs naclbox demos fine. http://codereview.chromium.org/10826296/diff/12001/media/audio/shared_memory_util.h File media/audio/shared_memory_util.h (right): http://codereview.chromium.org/10826296/diff/12001/media/audio/shared_memory_util.h#newcode28 media/audio/shared_memory_util.h:28: ...
8 years, 4 months ago (2012-08-16 23:32:43 UTC) #8
nfullagar
Some notes on the DEPS between NaCl and Chrome. Summary from offline discussions: we can ...
8 years, 4 months ago (2012-08-17 00:52:07 UTC) #9
DaleCurtis
PTAL. I've put out: https://chromiumcodereview.appspot.com/10829369/ to handle the NaCl side changes.
8 years, 4 months ago (2012-08-17 02:27:15 UTC) #10
DaleCurtis
https://chromiumcodereview.appspot.com/10826296/diff/12001/media/audio/shared_memory_util.cc File media/audio/shared_memory_util.cc (right): https://chromiumcodereview.appspot.com/10826296/diff/12001/media/audio/shared_memory_util.cc#newcode17 media/audio/shared_memory_util.cc:17: // in bytes. Actual data starts immediately after it. ...
8 years, 4 months ago (2012-08-17 02:27:45 UTC) #11
DaleCurtis
On 2012/08/17 02:27:45, DaleCurtis wrote: > https://chromiumcodereview.appspot.com/10826296/diff/12001/media/audio/shared_memory_util.cc > File media/audio/shared_memory_util.cc (right): > > https://chromiumcodereview.appspot.com/10826296/diff/12001/media/audio/shared_memory_util.cc#newcode17 > ...
8 years, 4 months ago (2012-08-17 03:54:03 UTC) #12
DaleCurtis
+jam for content/*.gyp changes. PTAL. I had to bite the bullet and switch to explicit ...
8 years, 4 months ago (2012-08-17 21:54:36 UTC) #13
jam
lgtm
8 years, 4 months ago (2012-08-17 22:47:36 UTC) #14
nfullagar
lgtm
8 years, 4 months ago (2012-08-17 22:51:16 UTC) #15
DaleCurtis
On 2012/08/17 22:51:16, nfullagar wrote: > lgtm Thanks for review guys. Too big for this ...
8 years, 4 months ago (2012-08-17 23:08:16 UTC) #16
scherkus (not reviewing)
lgtm w/ one nit http://codereview.chromium.org/10826296/diff/3057/media/shared_memory_support.gypi File media/shared_memory_support.gypi (right): http://codereview.chromium.org/10826296/diff/3057/media/shared_memory_support.gypi#newcode11 media/shared_memory_support.gypi:11: 'audio/audio_parameters.cc', this block is over-indented ...
8 years, 4 months ago (2012-08-17 23:35:21 UTC) #17
DaleCurtis
nfullagar: looks like you aren't in the OWNERS file for ppapi. brettw: can you sign ...
8 years, 4 months ago (2012-08-20 16:51:13 UTC) #18
brettw
LGTM rubberstamp
8 years, 4 months ago (2012-08-20 17:24:36 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/10826296/16031
8 years, 4 months ago (2012-08-20 17:26:40 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/10826296/12015
8 years, 4 months ago (2012-08-20 17:56:00 UTC) #21
commit-bot: I haz the power
Change committed as 152406
8 years, 4 months ago (2012-08-20 22:19:39 UTC) #22
DaleCurtis
On 2012/08/20 22:19:39, I haz the power (commit-bot) wrote: > Change committed as 152406 Reverted ...
8 years, 4 months ago (2012-08-20 23:52:05 UTC) #23
bbudge
On 2012/08/20 23:52:05, DaleCurtis wrote: > On 2012/08/20 22:19:39, I haz the power (commit-bot) wrote: ...
8 years, 4 months ago (2012-08-21 00:10:25 UTC) #24
dmichael (off chromium)
http://codereview.chromium.org/10826296/diff/26001/media/audio/shared_memory_util.h File media/audio/shared_memory_util.h (right): http://codereview.chromium.org/10826296/diff/26001/media/audio/shared_memory_util.h#newcode23 media/audio/shared_memory_util.h:23: MEDIA_EXPORT uint32 PacketSizeSizeInBytes(uint32 shared_memory_created_size); drive-by... is this really meant ...
8 years, 4 months ago (2012-08-23 21:15:52 UTC) #25
DaleCurtis
http://codereview.chromium.org/10826296/diff/26001/media/audio/shared_memory_util.h File media/audio/shared_memory_util.h (right): http://codereview.chromium.org/10826296/diff/26001/media/audio/shared_memory_util.h#newcode23 media/audio/shared_memory_util.h:23: MEDIA_EXPORT uint32 PacketSizeSizeInBytes(uint32 shared_memory_created_size); On 2012/08/23 21:15:53, dmichael wrote: ...
8 years, 4 months ago (2012-08-23 21:55:15 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/10826296/30001
8 years, 4 months ago (2012-08-24 17:17:21 UTC) #27
commit-bot: I haz the power
Failed to apply patch for media/media_untrusted.gyp: While running patch -p1 --forward --force; patching file media/media_untrusted.gyp ...
8 years, 4 months ago (2012-08-24 17:17:30 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/10826296/25002
8 years, 4 months ago (2012-08-24 17:22:12 UTC) #29
commit-bot: I haz the power
8 years, 4 months ago (2012-08-24 19:49:19 UTC) #30
Change committed as 153262

Powered by Google App Engine
This is Rietveld 408576698