Commit Graph

646694 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
08f681bc16 Bug 1542343 - Part 1: Mark this test as "long". r=jib
Depends on D26360

Differential Revision: https://phabricator.services.mozilla.com/D26362

--HG--
extra : moz-landing-system : lando
2019-04-11 23:41:20 +00:00
Byron Campen [:bwc]
016bd31712 Bug 1542343 - Part 0: Re-enable this test on aarch64. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D26360

--HG--
extra : moz-landing-system : lando
2019-04-11 23:40:04 +00:00
Karl Tomlinson
b275f554ac Bug 1542932 Remove CustomElementConstructor copy r=bzbarsky
Depends on D26868

Differential Revision: https://phabricator.services.mozilla.com/D26869

--HG--
extra : moz-landing-system : lando
2019-04-10 15:45:57 +00:00
Karl Tomlinson
e4131b866f Bug 1542932 Change define() parameter functionConstructor from Function to CustomElementConstructor r=bzbarsky
Depends on D26867

Differential Revision: https://phabricator.services.mozilla.com/D26868

--HG--
extra : moz-landing-system : lando
2019-04-10 15:45:11 +00:00
Karl Tomlinson
9e68172512 bug 1542932 Generate CustomElementConstructor from WebIDL callback definition r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D26867

--HG--
extra : moz-landing-system : lando
2019-04-11 23:05:10 +00:00
Karl Tomlinson
99521124d0 Bug 1542932 align CustomElementConstructor::Construct() parameters with WebIDL bindings conventions r=bzbarsky
Depends on D26865

Differential Revision: https://phabricator.services.mozilla.com/D26866

--HG--
extra : moz-landing-system : lando
2019-04-10 15:25:15 +00:00
Karl Tomlinson
26e9ce40c3 bug 1542932 Add code generation for callback constructors r=bzbarsky
TreatNonObjectAsNull is rejected in the parser because / so that there is no
need to implement the equivalent of CallCallback.getCallGuard().

Differential Revision: https://phabricator.services.mozilla.com/D26865

