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

371 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond b3a88ee4db Bug 1711118 - Part 1. Allow Software WebRender for all desktop users in release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D115078
2021-05-14 13:01:21 +00:00
Chris Martin 46297bb820 Bug 1708545 - Only disable GfxInfo::Init() with Win32k lockdown enabled r=bobowen
It looks like it was too hopeful that we would be able to get rid of all usage
of GfxInfo::Init() from content process. Since it looks like there may be
some rare cases where the browser asserts, we should preface the assertions
to only happen with Win32k lockdown enabled to allow the user to continue
to use their browser while foxfooding this feature.

Differential Revision: https://phabricator.services.mozilla.com/D113984
2021-04-30 19:54:39 +00:00
Chris Martin 62881596f8 Bug 1698732 - Remove Win32k usage from GfxInfo in content process r=bas
Make it so that GfxInfo::Init() no longer does anything and add some asserts
to several GfxInfo APIs to ensure that they are not called by accident from
content process, as calling them now will return invalid data.

Minor cleanup - While I'm at it, might as well make GfxInfo.h and
GfxInfo.cpp line up a bit better with the coding standards

Differential Revision: https://phabricator.services.mozilla.com/D112199
2021-04-27 19:45:14 +00:00
Andrew Osmond b5418d7567 Bug 1702303 - Ship Software WebRender to non-D3D11, GPU process, small/medium screen users. r=gfx-reviewers,jrmuizel
This also lifts the 32-bit process restriction.

Differential Revision: https://phabricator.services.mozilla.com/D111962
2021-04-13 23:59:12 +00:00
Jeff Muizelaar 7ba871329b Bug 1702989 - Allow all AMD to be qualified for WebRender. r=aosmond
This loosens the allow list for AMD and relies on blocking instead.
I don't expect it to cause any actual change in who gets WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D110800
2021-04-05 22:34:13 +00:00
Jeff Muizelaar 1dc23c6a60 Bug 1702308 - Enable WebRender on Qualcomm. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D110445
2021-03-31 19:51:32 +00:00
Chris Martin 92f7054217 Bug 1698942 - Don't call HasBattery() in content process r=aosmond,bobowen
Differential Revision: https://phabricator.services.mozilla.com/D110239
2021-03-30 14:08:55 +00:00
Andrew Osmond 9a0e5fba41 Bug 1701231 - Allow Software WebRender on non-x86 targets. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D109892
2021-03-26 13:51:40 +00:00
Andrew Osmond 1c9b8bb425 Bug 1699242 - Don't ship Software WebRender to 32-bit users to late beta/release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D108838
2021-03-17 19:44:22 +00:00
Andrew Osmond 48b3a42c46 Bug 1697582 - Ship Software WebRender to Windows release subset. r=jrmuizel
Windows users on Basic / without D3D11 compositing, with the GPU
process, and with small screens may get Software WebRender on the
late beta and release channel.

Differential Revision: https://phabricator.services.mozilla.com/D107920
2021-03-11 20:09:21 +00:00
Jeff Muizelaar 06df30e913 Bug 1696235 - Fix bug number.
Differential Revision: https://phabricator.services.mozilla.com/D107103
2021-03-03 18:59:03 +00:00
Jeff Muizelaar 4e463afb9f Bug 1689433. Remove ineffective D3D11 ANGLE blocklist entry. r=jgilbert
D3D11 was made the default in Firefox 60 through:
https://hg.mozilla.org/mozilla-central/rev/8ee92682ad1f#l490.39
and so we've been using D3D11 on this hardware since then.

This has the added advantage of allowing hardware WebRender to run
on these devices and fixing h264 video with SW-WR.

Differential Revision: https://phabricator.services.mozilla.com/D106856
2021-03-02 13:49:56 +00:00
Alexis Beingessner ade0725530 Bug 1686616 - make GfxInfo use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105522
2021-02-18 13:26:29 +00:00
Bogdan Tara 33fb6dff31 Backed out changeset b149d1f43e95 (bug 1691964) for wd failures on minimize.py CLOSED TREE 2021-02-10 20:11:58 +02:00
Andrew Osmond 3ceb6196c4 Bug 1691964 - Avoid accelerated compositing for headless tests with software WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D104694
2021-02-10 15:11:58 +00:00
Matt Woodrow f9e8884de8 Bug 1541472 - Remove Advanced Layers, since it's disabled everywhere now. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D104592
2021-02-10 02:04:41 +00:00
sotaro ee841fc548 Bug 1689945 - Update display info when WM_DISPLAYCHANGE happens r=jrmuizel
GfxInfo::RefreshMonitors() could not be called in ScreenHelperWin::RefreshScreens(), since the RefreshScreens() is called within nsAppShell::Init(). Then GfxInfo::RefreshMonitors() is called during WM_DISPLAYCHANGE event handling.

