Commit Graph

1759 Commits

Author SHA1 Message Date
Adam Brouwers-Harries
a26eafe5c3 Bug 1421651 - Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau
This patch removes the old docshell timeline and timeline markers codebase and replaces them with equivalent Gecko profiler marker. This patch also fixes Bug 1834143, which is a subset of 1421651.

Differential Revision: https://phabricator.services.mozilla.com/D184217
2023-10-24 15:18:12 +00:00
Narcis Beleuzu
948c7279ee Backed out changeset 714aaf6484fb (bug 1421651) for causing Bug 1860719. CLOSED TREE 2023-10-24 17:31:02 +03:00
Adam Brouwers-Harries
4cdf967b4e Bug 1421651 - Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau
This patch removes the old docshell timeline and timeline markers codebase and replaces them with equivalent Gecko profiler marker. This patch also fixes Bug 1834143, which is a subset of 1421651.

Differential Revision: https://phabricator.services.mozilla.com/D184217
2023-10-23 13:55:50 +00:00
Tom Marble
0cb91fe33e Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu
Differential Revision: https://phabricator.services.mozilla.com/D190515
2023-10-13 02:32:24 +00:00
Sylvestre Ledru
4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Emilio Cobos Álvarez
c2ce7e5fb8 Bug 1855763 - Use another alias other than moz-transform to test use counters, and other manual fix-ups. r=layout-reviewers,jfkthame
Depends on D189760

Differential Revision: https://phabricator.services.mozilla.com/D189769
2023-10-02 12:36:17 +00:00
Emilio Cobos Álvarez
813ca5b3b9 Bug 1855763 - Automatic fixes to avoid using prefixed transforms in tests. r=layout-reviewers,jfkthame
Using the script in comment 5, excluding third-party directories.

Differential Revision: https://phabricator.services.mozilla.com/D189760
2023-10-02 12:36:17 +00:00
Joel Maher
99abb50b8d Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189221
2023-09-26 17:40:01 +00:00
Jonathan Kew
924f066162 Bug 1853216 - Don't render layered-color glyphs via webrender if text-shadow is present. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188346
2023-09-16 09:33:55 +00:00
Sandor Molnar
2b6bb99fd8 Backed out changeset 6cdd02295e2d (bug 1842478) for causing mochitest failures on layout/style/test/test_transitions_and_zoom.html CLOSED TREE 2023-09-16 11:10:01 +03:00
Gregory Pappas
b681733f23 Bug 1842478 - Remove layout.css.individual-transform.enabled pref r=boris,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184176
2023-09-16 05:55:29 +00:00
Iulian Moraru
01b45bcc95 Backed out changeset 163d24542c19 (bug 1853216) for causing reftest failures on 1853216-1.html. 2023-09-16 05:14:15 +03:00
Jonathan Kew
661ae1d661 Bug 1853216 - Don't render layered-color glyphs via webrender if text-shadow is present. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188346
2023-09-15 21:10:53 +00:00
Razvan Cojocaru
7904413197 Bug 1843954 - Have Coord * Primitive and Coord / Primitive return Coord. r=botond
While at it, improve the readability of the enable_if
IntCoordTyped constructor.

Differential Revision: https://phabricator.services.mozilla.com/D184573
2023-09-14 00:37:04 +00:00
Tom Marble
9e40a719f2 Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Timothy Nikkel
c62aa28c2b Bug 1760747. Ensure that the bounds on the geometry of filter items are always limited by the building rect. r=jrmuizel
There are several paths in ComputeGeometryChange where we can allocate an geometry item for a filter item, but only one path that will call DetectContainerLayerPropertiesBoundsChange (which adjusts the bounds for filter items). Make sure this always happens in ComputeGeometryChange.

This was causing a bug where the geometry bounds were the full filter item height on the first paint (even though only part of the filter item was visible inside the building rect), but we did not call DetectContainerLayerPropertiesBoundsChange because it was the first paint where the filter item was visible. Then on the next paint the full filter item was visible, and there is no rect change to signal that we need to repaint.

Differential Revision: https://phabricator.services.mozilla.com/D187549
2023-09-11 22:00:30 +00:00
Adam Brouwers-Harries
f2287f3ca8 Bug 1421651 - Integrate animation triggered restyle counter into tests r=emilio
This commits integrates the new animation triggered restyle counter into the existing tests to ensure that the counter matches the expected marker count.

Depends on D186714