--HG--
extra : moz-landing-system : lando
2019-04-11 20:54:17 +00:00
Boris Zbarsky ext:(%2C%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
eb7c3dbdf6 Bug 1542932 part 1. Add support for callback constructors in the IDL parser. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D26864

--HG--
extra : moz-landing-system : lando
2019-04-10 20:32:57 +00:00
Boris Zbarsky
86cc26b364 Bug 1543564 part 3. Get rid of pointless nsPIDOMWindowOuter::GetOuterWindow method. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27028

--HG--
extra : moz-landing-system : lando
2019-04-11 14:14:15 +00:00
Boris Zbarsky
d0bcf72821 Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27027

--HG--
extra : moz-landing-system : lando
2019-04-11 14:12:43 +00:00
Boris Zbarsky
6d78fdff25 Bug 1543564 part 1. Get rid of pointless nsPIDOMWindowOuter::AsOuter() methods. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27026

--HG--
extra : moz-landing-system : lando
2019-04-11 12:12:04 +00:00
Cameron McCormack
ad0b101ef6 Bug 1543582 - Only include quotes around XPCOM strings in MOZ_DBG, not operator<<. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27031

--HG--
extra : moz-landing-system : lando
2019-04-11 23:44:57 +00:00
Liang-Heng Chen
b100d76702 Bug 1539536 - implement content blocking measurements using prio; r=Ehsan,englehardt
randomly choose 1% users and their 0.14% page view to measure content blocking.

Differential Revision: https://phabricator.services.mozilla.com/D26130

--HG--
extra : moz-landing-system : lando
2019-04-11 22:15:07 +00:00
Cosmin Sabou
4fb59e83f6 Bug 1543826 - Remove duplication of key "linux64-ccov/.*" in mapping to fix yaml failure. 2019-04-12 03:01:29 +03:00
Luke Wagner
18b2180748 Bug 1542292 - Bump 64-bit executable quota to ~2gb (r=jandem)
Differential Revision: https://phabricator.services.mozilla.com/D26329

--HG--
extra : moz-landing-system : lando
2019-04-11 23:40:57 +00:00
Liang-Heng Chen
b8ea89ee32 Bug 1537659 - import disconnect domains list; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26683

--HG--
extra : moz-landing-system : lando
2019-04-11 22:13:09 +00:00
Geoff Brown
2b2e1c4072 Bug 1543826 - Run Talos ccov tests only on try; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D27175

--HG--
extra : moz-landing-system : lando
2019-04-11 23:15:41 +00:00
Ashley Hauck
5fb0f5f2b8 Bug 1542448 - Copy .initializers to .localInitializers for derived classes. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D26967

--HG--
extra : moz-landing-system : lando
2019-04-11 23:07:06 +00:00
Ashley Hauck
2aed7a94de Bug 1542448 - Always emit scopes for classes. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D26966

--HG--
extra : moz-landing-system : lando
2019-04-11 23:07:04 +00:00
Jean-Yves Avenard
0842db0075 Bug 1543339 - Add D3D11ShareHandleImage support to GLBlitHelper. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D26877

--HG--
extra : moz-landing-system : lando
2019-04-10 20:54:57 +00:00
Jean-Yves Avenard
c9d311bd95 Bug 1540581 - P20. Change fuzzying leeway on macOS. r=mattwoodrow
There are slight differences produced between the earlier 422 output surface and the 420; interestingly the image is sharper with 420.

Differential Revision: https://phabricator.services.mozilla.com/D27020

--HG--
extra : moz-landing-system : lando
2019-04-11 23:24:55 +00:00
Jean-Yves Avenard
de7da3e651 Bug 1540581 - P19. Mark h264 streams as being BT601. r=bryce
No color space was defined for these videos, making any correct rendering impossible.
We modify the h264 stream metadata, by marking it as being bt601.
This is done with the ffmpeg command:

ffmpeg -i dom/media/test/short.mp4 -codec copy -bsf:v h264_metadata=colour_primaries=6:transfer_characteristics=6:matrix _coefficients=6 -map 0

Differential Revision: https://phabricator.services.mozilla.com/D26871

--HG--
extra : moz-landing-system : lando
2019-04-11 12:39:21 +00:00
Jean-Yves Avenard
51d9f4be53 Bug 1540581 - P18. Move destination texture type choice to the D3D11 texture allocator. r=mattwoodrow
It allows for more readable code, not having to store multiple times different storage type across multiple objects.

Now each class does one task and only deal with a single texture data type.

Differential Revision: https://phabricator.services.mozilla.com/D26473

--HG--
extra : moz-landing-system : lando
2019-04-11 12:39:12 +00:00
Jean-Yves Avenard
896eec30a3 Bug 1540581 - P17. Remove DXGITextureData object. r=nical
Only D3D11TextureData inherits from it and isn't used directly.

Differential Revision: https://phabricator.services.mozilla.com/D26472

--HG--
extra : moz-landing-system : lando
2019-04-11 12:39:08 +00:00
Jean-Yves Avenard
2f98d89d2f Bug 1540581 - P16. Mark allocation helper class as RAII. r=nical
Those classes use raw pointers or references to construction objets. They can only be used while the objects they reference still exist.
While RAII doesn't fully cover this use case, it's close enough. Mark them as such to prevent shooting ourselves in the future.

Differential Revision: https://phabricator.services.mozilla.com/D26471

--HG--
extra : moz-landing-system : lando
2019-04-11 12:39:04 +00:00
Jean-Yves Avenard
06f0f7ca33 Bug 1540581 - P15. Don't have base class methods return child ones. r=nical
Will make it easier to remove the unnecessary DXGITextureData object.

Differential Revision: https://phabricator.services.mozilla.com/D26470

--HG--
extra : moz-landing-system : lando
2019-04-11 12:38:59 +00:00
Jean-Yves Avenard
0ad54344df Bug 1540581 - P13. Properly handle colorspace with D3D11 compositors. r=mattwoodrow
Also fix 10/12 bits images composition with old D3D11 compositor.

Differential Revision: https://phabricator.services.mozilla.com/D26468

--HG--
extra : moz-landing-system : lando
2019-04-11 12:38:55 +00:00
Jean-Yves Avenard
2ca0f1b548 Bug 1540581 - P12. Pass YUV colorspace information with WMF decoder. r=bryce,mattwoodrow.
Differential Revision: https://phabricator.services.mozilla.com/D26467

--HG--
extra : moz-landing-system : lando
2019-04-11 12:38:51 +00:00
Jean-Yves Avenard
1dc7e8e498 Bug 1540581 - P11. Handle colorspace correctly with D3D11 images. r=mattwoodrow,nical
Differential Revision: https://phabricator.services.mozilla.com/D26466

--HG--
extra : moz-landing-system : lando
2019-04-11 12:38:49 +00:00
Jean-Yves Avenard
b8abb07619 Bug 1540581 - P10. Pass colorspace data with first VP9 frame seen. r=bryce
The info would only be passed after the 2nd keyframe

Differential Revision: https://phabricator.services.mozilla.com/D26465

--HG--
extra : moz-landing-system : lando
2019-04-11 12:37:38 +00:00
Jean-Yves Avenard
d91ea6eb87 Bug 1540581 - P9. Add R16G16 type and update of P010/P016 resource update. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D26464

--HG--
extra : moz-landing-system : lando
2019-04-11 12:37:23 +00:00
Jean-Yves Avenard
92b211930c Bug 1540581 - P8. Set decoding format back to NV12 and set colorspace. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D26062

--HG--
extra : moz-landing-system : lando
2019-04-11 12:37:16 +00:00
Jean-Yves Avenard
0545957805 Bug 1540581 - P7. Use Variant instead of Union/Enum. r=kats
It allows for use of default constructor/destructor and leaves no room to incorrectly modify the union members with a wrong type.

Differential Revision: https://phabricator.services.mozilla.com/D26061

--HG--
extra : moz-landing-system : lando
2019-04-11 12:37:06 +00:00
Jean-Yves Avenard
11ac9e9cf8 Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel
* Remove redundant virtual keywords
* Mark all destructors of inheriting classes as virtual for clarity
* Mark all classes without virtual destructor as final (exposed errors)
* Make destructor virtual where it needed to be (some were missing)
* Replace empty ({}) code declaration in header with = default
* Remove virtual unused methods

I probably missed some, it quickly became a rabbit hole.

Differential Revision: https://phabricator.services.mozilla.com/D26060

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:51 +00:00
Jean-Yves Avenard
e5f2be092a Bug 1540581 - P5. Add ColorSpace info to MacIOSurface. r=mattwoodrow
It would have been nicer and more logical to use a MacIOSurfaceImage to store the colorspace information, however the data passed around is a IOSurface Id via a SurfaceDescriptorMacIOSurface; the original data structure isn't kept; so we must transit the data at the same time as the IOSurface Id.

Also remove unnecessary test (new operator is infallible).

Differential Revision: https://phabricator.services.mozilla.com/D26058

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:31 +00:00
Jean-Yves Avenard
81f031a044 Bug 1540581 - P4. Add ColorSpace/ColorDepth component to NV12 gfx::Effect. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26057

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:19 +00:00
Jean-Yves Avenard
0bb575734a Bug 1540581 - P3. Add methods to extract color space and color depth from SPS NAL. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D26056

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:10 +00:00
Jean-Yves Avenard
4b22346e41 Bug 1540581 - P2. Add missing VideoInfo members to IPC serializer. r=bryce
Another case where you have to wonder how did this ever worked!?

Differential Revision: https://phabricator.services.mozilla.com/D26055

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:00 +00:00
Jean-Yves Avenard
c2ef872070 Bug 1540581 - P1. Fix NV12 image with OGL compositor. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26054

--HG--
extra : moz-landing-system : lando
2019-04-11 12:35:41 +00:00
Jean-Yves Avenard
3ae43eb506 Bug 1493898 - P6. Move YUVColorSpace definition in the gfx namespace. r=mattwoodrow.
YUVColorSpace is inseparable from the bit depth as the matrix coefficients to be calculated need the bit depth information.

So let's put the two types together. gfx namespace also makes more sense as that's where we find IntRect, IntSize and other.

The extent of the changes highlight how much similar data structures are duplicated across the code, to the point it's scary.

Differential Revision: https://phabricator.services.mozilla.com/D25347

--HG--
extra : moz-landing-system : lando
2019-04-11 12:41:33 +00:00
Jean-Yves Avenard
14fac11637 Bug 1493898 - P5. Add Colorspace and YUV range data to VideoInfo. r=bryce
And read the info from the VP9 bytestream.

Differential Revision: https://phabricator.services.mozilla.com/D25346

--HG--
extra : moz-landing-system : lando
2019-04-11 12:41:23 +00:00
Jean-Yves Avenard
fd742471ad Bug 1493898 - P4. Add BT2020 YUV->RGB conversion. r=jgilbert
This is used by the basic compositor.
Re-using existing logic, however as with other conversion it only handles limited 8 bits ranges (16-235) and to make things worse is rounded aggressively as the focus is on speed.

Differential Revision: https://phabricator.services.mozilla.com/D25345

--HG--
extra : moz-landing-system : lando
2019-04-11 16:57:39 +00:00
Jean-Yves Avenard
09b5578692 Bug 1493898 - P3. Don't downsample 10/12 bits AOM images. r=bryce
All compositors support 10/12 bits images now.
Additionally, add BT2020 support to AOM decoder.

Differential Revision: https://phabricator.services.mozilla.com/D25344

--HG--
extra : moz-landing-system : lando
2019-04-11 12:40:59 +00:00
Jean-Yves Avenard
1da8a6804f Bug 1493898 - P2. Add BT2020 support to decoders. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D25343

--HG--
extra : moz-landing-system : lando
2019-04-11 12:40:50 +00:00
Jean-Yves Avenard
c6e2001c75 Bug 1493898 - P1. Add preliminary BT2020 colorspace support. r=mattwoodrow
Only active with webrender and AL.

Differential Revision: https://phabricator.services.mozilla.com/D25342

--HG--
extra : moz-landing-system : lando
2019-04-11 12:40:40 +00:00
Cosmin Sabou
856169370c Backed out changeset ac23ad5ef0c1 (bug 1542862) as requested by glandium for being obsolete after bug 1536486. 2019-04-12 02:24:21 +03:00
Oana Pop Rus
c54800711d Backed out 5 changesets (bug 1531838) for causing linux asan leaks. CLOSED TREE
Backed out changeset 7e886806ae98 (bug 1531838)
Backed out changeset 24d7fb7fd3af (bug 1531838)
Backed out changeset 3e538caf5af2 (bug 1531838)
Backed out changeset ae727251b802 (bug 1531838)
Backed out changeset 9b0dab8154c0 (bug 1531838)
2019-04-12 02:15:40 +03:00
Brendan Dahl
3a89c21f7f Bug 1518005 - Fix intermittent devotools test. r=bgrins
Wait for devtools panel to be ready before attempting to use it.

Differential Revision: https://phabricator.services.mozilla.com/D27160

--HG--
extra : moz-landing-system : lando
2019-04-11 21:08:04 +00:00
Chris Manchester
6680ead353 Bug 1543469 - Update builders to rustc 1.34. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D27184

--HG--
extra : moz-landing-system : lando
2019-04-11 22:46:46 +00:00
Sean Stangl
18214ad3bf Bug 1538083 - Fix -0 handling in ARM64 visitTrunc(). r=nbp
The existing truncation code did not correctly handle the case of negative zero.
The fix is to avoid using FCMP floating-point comparisons, and check
the sign bit explicitly in a GPR.

Differential Revision: https://phabricator.services.mozilla.com/D26381

--HG--
extra : moz-landing-system : lando
2019-04-11 22:34:46 +00:00