summaryrefslogtreecommitdiff
path: root/mozilla-bmo1504834-part3.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 16:23:41 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 16:23:41 +0000
commitbac4e156d8d54aa3a82bc30d20c9234776631881 (patch)
treea3408825c9e3c0e6f300598835ea1f5d761bb5b4 /mozilla-bmo1504834-part3.patch
parentc368e7da13ec9d52b1ea63b59b0af1f8d8044fb8 (diff)
automatic import of firefoxopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'mozilla-bmo1504834-part3.patch')
-rw-r--r--mozilla-bmo1504834-part3.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/mozilla-bmo1504834-part3.patch b/mozilla-bmo1504834-part3.patch
new file mode 100644
index 0000000..9c2ece0
--- /dev/null
+++ b/mozilla-bmo1504834-part3.patch
@@ -0,0 +1,17 @@
+# HG changeset patch
+# Parent 09cd4ac2cc607e85aa572425b824fbab386af607
+For FF68, AntiAliasing of XULTexts seem to be broken on big endian (s390x). Text and icons of the sandwich-menu to the
+right of the address bar, as well as plugin-windows appears transparant, which usually means unreadable (white on white).
+
+diff --git a/gfx/skia/skia/src/opts/SkBlitMask_opts.h b/gfx/skia/skia/src/opts/SkBlitMask_opts.h
+--- a/gfx/skia/skia/src/opts/SkBlitMask_opts.h
++++ b/gfx/skia/skia/src/opts/SkBlitMask_opts.h
+@@ -210,6 +210,8 @@ namespace SK_OPTS_NS {
+ // ~~~>
+ // a = 1*aa + d(1-1*aa) = aa + d(1-aa)
+ // c = 0*aa + d(1-1*aa) = d(1-aa)
++ // TODO: Check this for endian-issues!
++ // Do we need to switch 255 to the front for all of those tuples?
+ return (aa & Sk4px(skvx::byte16{0,0,0,255, 0,0,0,255, 0,0,0,255, 0,0,0,255}))
+ + d.approxMulDiv255(aa.inv());
+ };