d5ecca7d59
* Fixed issues causing intermittent video playback problems on some sites. (bmo#1928484, bmo#1928798) - remove KDE integration patches - mozilla-kde.patch - firefox-kde.patch on KDE use these settings instead widget.use-xdg-desktop-portal.file-picker=1 widget.use-xdg-desktop-portal.mime-handler=1 (those are set by the latest branding package as well) - Mozilla Firefox 132.0 https://www.mozilla.org/en-US/firefox/132.0/releasenotes MFSA 2024-55 (bsc#1231879) * CVE-2024-10458 (bmo#1921733) Permission leak via embed or object elements * CVE-2024-10459 (bmo#1919087) Use-after-free in layout with accessibility * CVE-2024-10460 (bmo#1912537) Confusing display of origin for external protocol handler prompt * CVE-2024-10461 (bmo#1914521) XSS due to Content-Disposition being ignored in multipart/x-mixed-replace response * CVE-2024-10462 (bmo#1920423) Origin of permission prompt could be spoofed by long URL * CVE-2024-10463 (bmo#1920800) Cross origin video frame leak * CVE-2024-10468 (bmo#1914982) Race conditions in IndexedDB * CVE-2024-10464 (bmo#1913000) OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1184
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
# HG changeset patch
|
|
# Parent 3de59fe1b8708c01e134ce698c4232b8a854f617
|
|
Problem: webGL sites are displayed in the wrong color (usually blue-ish)
|
|
Solution: Problem is with skia once again. Output of webgl seems endian-correct, but skia only
|
|
knows how to deal with little endian.
|
|
So we swizzle the output of webgl after reading it from readpixels()
|
|
Note: This does not fix all webGL sites, but is a step in the right direction
|
|
|
|
Index: firefox-115.0/gfx/gl/GLContext.h
|
|
===================================================================
|
|
--- firefox-115.0.orig/gfx/gl/GLContext.h
|
|
+++ firefox-115.0/gfx/gl/GLContext.h
|
|
@@ -1560,6 +1560,13 @@ class GLContext : public GenericAtomicRe
|
|
BEFORE_GL_CALL;
|
|
mSymbols.fReadPixels(x, y, width, height, format, type, pixels);
|
|
OnSyncCall();
|
|
+#if MOZ_BIG_ENDIAN()
|
|
+ uint8_t* itr = (uint8_t*)pixels;
|
|
+ for (GLsizei i = 0; i < width * height; i++) {
|
|
+ NativeEndian::swapToLittleEndianInPlace((uint32_t*)itr, 1);
|
|
+ itr += 4;
|
|
+ }
|
|
+#endif
|
|
AFTER_GL_CALL;
|
|
mHeavyGLCallsSinceLastFlush = true;
|
|
}
|