Commit Graph

7879 Commits

Author SHA1 Message Date
Simon Giesecke
760cc7e936 Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert
- Add missing include directives and forward declarations.
- Remove some extra include directives.
- Add missing namespace qualifications.
- Move include directives out of namespace in toolkit/xre/GlobalSemaphore.h

Differential Revision: https://phabricator.services.mozilla.com/D98894
2021-03-25 10:19:44 +00:00
Paul Adenot
bb7ce0f853 Bug 1677881 - Update libsoundtouch to revision 17a63e9. r=chunmin
Pickup those commits up:
17a63e9 - Fix bug with too small initial skipFract value
6533514 - Improve soundtouch.clear() so that it really clears TDStretch & RateTransposer states
81b0d74 - Correct initial skip value
5e76cf2 - Disable skipping of unaligned SIMD memory offset by default
f38cfa6 - Call "clear()" after changing anti-alias filter on/off
762f560 - Updated versions and documents for release 2.2
1d42d89 - Merge branch 'improve-autovectorization' into 'master'
bf3cec0 - Improvements to help compiler autovectorization

Differential Revision: https://phabricator.services.mozilla.com/D109362
2021-03-24 10:27:47 +00:00
Jon Bauman
4cd2d76c71 Bug 1694517 - Update libdav1d to 6c6d25d3 for Firefox 89. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D109456
2021-03-23 20:02:59 +00:00
Tom Ritter
e6f334587a Bug 1700171: Suppress some clang warnings in libtheora r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D109388
2021-03-22 20:17:14 +00:00
Tom Ritter
c89fd6a83d Bug 1691975: Undo autovendored sources from libdav1d r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D104753
2021-03-19 19:23:03 +00:00
Mike Hommey
9c0fcac97c Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges
Instead of snprintf.

Because some standalone code uses those functions directly or indirectly,
and PrintfTarget lives in mozglue, they now need to depend on mozglue
instead of mfbt. Except logalloc/replay, which cherry-picks what it
uses, and the updater, for which we keep using vsnprintf.

Differential Revision: https://phabricator.services.mozilla.com/D103730
2021-03-10 23:52:40 +00:00
Jon Bauman
7c5470c9ff Bug 1688992 - Update libdav1d to 0.8.2 for Firefox 88. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D106197
2021-02-24 23:05:38 +00:00
Tom Ritter
e6aa1d9959 Bug 1692575: Adapt libdav1d's moz.yaml to the new format r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D105349
2021-02-23 16:34:39 +00:00
Mike Hommey
b237d45c60 Bug 1692940 - Switch aom build to nasm instead of yasm. r=firefox-build-system-reviewers,jbauman,dmajor,andi
nasm doesn't like compiling x86_abi_support.asm
(https://bugzilla.nasm.us/show_bug.cgi?id=3392738), which is actually an
include file, rather than a source file, so it shouldn't have been in
the list of sources in the first place (libvpx has a similar file that
is excluded already, for instance).

I was considering updating the vendoring script, but it turns out it
doesn't produce the current contents in-tree (which even breaks the
build), and aom is set to be removed (bug 1635296)...

