Граф коммитов

72 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar 529465e543 Bug 1643348 - Allow gen7.5 gt2/3 on early beta. r=aosmond
This also drops screen size and battery restrictions.

Differential Revision: https://phabricator.services.mozilla.com/D78290
2020-06-04 17:24:48 +00:00
Jeff Muizelaar 6bd11ae538 Bug 1643052 - Turn on WebRender on Stoney Ridge. r=aosmond
Let's let it ride to early beta for now.

Differential Revision: https://phabricator.services.mozilla.com/D78081
2020-06-03 17:20:21 +00:00
Emilio Cobos Álvarez 54fd961a29 Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
There's no use case for stateful comparators, so they can be just plain
function pointers.

This is used in some hot places like CSS selector matching.

Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Jeff Muizelaar 3bdbb1b8d9 Bug 1640170 - Enable WebRender on gen[7-8] gt1. r=aosmond
Things are better and we don't tend to be shader execution bound.
Let's find out if there's a reason to not be on gt1

Differential Revision: https://phabricator.services.mozilla.com/D76479
2020-05-22 14:33:10 +00:00
Jeff Muizelaar c0148117fe Bug 1638905 - Enable WebRender on gen6 gt2 on Nightly. r=aosmond
Things are better enough now that this is worth a try.

Differential Revision: https://phabricator.services.mozilla.com/D75820
2020-05-18 17:44:22 +00:00
Jeff Muizelaar 3ffa015639 Bug 1637306 - Turn on WebRender on gen7.5 gt3 in Nightly. r=aosmond
We already have it on on gen7.5 gt2 and these should be
better.

Differential Revision: https://phabricator.services.mozilla.com/D74878
2020-05-15 13:57:48 +00:00
Jeff Muizelaar 57daed43ca Bug 1635807 - Rollout WebRender to Intel apollolake and geminilake. r=aosmond
The screen resolutions are relatively low on these devices
and the GPUs have a reasonable amount of power.

Differential Revision: https://phabricator.services.mozilla.com/D74060
2020-05-06 15:38:54 +00:00
Jonathan Watt 5039526672 Bug 1634154. Make `widget/gtk` buildable outside of `unified-build` environment. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D73123
2020-05-01 03:02:13 +00:00
Jeff Muizelaar c2562601fe Bug 1633490 - Rollout WebRender to AMD Evergreen on Nightly. r=aosmond
Let's keep this Nightly only for now because it's an older set of
devices.

Differential Revision: https://phabricator.services.mozilla.com/D72709
2020-04-28 14:53:13 +00:00
Jeff Muizelaar ad14a3ebc3 Bug 1633508 - Rollout WebRender to Coffeelake GT1 GPUs. r=aosmond
These aren't particularly common but there basically
the same as Skylake GT1.

Differential Revision: https://phabricator.services.mozilla.com/D72719
2020-04-27 18:14:27 +00:00
Jeff Muizelaar fcce3abceb Bug 1633412 - Rollout WebRender to Intel Icelake r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D72660
2020-04-27 15:28:43 +00:00
Jeff Muizelaar f9a64ef094 Bug 1633411 - Roll out WebRender to AMD Raven Ridge devices. r=aosmond
This is a modern AMD APU

Differential Revision: https://phabricator.services.mozilla.com/D72658
2020-04-27 15:05:21 +00:00
Jeff Muizelaar 2362f66489 Bug 1633290 - Enable WebRender on Skylake GT1. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D72571
2020-04-27 00:52:57 +00:00
Jeff Muizelaar e11b7fe8c4 Bug 1632961 - Fix up kabylake ids. r=aosmond
Remove duplicates and add back 0x5912

Differential Revision: https://phabricator.services.mozilla.com/D72441
2020-04-24 19:34:12 +00:00
Jeff Muizelaar a158aafa00 Bug 1632240 - Add some more Kabylake ids. r=aosmond
This adds support for kabylake gt1 and gt1.5

