skia2/src/ports
Ben Wagner c22288fbdb Declare FontConfig not threadsafe.
Some time ago FontConfig stopped being thread antagonistic and
documented that it was thread safe (or at least any thread un-safety was
a bug). However, until
447b9ccc7d
at least one of the basic atomic primitives was implemented incorrectly.

Resume using a mutex to serialize access to FontConfig until 2.13.93.

Bug: cl/339089311
Change-Id: I632f03bc575a37b5391390a0868aef256e3aacda
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/331339
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2020-11-02 19:58:14 +00:00
..
SkDebug_android.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDebug_stdio.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDebug_win.cpp Move SkLeanWindows.h to src. 2019-05-21 13:48:00 +00:00
SkDiscardableMemory_none.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontConfigInterface_direct_factory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontConfigInterface_direct.cpp Declare FontConfig not threadsafe. 2020-11-02 19:58:14 +00:00
SkFontConfigInterface_direct.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkFontConfigInterface.cpp Remove all global mutexes 2019-06-18 00:39:15 +00:00
SkFontConfigTypeface.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkFontHost_FreeType_common.cpp Skip degenerate contours in glyphs. 2020-02-13 16:22:42 +00:00
SkFontHost_FreeType_common.h Add SkTypeface::getPostScriptName. 2020-10-06 15:35:06 +00:00
SkFontHost_FreeType.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
SkFontHost_win.cpp Add SkTypeface::getPostScriptName. 2020-10-06 15:35:06 +00:00
SkFontMgr_android_factory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_android_parser.cpp Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
SkFontMgr_android_parser.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkFontMgr_android.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkFontMgr_custom_directory_factory.cpp Regularize SkFontMgr for CoreText build. 2020-06-04 16:45:09 +00:00
SkFontMgr_custom_directory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_custom_embedded_factory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_custom_embedded.cpp Fix an "use-after-move" in SkFontMgr_custom_embedded. 2020-06-03 14:19:48 +00:00
SkFontMgr_custom_empty_factory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_custom_empty.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_custom.cpp Move makeFontData to SkTypeface_FreeType. 2020-07-14 17:00:23 +00:00
SkFontMgr_custom.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkFontMgr_empty_factory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_fontconfig_factory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_fontconfig.cpp Declare FontConfig not threadsafe. 2020-11-02 19:58:14 +00:00
SkFontMgr_FontConfigInterface_factory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_FontConfigInterface.cpp Implement SkFontMgr::onMakeFromFontData in subclasses. 2020-07-15 18:29:23 +00:00
SkFontMgr_fuchsia.cpp [fuchsia] Migrate to new zx::vmar::map method 2020-10-20 17:10:41 +00:00
SkFontMgr_mac_ct_factory.cpp Split out coretext fontmgr factory. 2020-06-06 04:06:32 +00:00
SkFontMgr_mac_ct.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
SkFontMgr_win_dw_factory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_win_dw.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
SkGlobalInitialization_default.cpp Move impl into SkColorFilterBase 2020-06-25 00:26:11 +00:00
SkImageEncoder_CG.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageEncoder_NDK.cpp Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
SkImageEncoder_WIC.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageGenerator_none.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageGenerator_skia.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageGeneratorCG.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkImageGeneratorNDK.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkImageGeneratorWIC.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkMemory_malloc.cpp Avoid heap initialization for skia allocations. 2020-09-30 18:01:53 +00:00
SkMemory_mozalloc.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNDKConversions.cpp Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
SkNDKConversions.h Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
SkOSFile_ios.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkOSFile_posix.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkOSFile_stdio.cpp Add command line argument to specify the rendertests file. 2020-03-05 17:51:12 +00:00
SkOSFile_win.cpp Move SkLeanWindows.h to src. 2019-05-21 13:48:00 +00:00
SkOSLibrary_posix.cpp add Sk- prefix to SkOSLibrary functions 2020-07-10 16:55:03 +00:00
SkOSLibrary_win.cpp add Sk- prefix to SkOSLibrary functions 2020-07-10 16:55:03 +00:00
SkOSLibrary.h add Sk- prefix to SkOSLibrary functions 2020-07-10 16:55:03 +00:00
SkRemotableFontMgr_win_dw.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkScalerContext_mac_ct.cpp Notify when SkFontMetrics bounds are bogus. 2020-08-20 15:22:32 +00:00
SkScalerContext_mac_ct.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkScalerContext_win_dw.cpp Notify when SkFontMetrics bounds are bogus. 2020-08-20 15:22:32 +00:00
SkScalerContext_win_dw.h Make all SkGlyph fields private 2019-06-26 17:44:21 +00:00
SkTLS_pthread.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
SkTLS_win.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
SkTypeface_mac_ct.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
SkTypeface_mac_ct.h Add SkTypeface::getPostScriptName. 2020-10-06 15:35:06 +00:00
SkTypeface_win_dw.cpp Add SkTypeface::getPostScriptName. 2020-10-06 15:35:06 +00:00
SkTypeface_win_dw.h Add SkTypeface::getPostScriptName. 2020-10-06 15:35:06 +00:00