Commit Graph

379025 Commits

Author SHA1 Message Date
Paul Adenot
64e239b778 Bug 848954 - Part 9 - Allow to pass in hints when getting a reference to a MediaStreamGraph to get the right driver started as soon as possible. r=roc
This is useful because some platform have rather slow audio stream
initialization time, especially the first time an audio stream is created for
the process.

We put in telemetry probes to measure that:
First stream opened for the process:
http://telemetry.mozilla.org/#filter=nightly%2F33%2FAUDIOSTREAM_FIRST_OPEN_MS&aggregates=multiselect-all!Submissions!Mean!5th%20percentile!25th%20percentile!median!75th%20percentile!95th%20percentile&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph

Subsequent streams:
http://telemetry.mozilla.org/#filter=nightly%2F33%2FAUDIOSTREAM_LATER_OPEN_MS&aggregates=multiselect-all!Submissions!Mean!5th%20percentile!25th%20percentile!median!75th%20percentile!95th%20percentile&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph
2014-08-25 15:27:25 +02:00
Paul Adenot
499c632d13 Bug 848954 - Part 8 - Implement classes to ensure safe audio buffer manipulation. r=roc 2014-08-25 15:26:34 +02:00
Paul Adenot
5856b1e3a4 Bug 848954 - Part 7 - Get rid of the stack allocated message queue. r=roc
In the next patches, when the AudioDriver will be implemented, the audio backend
thread (that we don't control), will return from the stack frame where the
nsTArray that allows the MSG thread to exchange message queues in a efficient
manner with the main thread. We put it in the MediaStreamGraph to avoid adding
an allocation/deallocation per iteration on the MSG thread.

In addition, the graph will be able to run on different threads during its
lifetime, so we can't guarantee a stable stack frame to allocate things on
anymore.

The array are renamed with meaningful names, explaining the double-buffering
pattern: the back queue is filled by the main thread, and is swapped with the
front queue that is processed by the MSG thread.

Arrays accesses are synchronized using the driver's monitor.
2014-08-25 15:26:21 +02:00
Paul Adenot
bf1afe6d99 Bug 848954 - Part 6 - Put cubeb-related static functions in their own file. r=kinetik 2014-08-25 15:26:09 +02:00
Paul Adenot
735258f143 Bug 848954 - Part 5 - Mix down all audio and only output a single stream. r=roc 2014-08-25 15:25:49 +02:00
Paul Adenot
7e987d0735 Bug 848954 - Part 4 - Factor behavior for drivers that manage their thread. r=roc 2014-04-25 18:04:53 +02:00
Paul Adenot
f6e2e2b753 Bug 848954 - Part 3 - Separate interval time calculation and actual processing, and give an audio-callback compatible interface to the Process function. r=roc 2014-04-25 18:04:23 +02:00
Paul Adenot
abc95a4adc Bug 848954 - Part 2 - Put the thread management in the driver. r=roc 2014-04-25 18:03:04 +02:00
Paul Adenot
f4c5b13dbd Bug 848954 - Part 1 - Factor out clocks and scheduling of MSG iterations. r=roc 2014-04-25 16:09:30 +02:00
Paul Adenot
6010fdc4cd Bug 989921 - Allow the MediaStreamGraph mixer to send data back to multiple consumers. r=jesup 2014-08-25 14:13:08 +02:00
William Chen
79093724dc Bug 887541 - Implement web components event path and event retargeting. r=smaug 2014-08-26 20:19:56 -07:00
Nicholas Nethercote
df1c26a45e Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Jean-Yves Avenard
7d82bae00d Bug 1058428 - Ensure all in-use decoders contain the target range - r=cajbir 2014-08-27 14:08:33 +12:00
Jed Davis
3f1e2a85b6 Bug 1041886 - Fix no-opt-only build bustage caused by mozilla::unused. r=glandium
See also bug 1059038.
2014-08-26 19:23:44 -07:00
Matthew Gregan
069cc7f6c4 Bug 1055967 - Log "discarding video frame" message only when we discard frames. r=cpearce 2014-08-27 13:51:40 +12:00
Wes Kocher
4cd0da25ab Merge m-c to inbound a=merge 2014-08-26 18:19:08 -07:00
Wes Kocher
3bf1a97537 Bug 745283 - rev UUID again r=me a=kwierso 2014-08-26 18:05:26 -07:00
Wes Kocher
dac5eaa4c4 Merge m-c to inbound a=merge 2014-08-26 17:49:52 -07:00
Wes Kocher
371165c599 Merge b2g-inbound to m-c a=merge 2014-08-26 17:24:30 -07:00
Wes Kocher
316cf98f85 Merge fx-team to m-c a=merge 2014-08-26 17:09:57 -07:00
B2G Bumper Bot
0475e16aa2 Bumping manifests a=b2g-bump 2014-08-26 15:41:22 -07:00
B2G Bumper Bot
0af3da7904 Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f2dfcf31b96b
Author: KWierso <kwierso@gmail.com>
Desc: Revert "Merge pull request #23311 from mozfreddyb/bug-1056882" for Linter bustage

This reverts commit 503d3c4e4c779f31ccb768a8ccc2b505aff72e83, reversing
changes made to 14a2fef47142cd873df27a6c846fcd9f854a75e6.

========

https://hg.mozilla.org/integration/gaia-central/rev/f018761a6a5c
Author: J. Ryan Stinnett <jryans@gmail.com>
Desc: Merge pull request #23328 from jryans/blank-prompt

Bug 1058745 - Fix remote debugger prompt text

========

https://hg.mozilla.org/integration/gaia-central/rev/34d1eeb4f85a
Author: J. Ryan Stinnett <jryans@gmail.com>
Desc: Bug 1058745 - Fix remote debugger prompt text. r=gandalf
2014-08-26 15:35:30 -07:00
B2G Bumper Bot
2fd198265d Bumping manifests a=b2g-bump 2014-08-26 15:26:29 -07:00
B2G Bumper Bot
ef2fb165d0 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/65ba7a3f16b3
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #23124 from KevinGrandon/bug_1054447_start_page_refinements

Bug 1054447 - [Browser] Browser Start Page Refinements

========

https://hg.mozilla.org/integration/gaia-central/rev/4fce33b3dbe4
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1054447 - [Browser] Browser Start Page Refinements ui-r=epang r=kgrandon
2014-08-26 15:15:35 -07:00
B2G Bumper Bot
6680f9dfec Bumping manifests a=b2g-bump 2014-08-26 15:06:57 -07:00
B2G Bumper Bot
a10005b563 Bumping manifests a=b2g-bump 2014-08-26 14:16:28 -07:00
B2G Bumper Bot
be2e8407d2 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/df31e1c9cdce
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Merge pull request #23311 from mozfreddyb/bug-1056882

Bug 1056882: disallow cross-origin imports

========

https://hg.mozilla.org/integration/gaia-central/rev/ecdee1ec1a7e
Author: Frederik B <fbraun+gh@mozilla.com>
Desc: Bug 1056882: no cross-origin imports, r=kgrandon
2014-08-26 14:10:31 -07:00
B2G Bumper Bot
a4bdb744ec Bumping manifests a=b2g-bump 2014-08-26 13:27:02 -07:00
B2G Bumper Bot
93f0104549 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/0380c2f80df2
Author: Marcus Cavanaugh <m@mcav.com>
Desc: Merge pull request #23283 from mcav/clock-12h

Bug 1035757 - [B2G][Clock] support 24 hour time format. r=millermedeiros

========

https://hg.mozilla.org/integration/gaia-central/rev/1f582e7b1bc7
Author: Marcus Cavanaugh <m@mcav.com>
Desc: Bug 1035757 - [B2G][Clock] support 24 hour time format.

========

https://hg.mozilla.org/integration/gaia-central/rev/acfbab105d04
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #23282 from KevinGrandon/bug_1057670_app_title_default

Bug 1057670 - Change title displayed in collapsed rocketbar within apps

========

https://hg.mozilla.org/integration/gaia-central/rev/93c369e08f70
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1057670 - Change title displayed in collapsed rocketbar within apps r=benfrancis
2014-08-26 13:25:30 -07:00
Ryan VanderMeulen
41293929ad Merge m-c to b2g-inbound. a=merge 2014-08-26 16:11:01 -04:00
Ryan VanderMeulen
7c10863e87 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-26 16:05:42 -04:00
Ryan VanderMeulen
a19bf3acbf Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
B2G Bumper Bot
f797c2949d Bumping manifests a=b2g-bump 2014-08-26 12:57:07 -07:00
Ryan VanderMeulen
0efb1eb5c4 Backed out 7 changesets (bug 939318) for frequent Win7/Win8 xpcshell failures. a=backout
Backed out changeset 21dcd9e1b607 (bug 939318)
Backed out changeset cc131cf9ef81 (bug 939318)
Backed out changeset 02925699b9bb (bug 939318)
Backed out changeset a2d39ac660a6 (bug 939318)
Backed out changeset eeb8897aaa59 (bug 939318)
Backed out changeset d1e1ca369322 (bug 939318)
Backed out changeset 37bee525b188 (bug 939318)
2014-08-26 15:56:51 -04:00
Ryan VanderMeulen
62ac641707 Merge inbound to m-c. a=merge 2014-08-26 15:55:57 -04:00
B2G Bumper Bot
be55ca2108 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/405fd5950898
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Merge pull request #22934 from eeejay/bug-1050381

Bug 1050381 - Support accessibility edge gestures. r=etienne

========

https://hg.mozilla.org/integration/gaia-central/rev/95adf2f69b1c
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Bug 1050381 - Support accessibility edge gestures.
2014-08-26 12:55:29 -07:00
Brian Hackett
070b11f0bb Bug 894596 - Bake constant valued object properties into jitcode when possible, r=jandem, patch mostly written by djvj. 2014-08-26 12:30:36 -07:00
B2G Bumper Bot
868a92ab0c Bumping manifests a=b2g-bump 2014-08-26 12:27:02 -07:00
B2G Bumper Bot
efa68b22ea Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/1ff57d77a69f
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Revert "Bug 1047143 - close aps entering task-manager, exitToApp to open/restore"

This reverts commit 1d9a8cf867f281d7ab22402f246bac48d0980c33.

========

https://hg.mozilla.org/integration/gaia-central/rev/38c61b71e905
Author: Ben Francis <ben@tola.me.uk>
Desc: Merge pull request #23285 from benfrancis/1054979

Bug 1054979 - Do not show overflow menu for apps r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/a4acf83a64b1
Author: Ben Francis <ben@tola.me.uk>
Desc: Bug 1054979 - Do not show overflow menu for apps
2014-08-26 12:25:29 -07:00
Vladan Djeric
ba28e2fa57 Bug 1058832 - Remove unneeded LocalStorage Telemetry. r=honzab 2014-08-26 15:12:42 -04:00
Jim Chen
8117b170c6 Bug 1056941 - Remove extract libs parameter; r=glandium 2014-08-26 15:08:00 -04:00
Jim Chen
b3d78f3a71 Bug 1056941 - Disable unused local typedef warning in STLPort; r=glandium 2014-08-26 15:07:59 -04:00
Jim Chen
3dcbdea53a Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
B2G Bumper Bot
b276204efc Bumping manifests a=b2g-bump 2014-08-26 11:56:33 -07:00
B2G Bumper Bot
7d7a049f8f Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/6c4c3328e7d4
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Merge pull request #23294 from qdot/revert-revert-938171

Revert revert 938171

========

https://hg.mozilla.org/integration/gaia-central/rev/e3a01fb72b2e
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Bug 938171 - Add MockVersionHelper to bootstrap test for app_migrator module

========

https://hg.mozilla.org/integration/gaia-central/rev/184a276517d0
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Revert "Revert "Bug 938171 - Add app_migrator module include to bootstrap unit test""

This reverts commit 0acb88a5663af1fa4ec8beb84b7cb657acba19b2.

========

https://hg.mozilla.org/integration/gaia-central/rev/2b8df8b14335
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Revert "Revert "Bug 938171 - Browser Bookmark Migration to Homescreen in Gaia""

This reverts commit d35f1c9a22c87e96f0289135955f7316900de6ab.
2014-08-26 11:50:34 -07:00
Ryan VanderMeulen
fa613d9454 Merge fx-team to m-c. a=merge 2014-08-26 14:16:26 -04:00
B2G Bumper Bot
6ecaf01dd8 Bumping manifests a=b2g-bump 2014-08-26 10:32:12 -07:00
B2G Bumper Bot
6cb84eb9ea Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/506635e2bf3f
Author: Ben Francis <ben@tola.me.uk>
Desc: Merge pull request #23281 from benfrancis/1056884

Bug 1056884 - Implement special expanded Rocketbar state for browser start page r=kgrandon

========

https://hg.mozilla.org/integration/gaia-central/rev/1ddf839cff25
Author: Ben Francis <ben@tola.me.uk>
Desc: Bug 1056884 - Implement special expanded Rocketbar state for browser start page
2014-08-26 10:25:28 -07:00
B2G Bumper Bot
a4395ab84a Bumping manifests a=b2g-bump 2014-08-26 10:03:20 -07:00
B2G Bumper Bot
b09b323fbe Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/2fb42aadc028
Author: Zibi Braniecki <zbigniew.braniecki@gmail.com>
Desc: Merge pull request #23279 from zbraniecki/1051850-delay-MO-init-until-ready-for-non-default-locales

Bug 1051850 - In non-default locale scenario, delay MO init until l10n is ready. r=stas

========

https://hg.mozilla.org/integration/gaia-central/rev/efc66c50dc79
Author: Zbigniew Braniecki <gandalf@mozilla.com>
Desc: Bug 1051850 - In non-default locale scenario, delay MO init until l10n is ready
2014-08-26 09:55:22 -07:00