summaryrefslogtreecommitdiff
path: root/user/firefox-esr/webrender.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:45:26 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-24 22:58:39 -0600
commit1a7b7d68a2413c63cf01088c2c18b773c747efb7 (patch)
treed688b826537cb72f19a250cd96cdb1db5c5cd9ad /user/firefox-esr/webrender.patch
parent8b431243b55de98fd1b9686e52e9565375e7cfcf (diff)
downloadpackages-1a7b7d68a2413c63cf01088c2c18b773c747efb7.tar.gz
packages-1a7b7d68a2413c63cf01088c2c18b773c747efb7.tar.bz2
packages-1a7b7d68a2413c63cf01088c2c18b773c747efb7.tar.xz
packages-1a7b7d68a2413c63cf01088c2c18b773c747efb7.zip
user/firefox-esr: Update to 128.4.0esr
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.patch32
1 files changed, 3 insertions, 29 deletions
diff --git a/user/firefox-esr/webrender.patch b/user/firefox-esr/webrender.patch
index a2457e576..e6b145956 100644
--- a/user/firefox-esr/webrender.patch
+++ b/user/firefox-esr/webrender.patch
@@ -6,35 +6,9 @@
# Parent 20d81e68da033746bf81acbb08490f16679853da
Bug 1716707 [s390x] Software WebRender does not support big endian
-diff -r 20d81e68da03 -r 903e5f164c0e gfx/webrender_bindings/RenderCompositorSWGL.cpp
---- a/gfx/webrender_bindings/RenderCompositorSWGL.cpp Thu Mar 24 06:57:58 2022 +0000
-+++ b/gfx/webrender_bindings/RenderCompositorSWGL.cpp Thu Mar 24 02:36:16 2022 -0700
-@@ -7,6 +7,7 @@
- #include "RenderCompositorSWGL.h"
-
- #include "mozilla/gfx/Logging.h"
-+#include "mozilla/gfx/Swizzle.h"
- #include "mozilla/widget/CompositorWidget.h"
-
- #ifdef MOZ_WIDGET_GTK
-@@ -235,6 +237,13 @@
- }
- mDT->Flush();
-
-+#if MOZ_BIG_ENDIAN()
-+ // One swizzle to rule them all.
-+ 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();
-diff -r 20d81e68da03 -r 903e5f164c0e image/imgFrame.cpp
---- a/image/imgFrame.cpp Thu Mar 24 06:57:58 2022 +0000
-+++ b/image/imgFrame.cpp Thu Mar 24 02:36:16 2022 -0700
-@@ -372,6 +372,17 @@
+--- firefox-128.0/image/imgFrame.cpp
++++ firefox-128.0/image/imgFrame.cpp
+@@ -372,6 +372,17 @@ mAborted = true;
return NS_ERROR_OUT_OF_MEMORY;
}