Differential Revision: https://phabricator.services.mozilla.com/D72019
2020-04-22 19:02:44 +00:00
Jeff Muizelaar c0acfaa944 Bug 1632202. Enable WebRender on some Gen7 in Nightly. r=aosmond
Seems to work well enough.

Differential Revision: https://phabricator.services.mozilla.com/D71986
2020-04-22 15:28:14 +00:00
Jeff Muizelaar c575c3531c Bug 1632002. Re-enable WebRender on Gen7.5 in Nightly.
Scrolling on Youtube (Bug 1576637) has improved enough
that we can turn gen7 back on in Nightly

Differential Revision: https://phabricator.services.mozilla.com/D71859
2020-04-22 01:18:23 +00:00
Jessie Bonisteel 7a871da043 Bug 1615049 - Shipping WebRender to modern intel laptops with small screen. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D66643

--HG--
extra : moz-landing-system : lando
2020-03-13 19:59:43 +00:00
Andreea Pavel ffe2fa6ae0 Backed out changeset 180f1350fdd3 (bug 1615049) for build bustages at /GfxDriverInfo.cpp on a CLOSED TREE 2020-03-13 21:23:56 +02:00
Jessie Bonisteel 37e2c5ab60 Bug 1615049 - Shipping WebRender to modern intel laptops with small screen. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D66643

--HG--
extra : moz-landing-system : lando
2020-03-13 18:35:55 +00:00
Andrew Osmond 7322e0dfc4 Bug 1618326 - Remove/replace AMD with ATI in our blocklist rules. r=jrmuizel
AMD does not release any graphics cards under the vendor ID 0x1022. That
appears to be reserved for their non-graphics hardware. Instead they
have chosen to continue releasing graphics hardware under the ATI vendor
ID 0x1002. This patch removes all of the AMD ID rules and replaces them,
if applicable, with ATI ID rules. This has meant that sometimes we
failed to block things in the past that we expected to.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 15:39:12 +00:00
Andrew Osmond 2f5b8e09b8 Bug 1617148 - Re-enable WebRender for Intel Haswell on Linux nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D63635

--HG--
extra : moz-landing-system : lando
2020-02-21 13:16:35 +00:00
Jeff Muizelaar 83b63756b3 Bug 1616685 - Disable WebRender on Gen7.5. r=aosmond
We're doing this until we better understand the texture allocation
problems described in bug 1616646.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 21:16:51 +00:00
Andrew Osmond fbc6573229 Bug 1614102 - Allow WebRender on all Intel Coffee Lake GT2+ GPUs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D62326

