Commit Graph

34354 Commits

Author SHA1 Message Date
Lee Salzman
16b17ace8c Bug 1568841 - force GDI parameters for GDI render mode. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D39529

--HG--
extra : moz-landing-system : lando
2019-07-26 16:49:14 +00:00
Lee Salzman
08eecf9eae Bug 1568858 - always stretch box shadows except for Cairo. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D39412

--HG--
extra : moz-landing-system : lando
2019-07-26 16:31:21 +00:00
sotaro
d8d05ff21a Bug 1569110 - Add ClientLayerManager::Initialize() r=nical
Some initialization handlings of ClientLayerManager exists in nsBaseWidget::CreateCompositor(). It is not good. Move them to ClientLayerManager::Initialize().

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

--HG--
extra : moz-landing-system : lando
2019-07-26 09:31:57 +00:00
Jean-Yves Avenard
1616a6d914 Bug 1543359 - P14. Fix "Wrench" test r=nical
Differential Revision: https://phabricator.services.mozilla.com/D39475

--HG--
extra : moz-landing-system : lando
2019-07-26 09:32:37 +00:00
Jean-Yves Avenard
577b826128 Bug 1543359 - P13. Let the video decoder determines the default colorspace if unknown. r=mattwoodrow
When unknown, we rely on the picture height and assume that anything less than 720p is 601 and 709 otherwise. It's not perfect but it's the best we can do.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:39 +00:00
Jean-Yves Avenard
2118adec3f Bug 1543359 - P12. Fix colorspace rendering with IOSurface and basic compositor. r=mattwoodrow
It got missed in bug 1540581.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:40 +00:00
Jean-Yves Avenard
4bf7d9afd7 Bug 1543359 - P11. Remove redundant virtual keyword. r=mattwoodrow
It got missed in an earlier change

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

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:17 +00:00
Jean-Yves Avenard
0356401c43 Bug 1543359 - P10. Add color range info to GPU and WR texture host. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D27243

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:24 +00:00
Jean-Yves Avenard
235b08fe18 Bug 1543359 - P9. Add YUV range information to NV12Effect and YCbCrEffect. r=mattwoodrow
This is used by the OGL and D3D11 compositors.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:26 +00:00
Jean-Yves Avenard
c4def0fb6f Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow
Still non-functional.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:30 +00:00
Jean-Yves Avenard
de19fb7f7e Bug 1543359 - P6. Add backend for color range information. r=mattwoodrow.
Add code for YCbCr buffer and IOSurface backend.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:31 +00:00
Jean-Yves Avenard
6f3d5d8393 Bug 1543359 - P5. Use C++11 initializers. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29642

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:19 +00:00
Jean-Yves Avenard
c070ea1f0e Bug 1543359 - P3. Add kCVPixelFormatType_420YpCbCr8BiPlanarFullRange support to MacIOSurface. r=mattwoodrow
This will allow to differentiate full range vs limited range YUV.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:35 +00:00
Jean-Yves Avenard
0171b0edb2 Bug 1543359 - P2. Fix constness. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29641

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:20 +00:00
Jean-Yves Avenard
e41290cb09 Bug 1543359 - P0. Make video range info an enum. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29639

--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:22 +00:00
Narcis Beleuzu
a4274bd868 Backed out changeset 4bf222be42c8 (bug 1543359) wrench bustages. CLOSED TREE 2019-07-26 11:51:00 +03:00
Jean-Yves Avenard
c2672a7a6a Bug 1543359 - P14. Fix "Wrench" test on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D39475