Differential Revision: https://phabricator.services.mozilla.com/D105430
2021-02-23 01:26:46 +00:00
Mike Hommey
ed44c83111 Bug 1692940 - Switch ffvpx build to nasm instead of yasm. r=firefox-build-system-reviewers,dmajor
nasm doesn't like compiling simple_idct10.asm on x86
(https://bugzilla.nasm.us/show_bug.cgi?id=3392738), which is empty once
preprocessed for x86, so exclude it there.

Differential Revision: https://phabricator.services.mozilla.com/D105429
2021-02-23 01:26:45 +00:00
Mike Hommey
a2f6caf5a0 Bug 1692940 - Switch jpeg build to nasm instead of yasm. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105428
2021-02-23 01:26:45 +00:00
Mike Hommey
0aa2e2da9a Bug 1692940 - Switch vpx build to nasm instead of yasm. r=firefox-build-system-reviewers,dmajor
We also remove the dependency on the check for GNU as, because all the
build environments we support for arm use GNU as, and the dependency
causes complications.

Differential Revision: https://phabricator.services.mozilla.com/D105427
2021-02-23 01:26:44 +00:00
Mike Hommey
346820ef1f Bug 1693215 - Always depend on yasm >= 1.2 for ffvpx. r=firefox-build-system-reviewers,dmajor
Yasm 1.2 was released in October 2011. Let's just assume everyone can
use that now.

Differential Revision: https://phabricator.services.mozilla.com/D105398
2021-02-22 22:11:25 +00:00
Matthew Gregan
00a601715e Bug 1693270 - Switch audioipc-2 to vendored code. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D105453
2021-02-17 20:23:46 +00:00
Matthew Gregan
5a3728c565 Bug 1689517 - Update audioipc-2 to ae60fdf9. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D105445
2021-02-17 20:06:43 +00:00
Matthew Gregan
8596ba9920 Bug 1689517 - Update libcubeb to 89423822. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D105442
2021-02-17 20:06:43 +00:00
Paul Adenot
e2bf2085fe Bug 1688783 - Don't use AAudio by default for now. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D105287
2021-02-17 13:22:12 +00:00
Andreea Pavel
64289058b6 Backed out 5 changesets (bug 1690167) for failing xpcshell at bootstrapSvc.js on a CLOSED TREE
Backed out changeset d28c0f11743f (bug 1690167)
Backed out changeset 3b2bebed9128 (bug 1690167)
Backed out changeset 7e925e90a251 (bug 1690167)
Backed out changeset f85934a2b7ad (bug 1690167)
Backed out changeset 6d83474e81bb (bug 1690167)
2021-02-17 07:10:58 +02:00
Matthew Gregan
e7c3c62dc1 Bug 1693186 - Update cubeb to 9beb8ed0. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D105374
2021-02-16 23:15:47 +00:00
Mike Hommey
622b111f9e Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges
Instead of snprintf.

Because some standalone code uses those functions directly or indirectly,
and PrintfTarget lives in mozglue, they now need to depend on mozglue
instead of mfbt. Except logalloc/replay, which cherry-picks what it
uses.

Differential Revision: https://phabricator.services.mozilla.com/D103730
2021-02-16 21:20:04 +00:00
Mihai Alexandru Michis
9154148880 Backed out 4 changesets (bug 1690167) for causing cppunit failures in TestIntegerPrintfMacros.
CLOSED TREE

Backed out changeset 27dee66eba83 (bug 1690167)
Backed out changeset cfffb092a39f (bug 1690167)
Backed out changeset 87b2a2a66fd9 (bug 1690167)
Backed out changeset cac4879f50b4 (bug 1690167)
2021-02-13 00:07:00 +02:00
Mike Hommey
47675f5460 Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges
Instead of snprintf.

Because some standalone code uses those functions directly or indirectly,
and PrintfTarget lives in mozglue, they now need to depend on mozglue
instead of mfbt. Except logalloc/replay, which cherry-picks what it
uses.

Differential Revision: https://phabricator.services.mozilla.com/D103730
2021-02-12 20:21:50 +00:00
Nils Ohlmeier [:drno]
5fd75514a3 Bug 1691306: move libsrtp from /netwerk to /third_party. r=bwc,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104335
2021-02-09 01:48:39 +00:00
Andrew Osmond
73c7bd09af Bug 1691317 - Update libwebp to version 1.2.0. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D104340
2021-02-08 16:59:10 +00:00
Matthew Gregan
eda2ae78da Bug 1690718 - Update audioipc to 12349217. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D103999
2021-02-04 05:28:42 +00:00
Jon Bauman
9efefa9add Bug 1680396 - Update libdav1d to 0.8.1 for Firefox 87. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D103000
2021-01-26 18:50:21 +00:00
Paul Adenot
4a592200d2 Bug 1687487 - Update libcubeb to 4a83932. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D102312
2021-01-19 20:08:55 +00:00
Mike Hommey
1047ad476b Bug 1687433 - Remove -no-integrated-as flag from libaom and libvpx. r=firefox-build-system-reviewers,mhentges
Back when it was added, it was added to libvpx, and the clang base
version was older. Either newer version of clang fixed the issues or
the libvpx source fixed it, but we don't need the flag anymore for
libvpx.

The flag for libaom was cargo culted from libvpx, but may not have been
necessary in the first place. Or maybe it was, but things fixed
themselves in a similar manner. Either way, the flag is not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D102262
2021-01-19 14:11:18 +00:00
Masatoshi Kimura
03d7defdfa Bug 1684110 - Define UNICODE on some directories. r=glandium
so that people do not accidentally use 'A'-functions.

Differential Revision: https://phabricator.services.mozilla.com/D100420
2021-01-13 22:49:59 +00:00
Byron Campen [:bwc]
38d11bff4f Bug 1681943: Gtests for bug. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D100047
2020-12-18 18:00:22 +00:00
june wilde
778bd2ca28 Bug 1682933 - Temporarily enable updatebot for libdav1d; r=tjr DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99929
2020-12-16 19:43:50 +00:00
june wilde
1dc0b456da Bug 1681173 - Add updatebot key to moz.yaml file schema; r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D98966
2020-12-08 18:25:37 +00:00
Martin Stransky
4f499c0c54 Bug 1660336 Build ffvpx FFmpegVideoDecoder module with VAAPI support, r=jya,glandium,jgilbert
- Remove MOZ_WAYLAND_CFLAGS and /ipc/chromium/chromium-config.mozbuild from ffmpeg58/moz.build
- Build ffvpx with vaapi support at ffvpx/moz.build
- Move gfx related headers from DMABUFSurfaceImage.h to DMABUFSurfaceImage.cpp and implement
  the gfx methods there.
- Remove GL headers from DMABufSurface.h and forward declare GLuint/GLContext there.
- Move mutex/MessageLoop/task related headers from nsWaylandDisplay.h to nsWaylandDisplay.cpp.
- Move mozva.cpp to mozva.c due to linking issues

Depends on D90556

Differential Revision: https://phabricator.services.mozilla.com/D90557
2020-12-08 15:26:09 +00:00
Martin Stransky
5fd3de4eb1 Bug 1660336 Add VP8/VP9 VAAPI HW decode code to bundled ffvpx and build it with MOZ_WAYLAND target, r=jya
- Update in-tree ffvpx library with VP8/VP9 VAAPI HW decode code from FFmpeg 4.2.
- Enable VP8/VP9 VAAPI HW decode on MOZ_WAYLAND target.

Differential Revision: https://phabricator.services.mozilla.com/D90554
2020-12-08 15:25:54 +00:00
Simon Giesecke
1c53236b70 Bug 1679272 - Include ScopeExit.h exactly where used. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D98888
2020-12-07 14:25:59 +00:00
Paul Adenot
bef5c89593 Bug 1681024 - Update libcubeb to revision 85f1cf4. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D98878
2020-12-07 08:53:50 +00:00
Butkovits Atila
6772473e85 Backed out 4 changesets (bug 1660336) for causing build bustage on libmozavcodec.so. CLOSED TREE
Backed out changeset 13936ff79b4c (bug 1660336)
Backed out changeset 7315e7b327f7 (bug 1660336)
Backed out changeset b6ca98c5a3cc (bug 1660336)
Backed out changeset fb8fee4471de (bug 1660336)
2020-12-04 12:40:28 +02:00
Martin Stransky
6780cbc0cd Bug 1660336 Add VP8/VP9 VAAPI HW decode code to bundled ffvpx and build it with MOZ_WAYLAND target, r=jya
- Update in-tree ffvpx library with VP8/VP9 VAAPI HW decode code from FFmpeg 4.2.
- Enable VP8/VP9 VAAPI HW decode on MOZ_WAYLAND target.

Differential Revision: https://phabricator.services.mozilla.com/D90554
2020-12-04 09:41:38 +00:00
Jon Bauman
45effa4d83 Bug 1672222 - Update libdav1d to 0.8.0 for Firefox 85. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D98416
2020-12-02 23:34:58 +00:00
Martin Stransky
b7046a3cea Bug 1660336 Provide libva headers to build Firefox without libva-devel installed, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D97920
2020-12-02 10:30:29 +00:00
stransky
d9caf57ec9 Bug 1660336 Provide libva wrapper to run Firefox on systems without libva installed, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D94650
2020-12-02 10:30:21 +00:00
Paul Adenot
c5e03fbb7e Bug 1680006 - Update libcubeb to 5c2cf2677. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D98317
2020-12-02 11:00:45 +00:00
Razvan Maries
4d377757b2 Backed out 6 changesets (bug 1660336) for multiple perma failures. CLOSED TREE
Backed out changeset 0f7b1edcd999 (bug 1660336)
Backed out changeset b43bed57327d (bug 1660336)
Backed out changeset 6c74e8eef334 (bug 1660336)
Backed out changeset 5575575cc0c4 (bug 1660336)
Backed out changeset 6fb988919317 (bug 1660336)
Backed out changeset 04056b5c72d9 (bug 1660336)
2020-11-29 01:11:43 +02:00
Martin Stransky
819f14b784 Bug 1660336 Provide libva headers to build Firefox without libva-devel installed, r=jya
Depends on D94650

Differential Revision: https://phabricator.services.mozilla.com/D97920
2020-11-28 12:23:16 +00:00
stransky
a40f19c2f0 Bug 1660336 Provide libva wrapper to run Firefox on systems without libva installed, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D94650
2020-11-28 12:23:11 +00:00
Martin Stransky
26e046f145 Bug 1660336 Add VP8/VP9 VAAPI HW decode code to bundled ffvpx and build it with MOZ_WAYLAND target, r=jya
- Update in-tree ffvpx library with VP8/VP9 VAAPI HW decode code from FFmpeg 4.2.
- Enable VP8/VP9 VAAPI HW decode on MOZ_WAYLAND target.

Differential Revision: https://phabricator.services.mozilla.com/D90554
2020-11-28 09:43:51 +00:00
Csoregi Natalia
3bbe4dde1f Backed out 6 changesets (bug 1660336) for causing media related failures. CLOSED TREE
Backed out changeset 1aa6c9d65403 (bug 1660336)
Backed out changeset f1dadb052d3a (bug 1660336)
Backed out changeset bdf9d27bd4d2 (bug 1660336)
Backed out changeset 373a658bb281 (bug 1660336)
Backed out changeset 5ccda5ab6563 (bug 1660336)
Backed out changeset e6f396b25887 (bug 1660336)
2020-11-27 05:08:40 +02:00
Martin Stransky
59d04019a3 Bug 1660336 Provide libva headers to build Firefox without libva-devel installed, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D97920
2020-11-26 21:26:05 +00:00
stransky
c3c0341407 Bug 1660336 Provide libva wrapper to run Firefox on systems without libva installed, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D94650
2020-11-26 21:25:59 +00:00
Martin Stransky
2b086a2366 Bug 1660336 Add VP8/VP9 VAAPI HW decode code to bundled ffvpx and build it with MOZ_WAYLAND target, r=jya
- Update in-tree ffvpx library with VP8/VP9 VAAPI HW decode code from FFmpeg 4.2.
- Enable VP8/VP9 VAAPI HW decode on MOZ_WAYLAND target.

Differential Revision: https://phabricator.services.mozilla.com/D90554
2020-11-26 21:25:32 +00:00