2022-05-26 19:37:45 +00:00
|
|
|
# HG changeset patch
|
2023-09-18 14:59:16 +00:00
|
|
|
# Parent 09cd4ac2cc607e85aa572425b824fbab386af607
|
2022-05-26 19:37:45 +00:00
|
|
|
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).
|
|
|
|
|
2023-01-15 11:44:51 +00:00
|
|
|
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
|
2023-09-18 14:59:16 +00:00
|
|
|
@@ -210,6 +210,8 @@ namespace SK_OPTS_NS {
|
2022-05-26 19:37:45 +00:00
|
|
|
// ~~~>
|
|
|
|
// a = 1*aa + d(1-1*aa) = aa + d(1-aa)
|
|
|
|
// c = 0*aa + d(1-1*aa) = d(1-aa)
|
2023-09-18 14:59:16 +00:00
|
|
|
+ // 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}))
|
2022-05-26 19:37:45 +00:00
|
|
|
+ d.approxMulDiv255(aa.inv());
|
|
|
|
};
|