[X2Go-Commits] [pale-moon] 01/01: debian/patches: add new patch disabling offscreen image rendering when using the GTK2 backend.
git-admin at x2go.org
git-admin at x2go.org
Thu Apr 25 08:50:15 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pale-moon.
commit a1c856425230cf640d143b0cc7dde1addf485892
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Apr 25 08:49:19 2019 +0200
debian/patches: add new patch disabling offscreen image rendering when using the GTK2 backend.
Should make using PM 28 remotely much faster.
---
debian/changelog | 3 +++
.../fixes/Disable-Offscreen-Rendering-with-GTK2.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 19 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8067952..a941d55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ palemoon (28.4.0+repack-1-0x2go1) UNRELEASED; urgency=medium
* debian/control.in:
- Replace processor-based architecture check with actual
architecture-based dependencies.
+ * debian/patches:
+ - Add new patch disabling offscreen image rendering when using the GTK2
+ backend. Should make using PM 28 remotely much faster.
-- Mihai Moldovan <ionic at ionic.de> Wed, 27 Feb 2019 05:34:45 +0100
diff --git a/debian/patches/fixes/Disable-Offscreen-Rendering-with-GTK2.patch b/debian/patches/fixes/Disable-Offscreen-Rendering-with-GTK2.patch
new file mode 100644
index 0000000..2d9f089
--- /dev/null
+++ b/debian/patches/fixes/Disable-Offscreen-Rendering-with-GTK2.patch
@@ -0,0 +1,15 @@
+--- a/gfx/thebes/gfxPlatformGtk.cpp
++++ b/gfx/thebes/gfxPlatformGtk.cpp
+@@ -407,8 +407,12 @@ gfxPlatformGtk::GetDPIScale()
+ bool
+ gfxPlatformGtk::UseImageOffscreenSurfaces()
+ {
++#if (MOZ_WIDGET_GTK == 2)
++ return false;
++#else
+ return GetDefaultContentBackend() != mozilla::gfx::BackendType::CAIRO ||
+ gfxPrefs::UseImageOffscreenSurfaces();
++#endif
+ }
+
+ gfxImageFormat
diff --git a/debian/patches/series b/debian/patches/series
index 0e06003..02bd878 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
debian-hacks/Add-debian-extra-stuff-to-upstream-build-system-dire.patch
+fixes/Disable-Offscreen-Rendering-with-GTK2.patch
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git
More information about the x2go-commits
mailing list