summaryrefslogtreecommitdiff
path: root/firefox-kde-webrender.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-02-01 16:22:29 +0100
committerMartin Stransky <stransky@redhat.com>2021-02-01 16:22:29 +0100
commit68ac29b2c1d2e456d72c1c15e9f05a024dd7fe43 (patch)
tree757bab3ab5a177a6e48b3bf8c19744e58fb35c7d /firefox-kde-webrender.patch
parentDisabled crashreporter on rawhide due to bugzilla.redhat.com/show_bug.cgi?id=... (diff)
downloadlibrewolf-fedora-ff-68ac29b2c1d2e456d72c1c15e9f05a024dd7fe43.tar.gz
librewolf-fedora-ff-68ac29b2c1d2e456d72c1c15e9f05a024dd7fe43.tar.bz2
librewolf-fedora-ff-68ac29b2c1d2e456d72c1c15e9f05a024dd7fe43.zip
Enable WebRender on Wayland/KDE
Diffstat (limited to 'firefox-kde-webrender.patch')
-rw-r--r--firefox-kde-webrender.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/firefox-kde-webrender.patch b/firefox-kde-webrender.patch
new file mode 100644
index 0000000..b827a57
--- /dev/null
+++ b/firefox-kde-webrender.patch
@@ -0,0 +1,33 @@
+diff -up firefox-85.0/widget/GfxInfoX11.cpp.firefox-kde-webrender firefox-85.0/widget/GfxInfoX11.cpp
+--- firefox-85.0/widget/GfxInfoX11.cpp.firefox-kde-webrender 2021-02-01 16:15:09.807773987 +0100
++++ firefox-85.0/widget/GfxInfoX11.cpp 2021-02-01 16:20:26.115125315 +0100
+@@ -713,6 +713,14 @@ const nsTArray<GfxDriverInfo>& GfxInfo::
+ DRIVER_GREATER_THAN_OR_EQUAL, V(18, 0, 0, 0),
+ "FEATURE_ROLLOUT_INTEL_GNOME_WAYLAND_MESA", "Mesa 18.0.0.0");
+
++ APPEND_TO_DRIVER_BLOCKLIST_EXT(
++ OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
++ DesktopEnvironment::KDE, WindowProtocol::Wayland,
++ DriverVendor::MesaAll, DeviceFamily::IntelRolloutWebRender,
++ nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_ALLOW_ALWAYS,
++ DRIVER_GREATER_THAN_OR_EQUAL, V(18, 0, 0, 0),
++ "FEATURE_ROLLOUT_INTEL_GNOME_WAYLAND_MESA", "Mesa 18.0.0.0");
++
+ // ATI Mesa baseline, chosen arbitrarily.
+ APPEND_TO_DRIVER_BLOCKLIST_EXT(
+ OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
+@@ -727,6 +735,14 @@ const nsTArray<GfxDriverInfo>& GfxInfo::
+ DriverVendor::MesaAll, DeviceFamily::AtiRolloutWebRender,
+ nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_ALLOW_ALWAYS,
+ DRIVER_GREATER_THAN_OR_EQUAL, V(18, 0, 0, 0),
++ "FEATURE_ROLLOUT_ATI_GNOME_WAYLAND_MESA", "Mesa 18.0.0.0");
++
++ APPEND_TO_DRIVER_BLOCKLIST_EXT(
++ OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
++ DesktopEnvironment::KDE, WindowProtocol::Wayland,
++ DriverVendor::MesaAll, DeviceFamily::AtiRolloutWebRender,
++ nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_ALLOW_ALWAYS,
++ DRIVER_GREATER_THAN_OR_EQUAL, V(18, 0, 0, 0),
+ "FEATURE_ROLLOUT_ATI_GNOME_WAYLAND_MESA", "Mesa 18.0.0.0");
+
+ #ifdef EARLY_BETA_OR_EARLIER
bgstack15