Differential Revision: https://phabricator.services.mozilla.com/D186715
2023-09-07 16:59:55 +00:00
Masatoshi Kimura
33a7abd008 Bug 1844908 - Remove pre-Win10-specific codepath from gfx/. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D184292
2023-08-17 02:58:21 +00:00
Glenn Watson
c3f2bd1294 Bug 1847084 - Add extra fuzziness for tier 2 1845828-1.html r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D185851
2023-08-10 20:37:11 +00:00
Narcis Beleuzu
27fd53cc53 Backed out changeset 9c6fae7b8434 (bug 1847084) for reftest failures. CLOSED TREE 2023-08-10 08:24:57 +03:00
Glenn Watson
65ed481264 Bug 1847084 - Add extra fuzziness for tier 2 1845828-1.html r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D185851
2023-08-10 04:51:28 +00:00
Glenn Watson
503938c13e Bug 1847644 - Add a little more fuzziness for tier 2 platforms r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D185768
2023-08-09 17:52:23 +00:00
Otto Länd
548d6e23f7 Bug 1845828: apply code formatting via Lando
# ignore-this-changeset
2023-08-03 14:18:06 +00:00
Jonathan Kew
ab2d1ab02d Bug 1845828 - patch 3 - Add a reftest for scaled canvas rendering of tiny font size. r=gfx-reviewers,lsalzman
Tryserver says this fails on Linux, though it passes for me locally;
it depends whether we end up using subpixel positioning or not, which
in turn is dependent on a whole slew of factors. So marking as random
there. Other platforms look happy.

Depends on D184820

Differential Revision: https://phabricator.services.mozilla.com/D185294
2023-08-03 13:32:29 +00:00
Emilio Cobos Álvarez
595328df6d Bug 1846745 - Remove nsColorNames.h. r=tlouw
Use the CSS parser to parse named colors.

Differential Revision: https://phabricator.services.mozilla.com/D185156
2023-08-03 10:52:14 +00:00
Emilio Cobos Álvarez
37525ae110 Bug 1845540 - Remove some unused macOS system colors. r=mstange,desktop-theme-reviewers,dao
-moz-mac-secondaryhighlight has one user, but it's the same as
-moz-cellhighlight so just use that.

Differential Revision: https://phabricator.services.mozilla.com/D184596
2023-07-26 20:48:14 +00:00
Cristian Tuns
37fd0fee76 Backed out changeset b1b105230b62 (bug 1842478) for causing mochitest failures in /test_transitions_and_zoom.html CLOSED TREE 2023-07-23 13:36:41 -04:00
Gregory Pappas
ba080b120a Bug 1842478 - Remove layout.css.individual-transform.enabled pref r=boris,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184176
2023-07-23 14:24:59 +00:00
Sandor Molnar
290f09f319 Backed out changeset da009889019a (bug 1842478) for causing build bustage in gfx/layers/AnimationInfo.cpp CLOSED TREE 2023-07-23 16:59:19 +03:00
Gregory Pappas
7d6e837414 Bug 1842478 - Remove layout.css.individual-transform.enabled pref r=boris,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184176
2023-07-23 13:17:59 +00:00
Glenn Watson
6cd2ae615b Bug 1843622 - Better fix / workaround for invalid scale in ScaleOffset r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D183698
2023-07-17 23:52:06 +00:00
Razvan Cojocaru
23aa72ebf6 Bug 1841478 - Use strongly-typed coordinates in the BaseSize constructor. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D182654
2023-07-10 02:59:01 +00:00
Glenn Watson
f4aca77390 Bug 1683679 - Clamp maximum number of border dashes to 16k r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D182529
2023-07-09 22:51:35 +00:00
Glenn Watson
e726227477 Bug 1825450 - Ensure device pixel scale for surfaces can't become infinite r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D182429
2023-07-09 21:22:10 +00:00
Glenn Watson
6b50a8161b Bug 1836690 - Add support for complex + tiled paths to new clip-mask rendering path r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D179901
2023-06-13 00:30:37 +00:00
Norisz Fay
f072b086df Backed out changeset e7ca3872307f (bug 1836690) for causing reftest failure on colrv1-01.html#Q CLOSED TREE 2023-06-12 06:38:34 +03:00
Glenn Watson
b7ccaa2a87 Bug 1836690 - Add support for complex + tiled paths to new clip-mask rendering path r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D179901
2023-06-11 22:20:58 +00:00
Ryan VanderMeulen
d10b5739d2 Bug 1835833 - Update OTS to 9.1.0. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D179464
2023-05-30 16:56:48 +00:00
Ray Kraesig
06d7f9c03e Bug 1834612 - [1/1] Restrict DComp-disabling mitigation to Windows 10 r=ahale,gfx-reviewers
Bug 1704954 disabled DirectComposition for users with NVIDIA graphics
hardware and mixed monitor refresh rates on Windows 10 and 11, as a
mitigation for bug 1638709. However, that bug is almost -- perhaps
entirely -- unknown on Windows 11 (q.v. for details), and the fallback
path it uses has been shown to cause issues there (bug 1763981).

Restrict the mitigation to only occur on Windows 10, where bug 1638709
is exhibited, but where no issues with the fallback path are known.

This also effectively reverts bug 1816001, which it obviates.

