skia2/include/ports
tomhudson 60b08a0adf Fix race condition in parallel font initialization.
Uses a mutex to guard construction of the singleton, which initialies
the non-threadsafe libfontconfig.  Without this change, the parallel
path ops test runner crashes 6/10 and hangs 2/10 on startup; with this
change, 0/10 problems.

BUG=skia:2693
R=mtklein@google.com, bungeman@google.com, reed@google.com, tomhudson@google.com

Committed: https://skia.googlesource.com/skia/+/df022f5972ae6a2a1d96d15c50eca52cade3abd8

Author: tomhudson@chromium.org

Review URL: https://codereview.chromium.org/355573006
2014-07-01 08:06:14 -07:00
..
SkFontConfigInterface.h Fix race condition in parallel font initialization. 2014-07-01 08:06:14 -07:00
SkFontMgr_indirect.h Port most uses of SkOnce to SkLazyPtr. 2014-06-02 08:44:27 -07:00
SkFontMgr.h Port most uses of SkOnce to SkLazyPtr. 2014-06-02 08:44:27 -07:00
SkFontStyle.h check-point for linux fontmgr impl 2013-04-22 18:48:45 +00:00
SkHarfBuzzFont.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkRemotableFontMgr.h Port most uses of SkOnce to SkLazyPtr. 2014-06-02 08:44:27 -07:00
SkTypeface_android.h Android now uses Harfbuzz-NG. No need to keep code specific to the old version of Harfbuzz around! 2013-12-18 19:49:27 +00:00
SkTypeface_mac.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkTypeface_win.h Pass the IDWriteFactory instead of relying on a global creator. 2014-03-31 19:18:07 +00:00