--HG--
extra : moz-landing-system : lando
2019-07-26 06:55:11 +00:00
Narcis Beleuzu
e84980d8b1 Backed out 15 changesets (bug 1543359) for wrench bustages on image.rs . CLOSED TREE
Backed out changeset 548006270186 (bug 1543359)
Backed out changeset c9585e9d9f3c (bug 1543359)
Backed out changeset 1c7ca95a2a9b (bug 1543359)
Backed out changeset d742d80b892f (bug 1543359)
Backed out changeset 210eee703fd9 (bug 1543359)
Backed out changeset 4eb933d55d88 (bug 1543359)
Backed out changeset fb9b71ed9f4b (bug 1543359)
Backed out changeset 98b968443458 (bug 1543359)
Backed out changeset a85bd4691bea (bug 1543359)
Backed out changeset b576317853e9 (bug 1543359)
Backed out changeset 095bca5c9b1a (bug 1543359)
Backed out changeset 48eb0ebf9f2e (bug 1543359)
Backed out changeset b22b0eb708b8 (bug 1543359)
Backed out changeset 52187d9320b1 (bug 1543359)
Backed out changeset fa6792c1c2e8 (bug 1543359)
2019-07-26 11:40:33 +03:00
Jean-Yves Avenard
88ca735e1d Bug 1543359 - P14. Fix "Wrench" test. a=wrench-fix CLOSED TREE 2019-07-26 10:24:47 +03:00
Jean-Yves Avenard
d6adb6b604 Bug 1543359 - P13. Let the video decoder determines the default colorspace if unknown. r=mattwoodrow
When unknown, we rely on the picture height and assume that anything less than 720p is 601 and 709 otherwise. It's not perfect but it's the best we can do.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:14:30 +00:00
Jean-Yves Avenard
3dfa052df3 Bug 1543359 - P12. Fix colorspace rendering with IOSurface and basic compositor. r=mattwoodrow
It got missed in bug 1540581.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:14:23 +00:00
Jean-Yves Avenard
df451e4367 Bug 1543359 - P11. Remove redundant virtual keyword. r=mattwoodrow
It got missed in an earlier change

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:14:16 +00:00
Jean-Yves Avenard
6d26baca40 Bug 1543359 - P10. Add color range info to GPU and WR texture host. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D27243

--HG--
extra : moz-landing-system : lando
2019-07-26 06:14:09 +00:00
Jean-Yves Avenard
ace0cc766c Bug 1543359 - P9. Add YUV range information to NV12Effect and YCbCrEffect. r=mattwoodrow
This is used by the OGL and D3D11 compositors.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:14:01 +00:00
Jean-Yves Avenard
e6eb3464df Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow
Still non-functional.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:13:44 +00:00
Jean-Yves Avenard
37515d5cc9 Bug 1543359 - P6. Add backend for color range information. r=mattwoodrow.
Add code for YCbCr buffer and IOSurface backend.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:13:37 +00:00
Jean-Yves Avenard
a57f1df908 Bug 1543359 - P5. Use C++11 initializers. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29642

--HG--
extra : moz-landing-system : lando
2019-07-26 06:13:25 +00:00
Jean-Yves Avenard
aec72edb84 Bug 1543359 - P3. Add kCVPixelFormatType_420YpCbCr8BiPlanarFullRange support to MacIOSurface. r=mattwoodrow
This will allow to differentiate full range vs limited range YUV.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:10:52 +00:00
Jean-Yves Avenard
c8d2f1b0f0 Bug 1543359 - P2. Fix constness. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29641

--HG--
extra : moz-landing-system : lando
2019-07-26 06:10:44 +00:00
Jean-Yves Avenard
4ea329b749 Bug 1543359 - P0. Make video range info an enum. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29639

--HG--
extra : moz-landing-system : lando
2019-07-26 06:10:30 +00:00
Cosmin Sabou
ae7e8fbf55 Backed out 14 changesets (bug 1543359) for causing build bustages. CLOSED TREE
Backed out changeset 87c99ef85813 (bug 1543359)
Backed out changeset cd0afc5758ba (bug 1543359)
Backed out changeset 101ac87ff017 (bug 1543359)
Backed out changeset 348e748e3451 (bug 1543359)
Backed out changeset d9e937f5caf4 (bug 1543359)
Backed out changeset 2f4eb6501552 (bug 1543359)
Backed out changeset 0d316ef8c668 (bug 1543359)
Backed out changeset bf238b58c694 (bug 1543359)
Backed out changeset 496f206d03d6 (bug 1543359)
Backed out changeset 7c3a1f23baa8 (bug 1543359)
Backed out changeset 90fff717198b (bug 1543359)
Backed out changeset b2ce591ca398 (bug 1543359)
Backed out changeset a63968f077e3 (bug 1543359)
Backed out changeset ca660ab1e0c1 (bug 1543359)
2019-07-26 07:39:11 +03:00
Jean-Yves Avenard
84900ae6ff Bug 1543359 - P13. Let the video decoder determines the default colorspace if unknown. r=mattwoodrow
When unknown, we rely on the picture height and assume that anything less than 720p is 601 and 709 otherwise. It's not perfect but it's the best we can do.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 04:26:56 +00:00
Jean-Yves Avenard
1d4fe80ec2 Bug 1543359 - P12. Fix colorspace rendering with IOSurface and basic compositor. r=mattwoodrow
It got missed in bug 1540581.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 05:44:31 +00:00
Jean-Yves Avenard
e9195caaf0 Bug 1543359 - P11. Remove redundant virtual keyword. r=mattwoodrow
It got missed in an earlier change

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