--HG--
extra : moz-landing-system : lando
2020-02-18 13:56:13 +00:00
Andrew Osmond db39fa490d Bug 1614798 - Refactor the blocklist rules to hide more of the boilerplate. r=jrmuizel
We would like to get to a world where we compare/store enums instead of
strings, and this is a step towards.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 22:39:10 +00:00
Andrew Osmond b96a8b6503 Bug 1614376 - Part 3. Add support for device ID ranges in blocklist rules. r=jrmuizel
Currently the blocklist can block groups of devices, called a
DeviceFamily. However this only allows us to check specific IDs and not
ranges of device IDs like we do currently for the WebRender allowlist.
This patch allows a device family to now specify start and end values
for device IDs we want to match in the blocklist rule.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 15:51:40 +00:00
Andrew Osmond cbd1d387e2 Bug 1614376 - Part 2. Add blocklist support for battery/screen size filters. r=jrmuizel
As part of the WebRender rollout, we have been only allowing users
meeting particular platform, battery and screen size requirements (among
others) to get WebRender by default. This patch adds support for battery
and screen size filters in the blocklist rules to allow us to control
that more easily. It also adds kludgey support for checking for recent
Windows 10 build numbers for allowlist purposes; implementing this the
proper way would require an implementation like driver version checks,
which are much more complicated than most of the rules.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 15:51:32 +00:00
Csoregi Natalia 743b1f8b4b Backed out 3 changesets (bug 1614376) for assertion failures on GfxInfoBase.cpp. CLOSED TREE
Backed out changeset b239f4b49722 (bug 1614376)
Backed out changeset c5ac550f4966 (bug 1614376)
Backed out changeset e11c62eba5f1 (bug 1614376)
2020-02-13 14:35:26 +02:00
Andrew Osmond 6a274e995e Bug 1614376 - Part 3. Add support for device ID ranges in blocklist rules. r=jrmuizel
Currently the blocklist can block groups of devices, called a
DeviceFamily. However this only allows us to check specific IDs and not
ranges of device IDs like we do currently for the WebRender allowlist.
This patch allows a device family to now specify start and end values
for device IDs we want to match in the blocklist rule.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 22:36:41 +00:00
Andrew Osmond 1374c13c07 Bug 1614376 - Part 2. Add blocklist support for battery/screen size filters. r=jrmuizel
As part of the WebRender rollout, we have been only allowing users
meeting particular platform, battery and screen size requirements (among
others) to get WebRender by default. This patch adds support for battery
and screen size filters in the blocklist rules to allow us to control
that more easily. It also adds kludgey support for checking for recent
Windows 10 build numbers for allowlist purposes; implementing this the
proper way would require an implementation like driver version checks,
which are much more complicated than most of the rules.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 22:36:39 +00:00
Andrew Osmond 215f13488a Bug 1602819 - Expose desktop environment (e.g. GNOME, KDE) on Linux. r=jrmuizel,fluent-reviewers
This patch also exposes the desktop environment and window protocol on
the gfx blocklist, allowing us more control over feature deployment.
This will help with the slow rollout of WebRender to release channels.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 14:21:30 +00:00
Razvan Maries 23b0b10a14 Backed out changeset 8ddc0a160da1 (bug 1602819) for Mochitest perma failures on Linux. CLOSED TREE 2020-02-10 14:52:27 +02:00
Andrew Osmond b2a444ebe9 Bug 1602819 - Expose desktop environment (e.g. GNOME, KDE) on Linux. r=jrmuizel,fluent-reviewers
This patch also exposes the desktop environment and window protocol on
the gfx blocklist, allowing us more control over feature deployment.
This will help with the slow rollout of WebRender to release channels.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 18:57:51 +00:00
sotaro 37617ede78 Bug 1599981 - Blacklist old drivers on AMD Caicos GPU on Windows10 r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D58180

--HG--
extra : moz-landing-system : lando
2020-01-05 19:25:36 +00:00
Chris Peterson 406763af7f Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
sotaro 4dfa97eb9f Bug 1603015 - Backout r=gw
Backout a patch since it disables WR compositor usage during try tests.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 00:46:18 +00:00
sotaro b6830af239 Bug 1603015 - Block WebRender compositor on all Intel devices with <= 6293 driver r=gw
Differential Revision: https://phabricator.services.mozilla.com/D56673

--HG--
extra : moz-landing-system : lando
2019-12-11 06:19:48 +00:00
sotaro 111038667c Bug 1602511 - Blacklist webrender compositor on Intel HD 520 r=gw
Differential Revision: https://phabricator.services.mozilla.com/D56535

--HG--
extra : moz-landing-system : lando
2019-12-10 19:16:13 +00:00
Dzmitry Malyshau 2db3c22a35 Bug 1570736 - Blocklist WR swizzling on HD3000 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50813

--HG--
extra : moz-landing-system : lando
2019-10-28 21:38:11 +00:00
Sylvestre Ledru 645f2d5773 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-08-13 07:15:25 +00:00
Dzmitry Malyshau 005edf80aa Bug 1570736 - Force disable WR swizzling on Intel 4000 on Mac r=aosmond
Investigation showed that on this platform the texture unit state becomes
corrupted whenever we set the non-identity swizzling (getting garbage from textureSize()).
Given no easy workaround, we disable swizzling for this GPU family on Mac, for now.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 18:57:35 +00:00
Andrew Osmond 25e394458a Bug 1554251 - Enable WebRender on nightly for AMD hardware with Linux and Mesa drivers. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D32506
2019-05-27 12:35:53 -04:00
Andrew Osmond 17c3cc5d39 Bug 1544105 - Part 1. Expose new driver vendor field for the graphics blocklist. r=jrmuizel
This reunifies the behaviour changed in bug 1294232 to ensure that the
vendor ID of GfxInfo is the same between graphics hardware. Vendor ID
should always represent Intel, Nvidia, ATI, etc such that callers can
reason about the performance characteristics without being exposed to
the driver implementation for that platform. Now we split off the more
detailed driver information into the "driver vendor" which will contain
more information, such as what implementation is being used (e.g.
mesa/i965 for modern Intel graphics cards). This field is exposed to the
blocklist and will be useful for allowing different rules for different
driver implementations.

