14 static SkMutex& mutex = *(
new SkMutex);
static SkMutex & font_config_interface_mutex()
static SkFontConfigInterface * gFontConfigInterface
static void SkSafeUnref(T *obj)
sk_sp< T > sk_ref_sp(T *obj)
virtual sk_sp< SkTypeface > makeTypeface(const FontIdentity &identity, sk_sp< SkFontMgr > mgr)
static SkFontConfigInterface * GetSingletonDirectInterface()
static void SetGlobal(sk_sp< SkFontConfigInterface > fc)
virtual SkStreamAsset * openStream(const FontIdentity &)=0
static sk_sp< SkFontConfigInterface > RefGlobal()
sk_sp< SkTypeface > makeFromStream(std::unique_ptr< SkStreamAsset >, int ttcIndex=0) const