83ba88
# HG changeset patch
763d03
# Parent  09cd4ac2cc607e85aa572425b824fbab386af607
83ba88
For FF68, AntiAliasing of XULTexts seem to be broken on big endian (s390x). Text and icons of the sandwich-menu to the
83ba88
right of the address bar, as well as plugin-windows appears transparant, which usually means unreadable (white on white).
83ba88
26f3ef
diff --git a/gfx/skia/skia/src/opts/SkBlitMask_opts.h b/gfx/skia/skia/src/opts/SkBlitMask_opts.h
26f3ef
--- a/gfx/skia/skia/src/opts/SkBlitMask_opts.h
26f3ef
+++ b/gfx/skia/skia/src/opts/SkBlitMask_opts.h
763d03
@@ -210,6 +210,8 @@ namespace SK_OPTS_NS {
83ba88
             //   ~~~>
83ba88
             // a = 1*aa + d(1-1*aa) = aa + d(1-aa)
83ba88
             // c = 0*aa + d(1-1*aa) =      d(1-aa)
763d03
+            // TODO: Check this for endian-issues!
763d03
+            //       Do we need to switch 255 to the front for all of those tuples?
763d03
             return (aa & Sk4px(skvx::byte16{0,0,0,255, 0,0,0,255, 0,0,0,255, 0,0,0,255}))
83ba88
                  + d.approxMulDiv255(aa.inv());
83ba88
         };