Differential Revision: https://phabricator.services.mozilla.com/D103661
2021-02-04 23:25:35 +00:00
Butkovits Atila ce8d6cba99 Backed out changeset 73210e7c7526 (bug 1689945) for causing failures on Hal.cpp. CLOSED TREE 2021-02-04 18:26:21 +02:00
sotaro 196f20caaa Bug 1689945 - Update display info when WM_DISPLAYCHANGE happens r=jrmuizel
GfxInfo::RefreshMonitors() could not be called in ScreenHelperWin::RefreshScreens(), since the RefreshScreens() is called within nsAppShell::Init(). Then GfxInfo::RefreshMonitors() is called during WM_DISPLAYCHANGE event handling.

Differential Revision: https://phabricator.services.mozilla.com/D103661
2021-02-04 13:53:03 +00:00
sotaro 54fcac7131 Bug 1689940 - Add display adapter info to about:support r=jrmuizel
It is helpful if about:support have display adapter info like Bug 1638709.

Differential Revision: https://phabricator.services.mozilla.com/D103610
2021-02-01 20:06:33 +00:00
Andrew Osmond 1eabffb003 Bug 1689189 - Ship Software WebRender to users with large screens in nightly and early beta. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D103194
2021-01-27 20:54:57 +00:00
Andrew Osmond f23716aee9 Bug 1689186 - Ship Software WebRender to Linux/Windows users to early beta. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D103193
2021-01-27 20:31:01 +00:00
Jeff Muizelaar 9956651082 Bug 1689112 - Drop the low powered NVIDIA block in nightly and early beta. r=aosmond
WebRender should work a lot better on low powered GPUs than
when we first added this block.

Differential Revision: https://phabricator.services.mozilla.com/D103169
2021-01-27 16:08:22 +00:00
Andrew Osmond cb82d29e76 Bug 1680512 - Prefer EGL for glxtest detection and fallback to GLX if unavailable. r=rmader
As we make the transition to using EGL over GLX, we will need our
detection code to be sufficient without EGL to determine the device in
use. This patch makes us always use the EGL testing code over the GLX
testing code, regardless of the pref/envvar setting.

At the very least, we need to know the vendor ID of the device in use.
We can determine this if there is only one GPU on the PCI list, if we
get a driver name from Mesa, or if it is a proprietary driver (i.e.
NVIDIA) which includes its name in the vendor ID. If we know the vendor
ID, we can usually derive the device ID from the PCI list.

We now also track which path glxtest took. If we successfully did the
test via EGL, then we will allow the pref/envvar to use EGL instead of
GLX. If the test reverted to GLX, then it will use GLX regardless of the
pref/envvar. This is necessary because we need to know if the libraries
are available or not -- some systems may be missing one or the other.

Differential Revision: https://phabricator.services.mozilla.com/D102933
2021-01-25 19:41:04 +00:00
Noemi Erli 1f192d6edb Backed out changeset 98349a6be0f6 (bug 1680512) for causing build bustages in GfxInfo.mm CLOSED TREE 2021-01-25 21:13:12 +02:00
Andrew Osmond b364e1738e Bug 1680512 - Prefer EGL for glxtest detection and fallback to GLX if unavailable. r=rmader
As we make the transition to using EGL over GLX, we will need our
detection code to be sufficient without EGL to determine the device in
use. This patch makes us always use the EGL testing code over the GLX
testing code, regardless of the pref/envvar setting.

At the very least, we need to know the vendor ID of the device in use.
We can determine this if there is only one GPU on the PCI list, if we
get a driver name from Mesa, or if it is a proprietary driver (i.e.
NVIDIA) which includes its name in the vendor ID. If we know the vendor
ID, we can usually derive the device ID from the PCI list.

We now also track which path glxtest took. If we successfully did the
test via EGL, then we will allow the pref/envvar to use EGL instead of
GLX. If the test reverted to GLX, then it will use GLX regardless of the
pref/envvar. This is necessary because we need to know if the libraries
are available or not -- some systems may be missing one or the other.

Differential Revision: https://phabricator.services.mozilla.com/D102933
2021-01-25 17:31:27 +00:00
Jeff Muizelaar 540744a1ef Bug 1687797 - Let R600 ride into release. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D102482
2021-01-21 21:39:37 +00:00
Robert Mader 736a9e904d Bug 1588904 - [Linux/EGL] Use correct rendering device in multi-GPU setup, r=stransky,emilio,jgilbert,geckoview-reviewers,m_kato
Fetch the DRM device in the EGL version of glxtest, set it in gfxInfo and pass
it to gfxVars. Finally, use it in nsDMABufDevice::Configure().

While on it, also clean up EGL typedefs and defines a bit to match how it's
done for GLX.

Inspired by and copied from wlroots and Xwayland. Thanks to emersion!

Differential Revision: https://phabricator.services.mozilla.com/D98108
2021-01-18 09:26:21 +00:00
Sylvestre Ledru b58ddc19df Bug 1519636 - Reformat recent changes to the Google coding style r=andi
Updated with Debian clang-format version 11.0.1-1

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D100934
2021-01-06 17:17:23 +00:00
Andrew Osmond 284c6aa966 Bug 1682636 - Don't allow generic blocklist rules to block SW-WR. r=jrmuizel
Since Software WebRender is the replacement for Basic compositor, we
should not allow generic blocklist rules which block all features to
block Software WebRender. This feature must work under all
configurations, including safe mode, so it doesn't make sense to allow
blocking it.

