MozillaFirefox/one_swizzle_to_rule_them_all.patch
Wolfgang Rosenauer 5bbcb979e1 ------------------------------------------------------------------
- Firefox 128.0.3 Release
  * Fixed: Fixed an issue causing some sites to not load when
    connecting via HTTP/2. (bmo#1908161, bmo#1909666)
  * Fixed: Fixed collapsed table rows not appearing when expected
    in some situations. (bmo#1907789)
  * Fixed: Fixed the Windows on-screen keyboard potentially
    concealing the webpage when displayed. (bmo#1907766)
- Firefox 128.0.2 Release
  * Fixed: Fixed an audio echo in video calls on macOS under
    certain conditions. (bmo#1908539)
  * Fixed: Fixed an issue where the Adguard extension popup was
    not displaying. (bmo#1906132)
  * Fixed: Fixed an issue causing some screen readers to fail to
    read when navigating by character in rich text editors. (Bug
    1905021)
  * Fixed: Fixed visual glitches when dark mode is enabled in
    Windows ARM devices. (bmo#1897444)
  * Fixed: Fixed an issue causing NTLM authentication failure.
    (bmo#1908115)
  * Fixed: Fixed an issue where content displayed on mouseover
    was not captured in a screenshot. (bmo#1905468)
  * Fixed: Various stability fixes.
- renamed firefox-3781e3117706.patch to mozilla-bmo1905018.patch
  to conform with patch structure and naming for the package

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1166
2024-07-30 11:20:32 +00:00

35 lines
1.2 KiB
Diff

# HG changeset patch
# User M. Sirringhaus <msirringhaus@suse.de>
# Date 1645518286 -3600
# Tue Feb 22 09:24:46 2022 +0100
# Node ID 494640792b4677f6462e95b90a54a4e22aeb738b
# Parent 81832d035e101471dcf52dd91de287268add7a91
imported patch one_swizzle_to_rule_them_all.patch
Index: firefox-115.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
===================================================================
--- firefox-115.0.orig/gfx/webrender_bindings/RenderCompositorSWGL.cpp
+++ firefox-115.0/gfx/webrender_bindings/RenderCompositorSWGL.cpp
@@ -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
@@ -242,6 +243,13 @@ void RenderCompositorSWGL::CommitMappedB
}
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();