Differential Revision: https://phabricator.services.mozilla.com/D178848
2023-05-30 16:22:43 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Ray Kraesig
98dc3ec133 Bug 1830792 - [3/4] Remove is-nightly check for bug 1704954 mitigation r=gfx-reviewers,bradwerth
This mitigation exposed bug 1763981. Unfortunately, not applying it on
Nightly made it look like bug 1763981 was _fixed_ in Nightly, tricking
several users and developers and making testing needlessly more
difficult even after this was discovered.

Apply the mitigation across the board, regardless of release channel.
Developers may still set `gfx.webrender.dcomp-apply-1704954` to override
this as needed for testing (e.g.) fixes for bug 1638709.

Differential Revision: https://phabricator.services.mozilla.com/D176843
2023-05-03 14:24:35 +00:00
Peter Van der Beken
635046af85 Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-04-18 07:07:05 +00:00
Glenn Watson
11dd2a2799 Bug 1827553 - Update fuzziness for gfx/tests/reftest/1696439-1.html r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D175702
2023-04-18 02:29:16 +00:00
Glenn Watson
9c3ebe80a1 Bug 1828419 - Update fuzziness for gfx/tests/reftest/1761460.html r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D175701
2023-04-18 02:29:16 +00:00
Glenn Watson
7cb499d1d9 Bug 1823578 - Add new clip-mask rendering path r=gfx-reviewers,ahale
This adds the new infrastructure for rendering masked primitives
and uses it for simple rectangle primitives. Follow up patches
will port other primitives to it (and transformed rectangles).

Instead of rendering an alpha mask and then applying that during
picture cache rendering of content, the underlying content is
drawn to an off-screen surface, and the mask is applied on
top of that via multiplicative blending.

This is particularly helpful for applying masks to dynamically
rendered pictures in future, as we can apply the mask over the
already rendered picture without allocating an extra surface.

Since the content and mask is rendered together to a surface,
we can take advantage of this in future by caching the result
in the texture cache, rather than a temporary render target.
This means we don't need to redraw clip masks for this content
each time the surrounding area is invalidated.

Since the clip-mask is rendered in to the off-screen surface,
it is cheaper and simpler to composite the content in to the
main scene, avoiding an extra texture fetch and some tricky
fragment shader logic to sample the correct part of the mask.

To reduce the number of off-screen pixels that get drawn, the
system supports splitting the content up in to a series of
segments. This can either be a 9-patch, for the simple and
common case of a single rounded clip, or a tile grid across
the primitive. The tile grid can make it much faster to apply
large image masks, where there are often large areas that we
can determine are not affected by the mask image.

Differential Revision: https://phabricator.services.mozilla.com/D173095
2023-04-17 04:04:17 +00:00
Cosmin Sabou
60f701f2e5 Backed out 2 changesets (bug 1804140) for causing webdriver failures. CLOSED TREE
Backed out changeset 974558fd2790 (bug 1804140)
Backed out changeset dbe9d2f66fcc (bug 1804140)
2023-04-14 13:28:44 +03:00
Peter Van der Beken
e0b98d564b Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-04-14 08:09:50 +00:00
Narcis Beleuzu
937fd1f910 Backed out changeset 4548910a12b0 (bug 1823578) as req by gwatson . CLOSED TREE 2023-04-12 22:54:32 +03:00
Glenn Watson
afa7d91d20 Bug 1823578 - Add new clip-mask rendering path r=gfx-reviewers,ahale
This adds the new infrastructure for rendering masked primitives
and uses it for simple rectangle primitives. Follow up patches
will port other primitives to it (and transformed rectangles).

Instead of rendering an alpha mask and then applying that during
picture cache rendering of content, the underlying content is
drawn to an off-screen surface, and the mask is applied on
top of that via multiplicative blending.

This is particularly helpful for applying masks to dynamically
rendered pictures in future, as we can apply the mask over the
already rendered picture without allocating an extra surface.

Since the content and mask is rendered together to a surface,
we can take advantage of this in future by caching the result
in the texture cache, rather than a temporary render target.
This means we don't need to redraw clip masks for this content
each time the surrounding area is invalidated.

Since the clip-mask is rendered in to the off-screen surface,
it is cheaper and simpler to composite the content in to the
main scene, avoiding an extra texture fetch and some tricky
fragment shader logic to sample the correct part of the mask.

To reduce the number of off-screen pixels that get drawn, the
system supports splitting the content up in to a series of
segments. This can either be a 9-patch, for the simple and
common case of a single rounded clip, or a tile grid across
the primitive. The tile grid can make it much faster to apply
large image masks, where there are often large areas that we
can determine are not affected by the mask image.

Differential Revision: https://phabricator.services.mozilla.com/D173095
2023-04-12 00:03:19 +00:00
Mark Banner
4a729cf9d7 Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D173450
2023-03-24 19:35:24 +00:00