This does not however prevent rules specifically targeting SW-WR from
blocking/allowing it.

Differential Revision: https://phabricator.services.mozilla.com/D99834
2020-12-16 21:32:28 +00:00
Andrew Osmond ee3c58f97c Bug 1682715 - Only allow Software WebRender by default on x86/AMD64 targets. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D99937
2020-12-16 20:24:34 +00:00
Dorel Luca ea9d56d8fc Backed out changeset 12545700455b (bug 1682636) for Wd failures. CLOSED TREE 2020-12-16 03:43:18 +02:00
Andrew Osmond 2c4e6231c0 Bug 1682636 - Don't allow generic blocklist rules to block SW-WR. r=jrmuizel
Since Software WebRender is the replacement for Basic compositor, we
should not allow generic blocklist rules which block all features to
block Software WebRender. This feature must work under all
configurations, including safe mode, so it doesn't make sense to allow
blocking it.

This does not however prevent rules specifically targeting SW-WR from
blocking/allowing it.

Differential Revision: https://phabricator.services.mozilla.com/D99834
2020-12-15 20:50:12 +00:00
Andrew Osmond 3cef7c231a Bug 1681921 - Ship WebRender Software to Windows nightly users with small/medium screens. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D99440
2020-12-11 13:34:45 +00:00
Sylvestre Ledru bbb5f8a339 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D98301
2020-12-07 10:17:57 +00:00
Jeff Muizelaar a843c1eee8 Bug 1680403 - Drop now unneeded blocking of WebRender on gen6. r=aosmond
Now that a fix for bug 1680063 has landed we don't need this anymore.

Differential Revision: https://phabricator.services.mozilla.com/D98551
2020-12-03 00:33:38 +00:00
Jeff Muizelaar 774896d5b3 Bug 1680161. Fix typo in Sandybridge.
Differential Revision: https://phabricator.services.mozilla.com/D98529
2020-12-02 20:34:13 +00:00
Jeff Muizelaar a69ac134ef Bug 1680161. Disable WebRender on gen6 on win7. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D98410
2020-12-02 01:16:23 +00:00
Jeff Muizelaar c1ba5c5eab Bug 1680164 - Don't restrict Nvidia device blocking to win10. r=aosmond
Having Win10 here dates back to when we only ran on Win10

Differential Revision: https://phabricator.services.mozilla.com/D98412
2020-12-02 01:16:46 +00:00
Jeff Muizelaar af2630b9f5 Bug 1679468 - Block AMD 8.56.1.15/16 from WebRender. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D98030
2020-11-27 03:31:09 +00:00
Csoregi Natalia 3c8f66699a Backed out changeset cc121f4d69ec (bug 1679468) for causing build bustage on GfxInfo.cpp. CLOSED TREE 2020-11-27 01:19:42 +02:00
Jeff Muizelaar 55fe392eba Bug 1679468 - Block AMD 8.56.1.15/16 from WebRender. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D98030
2020-11-26 21:53:54 +00:00
Jeff Muizelaar 80315bfb0a Bug 1678408 - Rename IntelHD3000 to IntelSandyBridge. r=aosmond
By default, anything we do for one Sandy Bridge gpu
we should do for all of them. See bug 1678388 for an
example of how we screwed this up.

Differential Revision: https://phabricator.services.mozilla.com/D97649
2020-11-19 19:30:46 +00:00
Jeff Muizelaar 9d8e8ffd2d Bug 1677835 - Drop Intel driver 23.20.16.4973 blocking. r=aosmond
The user that reported the problem doesn't see it anymore
and we haven't seen any problems on Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D97479
2020-11-18 19:22:10 +00:00
Jeff Muizelaar e5a523648c Bug 1677108 - Let gen5, R600, Tesla1 and gpu processless WebRender all ride to beta. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D97009
2020-11-13 14:39:57 +00:00
Jeff Muizelaar 2e3d5b10bb Bug 1676538 - Rollout WebRender to R600 on Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96653
2020-11-11 00:45:40 +00:00
Andrew Osmond e5865e88c9 Bug 1674197 - Allow WebRender for Intel driver 23.20.16.4973 on early beta. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95192
2020-10-29 19:18:53 +00:00
Andrew Osmond 7dbd895ab1 Bug 1672464 - Block WebRender for NVIDIA users with mixed refresh rates. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D94477
2020-10-23 15:12:41 +00:00
Andrew Osmond 45803f0f80 Bug 1672467 - Rollout WebRender to Windows 7/8/8.1 on Release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D94476
2020-10-22 20:04:27 +00:00
Jeff Muizelaar d84e779913 Bug 1672451 - Drop Nvidia driver blocklist. r=aosmond
This was just a risk reduction. We don't need it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D94339
2020-10-21 19:17:42 +00:00