summaryrefslogtreecommitdiff
path: root/user/firefox-esr/webrender.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-18 23:44:33 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-19 00:57:01 -0600
commitd37f1a6c4dffb9e9c24625ce33deff54c8913747 (patch)
treec8bd16faca358b411e32dfd6552c184ca4b980d4 /user/firefox-esr/webrender.patch
parenta364362f906db0db41b1514b5e4a8bc341617bf2 (diff)
downloadpackages-d37f1a6c4dffb9e9c24625ce33deff54c8913747.tar.gz
packages-d37f1a6c4dffb9e9c24625ce33deff54c8913747.tar.bz2
packages-d37f1a6c4dffb9e9c24625ce33deff54c8913747.tar.xz
packages-d37f1a6c4dffb9e9c24625ce33deff54c8913747.zip
user/firefox-esr: Update to 128.4.0
Also, include a patch that makes it almost work in PPC64.
Diffstat (limited to 'user/firefox-esr/webrender.patch')
-rw-r--r--user/firefox-esr/webrender.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/user/firefox-esr/webrender.patch b/user/firefox-esr/webrender.patch
index 1c0d381ac..e6b145956 100644
--- a/user/firefox-esr/webrender.patch
+++ b/user/firefox-esr/webrender.patch
@@ -6,34 +6,6 @@
# Parent 20d81e68da033746bf81acbb08490f16679853da
Bug 1716707 [s390x] Software WebRender does not support big endian
---- firefox-128.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
-+++ firefox-128.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
-@@ -7,6 +7,7 @@ * file, You can obtain one at http://moz
- #include "RenderCompositorSWGL.h"
-
- #include "mozilla/gfx/Logging.h"
-+#include "mozilla/gfx/Swizzle.h"
- #include "mozilla/widget/CompositorWidget.h"
-
- #ifdef MOZ_WIDGET_GTK
-@@ -242,6 +243,17 @@ mDT->ReleaseBits(mMappedData);
- }
- mDT->Flush();
-
-+#if MOZ_BIG_ENDIAN()
-+ // One swizzle to rule them all.
-+ // With exception to certain text boxes with 1 line (46 pixels) and 2 lines
-+ // (64 pixels) in Firefox 115. Per following bug:
-+ // https://bugzilla.mozilla.org/show_bug.cgi?id=1900574
-+ if ((int)mDT->GetSize().height != 46 && mDT->GetSize().height != 64)
-+ gfx::SwizzleData(mMappedData, mMappedStride, gfx::SurfaceFormat::B8G8R8A8,
-+ mMappedData, mMappedStride, gfx::SurfaceFormat::A8R8G8B8,
-+ mDT->GetSize());
-+#endif
-+
- // Done with the DT. Hand it back to the widget and clear out any trace of it.
- mWidget->EndRemoteDrawingInRegion(mDT, mDirtyRegion);
- mDirtyRegion.SetEmpty();
--- firefox-128.0/image/imgFrame.cpp
+++ firefox-128.0/image/imgFrame.cpp
@@ -372,6 +372,17 @@ mAborted = true;