Commit Graph

576 Commits

Author SHA1 Message Date
Lee Salzman
c50a68e57e Bug 1645123 - avoid trapping instructions on Skia debug asserts. r=jrmuizel
clang may potentially insert trapping instructions when __builtin_unreachable() is used.
We need to ensure we do not use this intrinsic when asserts are disabled. To work around
this, we add a condition that is checked before entering the body of SK_ABORT.

Differential Revision: https://phabricator.services.mozilla.com/D83841
2020-07-16 19:56:29 +00:00
Lee Salzman
0adb330468 Bug 1611467 - disable Skia typeface cache to prevent it from leaking fonts. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D68131

--HG--
extra : moz-landing-system : lando
2020-03-25 00:58:41 +00:00
Jonathan Kew
283ad921b7 Bug 1600470 - Reduce the emboldening strength used for synthetic-bold faces with FreeType. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D57246

--HG--
extra : moz-landing-system : lando
2019-12-17 15:51:57 +00:00
Oana Pop Rus
c875c00ad0 Backed out changeset bf28a7e8a8a4 (bug 1600470) for wrench bustages on a CLOSED TREE 2019-12-16 22:52:07 +02:00
Jonathan Kew
863bbe2172 Bug 1600470 - Reduce the emboldening strength used for synthetic-bold faces with FreeType. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D57246

--HG--
extra : moz-landing-system : lando
2019-12-16 14:40:21 +00:00
Tom Ritter
37f89d5a1d Bug 1590624 - mingw-clang cannot use _xgetbv without -mavx, work around it r=lsalzman,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54531

--HG--
extra : moz-landing-system : lando
2019-12-12 06:38:39 +00:00
Andreea Pavel
a533b175dd Backed out 4 changesets (bug 1590624) for breaking gecko decision task on a CLOSED TREE
Backed out changeset 2ac8dd1d709d (bug 1590624)
Backed out changeset 8432398c212a (bug 1590624)
Backed out changeset 2b28154aacdb (bug 1590624)
Backed out changeset d305e4160ee4 (bug 1590624)

--HG--
rename : build/build-clang/clang-9-mingw.json => build/build-clang/clang-8-mingw.json
rename : taskcluster/scripts/misc/build-clang-mingw.sh => taskcluster/scripts/misc/build-clang-8-mingw.sh
2019-12-12 08:35:11 +02:00
Tom Ritter
d536ec53bb Bug 1590624 - mingw-clang cannot use _xgetbv without -mavx, work around it r=lsalzman,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54531

--HG--
extra : moz-landing-system : lando
2019-12-10 18:41:41 +00:00
Tom Ritter
746eecb086 Bug 1589741 - 1585351 removed a MINGW32 conditional, but left the comment. Remove the comment. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D54631

--HG--
extra : moz-landing-system : lando
2019-12-05 17:07:46 +00:00
Lee Salzman
b53ad6f708 Bug 1593970 - scale subpixel contribution based on ClearType level setting. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D52441

--HG--
extra : moz-landing-system : lando
2019-11-09 13:03:47 +00:00
Lee Salzman
ba7cbe4ae5 Bug 1591432 - avoid creating paths for color fonts on macOS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D52100

--HG--
extra : moz-landing-system : lando
2019-11-06 21:50:24 +00:00
Lee Salzman
655f204d2f Bug 1591996 - update Skia to m79. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50860

--HG--
rename : gfx/skia/skia/include/private/SkArenaAlloc.h => gfx/skia/skia/src/core/SkArenaAlloc.h
rename : gfx/skia/skia/include/private/SkLeanWindows.h => gfx/skia/skia/src/core/SkLeanWindows.h
rename : gfx/skia/skia/include/core/SkTLazy.h => gfx/skia/skia/src/core/SkTLazy.h
rename : gfx/skia/skia/include/private/SkTSearch.h => gfx/skia/skia/src/core/SkTSearch.h
rename : gfx/skia/skia/include/gpu/GrBlend.h => gfx/skia/skia/src/gpu/GrBlend.h
rename : gfx/skia/skia/include/private/GrColor.h => gfx/skia/skia/src/gpu/GrColor.h
rename : gfx/skia/skia/include/private/GrSkSLFPFactoryCache.h => gfx/skia/skia/src/gpu/GrSkSLFPFactoryCache.h
rename : gfx/skia/skia/src/gpu/GrPathUtils.cpp => gfx/skia/skia/src/gpu/geometry/GrPathUtils.cpp
rename : gfx/skia/skia/src/gpu/GrPathUtils.h => gfx/skia/skia/src/gpu/geometry/GrPathUtils.h
rename : gfx/skia/skia/src/gpu/GrShape.cpp => gfx/skia/skia/src/gpu/geometry/GrShape.cpp
rename : gfx/skia/skia/src/gpu/GrShape.h => gfx/skia/skia/src/gpu/geometry/GrShape.h
extra : moz-landing-system : lando
2019-10-28 22:06:48 +00:00
Lee Salzman
de81af2605 Bug 1591996 - remove unused Skia Vulkan compute API. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50859