--HG--
extra : moz-landing-system : lando
2019-07-22 07:27:50 +00:00
Jean-Yves Avenard
a197de5f88 Bug 1543359 - P10. Add color range info to GPU and WR texture host. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D27243

--HG--
extra : moz-landing-system : lando
2019-07-22 07:27:41 +00:00
Jean-Yves Avenard
5aa7e8ee09 Bug 1543359 - P9. Add YUV range information to NV12Effect and YCbCrEffect. r=mattwoodrow
This is used by the OGL and D3D11 compositors.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 07:27:39 +00:00
Jean-Yves Avenard
9d741696fe Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow
Still non-functional.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 08:04:54 +00:00
Jean-Yves Avenard
63be56621d Bug 1543359 - P6. Add backend for color range information. r=mattwoodrow.
Add code for YCbCr buffer and IOSurface backend.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 08:24:30 +00:00
Jean-Yves Avenard
4fc3d2fcf8 Bug 1543359 - P5. Use C++11 initializers. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29642

--HG--
extra : moz-landing-system : lando
2019-07-22 07:25:36 +00:00
Jean-Yves Avenard
e4a8bfeab0 Bug 1543359 - P3. Add kCVPixelFormatType_420YpCbCr8BiPlanarFullRange support to MacIOSurface. r=mattwoodrow
This will allow to differentiate full range vs limited range YUV.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 07:24:51 +00:00
Jean-Yves Avenard
df7c06977b Bug 1543359 - P2. Fix constness. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29641

--HG--
extra : moz-landing-system : lando
2019-07-22 07:24:32 +00:00
Jean-Yves Avenard
9871202958 Bug 1543359 - P0. Make video range info an enum. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29639

--HG--
extra : moz-landing-system : lando
2019-07-13 03:25:18 +00:00
Nicholas Nethercote
18fae65f38 Bug 1563139 - Remove StaticPrefs.h. r=glandium
This requires replacing inclusions of it with inclusions of more specific prefs
files.

The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.

Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Jamie Nicol
bdf491aa7e Bug 1565827 - Ensure glReadPixels for profiler screenshots happens asynchronously. r=kvark
The glReadPixels call for capturing profiler screenshots is very slow
on Adreno devices. Similarly to bug 1498732, this is because the
stride of the data being transferred is not a multiple of 256, so the
driver is taking the synchronous path instead of reading in to a PBO
asynchronously.

This solves this problem by increasing the width of the area we read
so that we hit the fast path. To do this we must ensure that the PBO
and the final scale-down texture are large enough to include the extra
pixels in each row. As the required size of the PBO or texture may now
change, for example after a screen rotation, we now handle deleting
and recreating them when necessary.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 15:44:36 +00:00
Lee Salzman
2f6fdacb61 Bug 1568841 - Don't use enhanced contrast on GDI fonts. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D39366

--HG--
extra : moz-landing-system : lando
2019-07-25 15:33:56 +00:00
Nicholas Nethercote
d8d32dfe97 Bug 1563139 - Update comments mentioning StaticPrefs.h. r=glandium
StaticPrefs.h will be removed two commits from now, so update these comments.

The patch removes the comment above SetUsesContainerScrolling() because it's
wrong -- it did use static prefs when introduced by bug 1181832 but then
stopped using static prefs in bug 1470504 -- and makes it inlinable.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 04:08:23 +00:00
Nicholas Nethercote
cbaaacf6ae Bug 1563139 - Remove StaticPref{s,List}_accessibility.h. r=glandium
These files exist because they were the proof-of-concept first step for
splitting the static prefs header files. Now that those header files can be
generated from a script, we need to move the `accessibility.*` prefs into the
YAML file.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 04:08:14 +00:00
Alexis Beingessner
e64ad7178d Bug 1568395 - Add more useful error messages to webrender_api. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D39236

--HG--
extra : moz-landing-system : lando
2019-07-24 22:55:51 +00:00
Timothy Nikkel
9ccc8b65cb Bug 1562184. Convert window opaque region to a WeakFrameRegion. r=mattwoodrow
For retained display lists it needs to be a weak frame region to areas get removed for modified frames and the rest stick around.

Each display item can contribute an opaque region but WeakFrameRegion can only track one rect per frame. It turns out that we only return rects from GetOpaqueRegion except in one hit testing case.

This still means more than one display item per frame could be contributing to the opaque region, we would miss the second and further rects in that case.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 21:09:09 +00:00
Lee Salzman
5169a21347 Bug 1553818 - use GDI ClearType contrast for GDI font gamma. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D39101

--HG--
extra : moz-landing-system : lando
2019-07-24 18:51:28 +00:00