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