--HG--
extra : moz-landing-system : lando
2019-10-28 21:36:18 +00:00
Lee Salzman
f11e330118 Bug 1591996 - remove unused Skia OpenCL compute API. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50858

--HG--
extra : moz-landing-system : lando
2019-10-28 21:36:52 +00:00
Lee Salzman
d7ccbd0261 Bug 1591996 - miscellaneous Gecko fixes for Skia m79 update. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50825

--HG--
extra : moz-landing-system : lando
2019-10-28 21:42:48 +00:00
Tom Ritter
f19cbdfb39 Bug 1585351 - Bug 1460357 disabled AVX instructions for the mingw build; this is no longer needed r=lsalzman
Bug 1460357 disabled AVX because gcc was generating unaligned instructions. But clang doesn't seem
to do that.

Differential Revision: https://phabricator.services.mozilla.com/D48072

--HG--
extra : moz-landing-system : lando
2019-10-03 21:02:16 +00:00
Lee Salzman
7a498a5ff0 Bug 1585584 - clear SharedFTFace lock owner when it is destroyed. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D48078

--HG--
extra : moz-landing-system : lando
2019-10-03 20:30:03 +00:00
Lee Salzman
fd28aa44da Bug 1583707 - enable text subpixel positioning on Android and Linux. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D47035

--HG--
extra : moz-landing-system : lando
2019-10-02 14:04:45 +00:00
Lee Salzman
4e52e1c29b Bug 1547063 - Use SharedFTFace locking instead of Cairo locking. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44496

--HG--
extra : moz-landing-system : lando
2019-09-16 17:12:38 +00:00
Lee Salzman
264178a181 Bug 1547063 - Remove FcPattern usage from Skia. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44493

--HG--
extra : moz-landing-system : lando
2019-09-16 16:44:51 +00:00
Cosmin Sabou
8113720646 Backed out 8 changesets (bug 1547063) for causing bug 1581466. a=backout
Backed out changeset c969a93b0ca7 (bug 1547063)
Backed out changeset 003f5a79c6a7 (bug 1547063)
Backed out changeset 2c7032b4d022 (bug 1547063)
Backed out changeset 23892ecc6ef8 (bug 1547063)
Backed out changeset af6e6807ece7 (bug 1547063)
Backed out changeset ebc71e607938 (bug 1547063)
Backed out changeset 772c3427c791 (bug 1547063)
Backed out changeset e74a67e2afe3 (bug 1547063)
2019-09-16 10:44:20 +03:00
Lee Salzman
1ad0ba9769 Bug 1547063 - Use SharedFTFace locking instead of Cairo locking. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44496

--HG--
extra : moz-landing-system : lando
2019-09-15 03:01:02 +00:00
Lee Salzman
1e337c2560 Bug 1547063 - Remove FcPattern usage from Skia. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44493

--HG--
extra : moz-landing-system : lando
2019-09-15 03:00:14 +00:00
Mike Hommey
66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Lee Salzman
5169a21347 Bug 1553818 - use GDI ClearType contrast for GDI font gamma. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D39101

--HG--
extra : moz-landing-system : lando
2019-07-24 18:51:28 +00:00
Lee Salzman
e4e9e844a0 Bug 1565158 - allow forcing DWrite symmetric rendering mode. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D38569

--HG--
extra : moz-landing-system : lando
2019-07-19 03:56:50 +00:00
Chris AtLee
a0d3d64841 Bug 1559975: Fix python2/3 compat in gfx/ r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35337

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:55 +00:00
Lee Salzman
f97c9e191d Bug 1562886 - Avoid noinline on GCC with skcms to work around compiler error. r=me 2019-07-03 15:52:39 -04:00
Lee Salzman
93c478a9ca Bug 1555838 - More polyutil fixes. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D33688

--HG--
extra : moz-landing-system : lando
2019-06-05 16:57:20 +00:00
Jonathan Kew
d88f8facc2 Bug 1558375 - Don't set the FT_LOAD_NO_AUTOHINT flag for fonts that have FT_FACE_FLAG_TRICKY, to avoid broken rendering. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35023

--HG--
extra : moz-landing-system : lando
2019-06-15 12:40:02 +00:00
Ciure Andrei
86d096eeef Backed out changeset 6153e6bb58e1 (bug 1558375) for causing 1229972.html to perma crash CLOSED TREE 2019-06-15 13:42:53 +03:00
Jonathan Kew
9dbb54dd9e Bug 1558375 - Don't set the FT_LOAD_NO_AUTOHINT flag for fonts that have FT_FACE_FLAG_TRICKY, to avoid broken rendering. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35023

--HG--
extra : moz-landing-system : lando
2019-06-15 05:27:40 +00:00
Lee Salzman
55a5e6a40e Bug 1533546 - disable Skia's global DWrite lock on Windows 10. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31328

