MozillaFirefox/mozilla-bmo849632.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

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;
}