skia2/tools/fonts
Herb Derby 9b86955c65 Add thread safety annotations for SkMutex
Introduce SkAutoMutexExclusive for SkMutex RAII.

Unsubclass SkMutex from SkBaseMutex to allow annotations
for class field mutexes separate from global mutexes.

Leave SkAutoMutexAcquire for handling global mutexes using
SkBaseMutex.

Test using GrSingleOwner.h.

Change-Id: I19d9d0ae0d05206cbb6ef137dc362969048c9c07
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/213136
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2019-05-13 15:44:33 +00:00
..
create_test_font_color.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
create_test_font.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
generate_fir_coeff.py Add nativeFonts flag to Viewer. 2018-02-21 03:31:14 +00:00
RandomScalerContext.cpp Use SkFontHinting instead of macros. 2019-05-08 12:16:37 +00:00
RandomScalerContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
test_font_index.inc Make create_test_font less global-ish. 2018-08-23 21:23:29 +00:00
test_font_monospace.inc use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
test_font_sans_serif.inc use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
test_font_serif.inc use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
TestEmptyTypeface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestFontMgr.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestFontMgr.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestSVGTypeface.cpp Add thread safety annotations for SkMutex 2019-05-13 15:44:33 +00:00
TestSVGTypeface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestTypeface.cpp Use SkFontHinting instead of macros. 2019-05-08 12:16:37 +00:00
TestTypeface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ToolUtilsFont.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00