--HG--
extra : moz-landing-system : lando
2019-05-23 10:08:59 +00:00
Lee Salzman
29c7c2b8d3 Backed out changeset 6440419b9d33 (Bug 1533546). r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D32180

--HG--
extra : moz-landing-system : lando
2019-05-22 18:20:09 +00:00
Lee Salzman
0ab44c22e7 Bug 1533546 - disable Skia's global DWrite lock on Windows 10. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31328

--HG--
extra : moz-landing-system : lando
2019-05-15 21:23:23 +00:00
Lee Salzman
044d488195 Bug 1546623 - allow broken big-endian Skia builds r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D28706

--HG--
extra : moz-landing-system : lando
2019-04-24 17:36:08 +00:00
Lee Salzman
385ba9487f Bug 1541350 - restore SkBlitRow::Color32 optimizations. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D27157

--HG--
extra : moz-landing-system : lando
2019-04-15 18:46:10 +00:00
Cosmin Sabou
90efd04259 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-12 06:45:27 +03:00
Lee Salzman
24255a072b Bug 1543744 - use clip bounds when drawing masks with Skia. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D27112

--HG--
extra : moz-landing-system : lando
2019-04-11 19:00:32 +00:00
Lee Salzman
edad5dd2c0 Bug 1542738 - disable Mac contrast adjustment in Skia. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D26911
2019-04-10 10:13:08 -04:00
Coroiu Cristina
c9dbcb529a Backed out changeset 00e627c92d9d (bug 1542738) for reftest failures at layout/reftests/w3c-css/received/css-writing-modes/table-column-order-slr-007.xht on mac on a CLOSED TREE 2019-04-10 23:59:10 +03:00
Lee Salzman
deea4dfb09 Bug 1542738 - disable Mac contrast adjustment in Skia. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D26911

--HG--
extra : moz-landing-system : lando
2019-04-10 17:11:34 +00:00
Bogdan Tara
aebf58da50 Backed out changeset 68df166b4d9e (bug 1541350) for RGBX corner pixel assertion failures CLOSED TREE 2019-04-10 18:51:25 +03:00
Lee Salzman
9711dac5a1 Bug 1541350 - optimize SkBlitRow::Color32 for SSE2. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D26346

--HG--
extra : moz-landing-system : lando
2019-04-10 14:23:36 +00:00
Lee Salzman
73443d7f86 Bug 1539026 - Skia m74 mozbuild fixes. r=rhunt 2019-03-26 11:06:47 -04:00
Lee Salzman
f2f62aef14 Bug 1539026 - Skia m74 sources. r=rhunt
--HG--
rename : gfx/skia/skia/third_party/vulkan/LICENSE => gfx/skia/skia/include/third_party/vulkan/LICENSE
rename : gfx/skia/skia/third_party/vulkan/vulkan/vk_platform.h => gfx/skia/skia/include/third_party/vulkan/vulkan/vk_platform.h
rename : gfx/skia/skia/third_party/vulkan/vulkan/vulkan.h => gfx/skia/skia/include/third_party/vulkan/vulkan/vulkan.h
rename : gfx/skia/skia/third_party/vulkan/vulkan/vulkan_android.h => gfx/skia/skia/include/third_party/vulkan/vulkan/vulkan_android.h
rename : gfx/skia/skia/third_party/vulkan/vulkan/vulkan_ios.h => gfx/skia/skia/include/third_party/vulkan/vulkan/vulkan_ios.h
rename : gfx/skia/skia/third_party/vulkan/vulkan/vulkan_macos.h => gfx/skia/skia/include/third_party/vulkan/vulkan/vulkan_macos.h
rename : gfx/skia/skia/third_party/vulkan/vulkan/vulkan_win32.h => gfx/skia/skia/include/third_party/vulkan/vulkan/vulkan_win32.h
rename : gfx/skia/skia/third_party/vulkan/vulkan/vulkan_xcb.h => gfx/skia/skia/include/third_party/vulkan/vulkan/vulkan_xcb.h
rename : gfx/skia/skia/include/core/SkLights.h => gfx/skia/skia/src/shaders/SkLights.h
rename : gfx/skia/skia/src/core/SkMetaData.cpp => gfx/skia/skia/src/utils/SkMetaData.cpp
rename : gfx/skia/skia/include/core/SkMetaData.h => gfx/skia/skia/src/utils/SkMetaData.h
2019-03-26 11:06:25 -04:00
Lee Salzman
fad3958ac4 Bug 1495400 - don't draw non-scalable FT faces as paths. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D24416

--HG--
extra : moz-landing-system : lando
2019-03-22 17:52:48 +00:00
Lee Salzman
dd8353d50b Bug 1532171 - don't use light-on-dark mask when font smoothing is disabled on macOS r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D22006
2019-03-04 15:45:04 -05:00
Lee Salzman
7898b14471 Bug 1531867 - support light and dark subpixel AA masks in Skia on mac. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D21763
2019-03-01 14:01:58 -05:00
Gurzau Raul
6b94d177d1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00