We also now provide a default implementation for
GfxInfoBase::FindMonitors for platforms missing support. This will just
list the primary screen size used without listing secondary monitors,
refresh rate, and such.

Differential Revision: https://phabricator.services.mozilla.com/D29471
2019-05-03 18:26:06 -04:00
Mihai Alexandru Michis 25a6b02677 Backed out 2 changesets (bug 1544105) for leaks in mda tests and failing browser_Troubleshoot.js CLOSED TREE
Backed out changeset eca7ee42af96 (bug 1544105)
Backed out changeset a8cd879f02ce (bug 1544105)
2019-05-03 23:19:03 +03:00
Andrew Osmond f289a95270 Bug 1544105 - Part 1. Expose new driver vendor field for the graphics blocklist. r=jrmuizel
This reunifies the behaviour changed in bug 1294232 to ensure that the
vendor ID of GfxInfo is the same between graphics hardware. Vendor ID
should always represent Intel, Nvidia, ATI, etc such that callers can
reason about the performance characteristics without being exposed to
the driver implementation for that platform. Now we split off the more
detailed driver information into the "driver vendor" which will contain
more information, such as what implementation is being used (e.g.
mesa/i965 for modern Intel graphics cards). This field is exposed to the
blocklist and will be useful for allowing different rules for different
driver implementations.

We also now provide a default implementation for
GfxInfoBase::FindMonitors for platforms missing support. This will just
list the primary screen size used without listing secondary monitors,
refresh rate, and such.

Differential Revision: https://phabricator.services.mozilla.com/D29471
2019-05-03 14:57:58 -04:00
Daniel Varga 2b81f4d301 Backed out 2 changesets (bug 1544105) for build bustages. On a CLOSED TREE
Backed out changeset 215c2693d281 (bug 1544105)
Backed out changeset 16d5af6fd55c (bug 1544105)
2019-05-03 19:12:48 +03:00
Andrew Osmond c4dec73816 Bug 1544105 - Part 1. Expose new driver vendor field for the graphics blocklist. r=jrmuizel
This reunifies the behaviour changed in bug 1294232 to ensure that the
vendor ID of GfxInfo is the same between graphics hardware. Vendor ID
should always represent Intel, Nvidia, ATI, etc such that callers can
reason about the performance characteristics without being exposed to
the driver implementation for that platform. Now we split off the more
detailed driver information into the "driver vendor" which will contain
more information, such as what implementation is being used (e.g.
mesa/i965 for modern Intel graphics cards). This field is exposed to the
blocklist and will be useful for allowing different rules for different
driver implementations.

We also now provide a default implementation for
GfxInfoBase::FindMonitors for platforms missing support. This will just
list the primary screen size used without listing secondary monitors,
refresh rate, and such.

Differential Revision: https://phabricator.services.mozilla.com/D29471
2019-05-03 11:13:26 -04:00
Andrew Comminos 6828eee6b1 Bug 1294232 - Refactor blocklisting on Linux to support the downloadable blocklist. r=jrmuizel
MozReview-Commit-ID: ESJY9kkqXR8

Differential Revision: https://phabricator.services.mozilla.com/D19190
2019-03-18 07:50:02 -04:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Kartikaya Gupta 5999ea0b2a Bug 1501533 - Block a bunch of low-powered nvidia cards from getting WebRender. r=mattwoodrow
Depends on D9677

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

--HG--
extra : moz-landing-system : lando
2018-10-24 18:58:00 +00:00