MozillaFirefox/one_swizzle_to_rule_them_all.patch
Wolfgang Rosenauer a409d8adda - add mozilla-python313.patch to fix build with python 3.13+
* CVE-2018-12371 (bmo#1465686)
  * modifies the crash protection feature to increase the amount
    of time that plugins are allowed to be non-responsive before
  * firefox-bug506901.patch
- improve UI colors to be usable with dark themes at all
- added KDE integration patch from llunak@novell.com
  (firefox-kde.patch)
  * support for knotify, making -kde4-addon obsolete
  especially KDE integration:
  * added the ability to set the KDE default browser
  * MFSA 2009-05/CVE-2009-0357: XMLHttpRequest allows reading
  * MFSA 2009-04/CVE-2009-0356: Chrome privilege escalation via
  * MFSA 2009-02/CVE-2009-0354: XSS using a chrome XBL method
  * MFSA 2009-01/CVE-2009-0352 - CVE-2009-0353: Crashes with
    evidence of memory corruption (rv:1.9.0.6) (bmo#452913,
  * Make sure the search bar is not put back when resetting the
- Update to stability/security release 3.0.1 (bnc#407573)
  + MFSA 2008-35 Command-line URLs launch multiple tabs when
- Set browser.shell.checkDefaultBrowser to true (bnc#404119)
- fix hardlinks accross partitions
- move last change a bit further in specfile
- Mark a .png file as nonexecutable.
    * MFSA 2007-26  Privilege escalation through chrome-loaded
- Fixes bnc #295677
- added unzip to BuildRequires
- updated tango theme
    Resuming your browsing session, Previewing and subscribing
    Improved Add-ons manager, JavaScript 1.7, Extended search

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1190
2024-11-25 10:56:51 +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();