/external/skia/src/ports/ |
D | SkFontMgr_win_dw.cpp | 114 static HRESULT Create(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader, in Create() argument 116 *streamFontFileEnumerator = new StreamFontFileEnumerator(factory, fontFileLoader); in Create() 123 StreamFontFileEnumerator(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader); 135 IDWriteFontFileLoader* fontFileLoader) in StreamFontFileEnumerator() argument 139 , fFontFileLoader(SkRefComPtr(fontFileLoader)) in StreamFontFileEnumerator() 211 static HRESULT Create(IDWriteFontFileLoader* fontFileLoader, in Create() argument 213 *streamFontCollectionLoader = new StreamFontCollectionLoader(fontFileLoader); in Create() 220 StreamFontCollectionLoader(IDWriteFontFileLoader* fontFileLoader) in StreamFontCollectionLoader() argument 222 , fFontFileLoader(SkRefComPtr(fontFileLoader)) in StreamFontCollectionLoader() 885 SkTScopedComPtr<StreamFontFileLoader> fontFileLoader; in onMakeFromStreamIndex() local [all …]
|
D | SkTypeface_win_dw.h | 47 IDWriteFontFileLoader* fontFileLoader = nullptr, 52 , fDWriteFontFileLoader(SkSafeRefComPtr(fontFileLoader)) in SkTypeface() 90 IDWriteFontFileLoader* fontFileLoader = nullptr, 95 fontFileLoader, fontCollectionLoader));
|
D | SkRemotableFontMgr_win_dw.cpp | 53 int FindOrAdd(IDWriteFontFileLoader* fontFileLoader, in FindOrAdd() argument 57 HR_GENERAL(fontFileLoader->QueryInterface(&fontFileLoaderId), in FindOrAdd() 108 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in FontToIdentity() local 109 HR(fontFile->GetLoader(&fontFileLoader)); in FontToIdentity() 115 fontId->fDataId = FindOrAdd(fontFileLoader.get(), refKey, refKeySize); in FontToIdentity()
|
D | SkTypeface_win_dw.cpp | 391 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in onOpenStream() local 392 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream() 395 HRNM(fontFileLoader->CreateStreamFromKey(fontFileKey, fontFileKeySize, in onOpenStream()
|
/external/skqp/src/ports/ |
D | SkFontMgr_win_dw.cpp | 114 static HRESULT Create(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader, in Create() argument 116 *streamFontFileEnumerator = new StreamFontFileEnumerator(factory, fontFileLoader); in Create() 123 StreamFontFileEnumerator(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader); 135 IDWriteFontFileLoader* fontFileLoader) in StreamFontFileEnumerator() argument 139 , fFontFileLoader(SkRefComPtr(fontFileLoader)) in StreamFontFileEnumerator() 211 static HRESULT Create(IDWriteFontFileLoader* fontFileLoader, in Create() argument 213 *streamFontCollectionLoader = new StreamFontCollectionLoader(fontFileLoader); in Create() 220 StreamFontCollectionLoader(IDWriteFontFileLoader* fontFileLoader) in StreamFontCollectionLoader() argument 222 , fFontFileLoader(SkRefComPtr(fontFileLoader)) in StreamFontCollectionLoader() 885 SkTScopedComPtr<StreamFontFileLoader> fontFileLoader; in onMakeFromStreamIndex() local [all …]
|
D | SkTypeface_win_dw.h | 47 IDWriteFontFileLoader* fontFileLoader = nullptr, 52 , fDWriteFontFileLoader(SkSafeRefComPtr(fontFileLoader)) in SkTypeface() 89 IDWriteFontFileLoader* fontFileLoader = nullptr, 92 fontFileLoader, fontCollectionLoader);
|
D | SkRemotableFontMgr_win_dw.cpp | 53 int FindOrAdd(IDWriteFontFileLoader* fontFileLoader, in FindOrAdd() argument 57 HR_GENERAL(fontFileLoader->QueryInterface(&fontFileLoaderId), in FindOrAdd() 108 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in FontToIdentity() local 109 HR(fontFile->GetLoader(&fontFileLoader)); in FontToIdentity() 115 fontId->fDataId = FindOrAdd(fontFileLoader.get(), refKey, refKeySize); in FontToIdentity()
|
D | SkTypeface_win_dw.cpp | 391 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in onOpenStream() local 392 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream() 395 HRNM(fontFileLoader->CreateStreamFromKey(fontFileKey, fontFileKeySize, in onOpenStream()
|
/external/harfbuzz_ng/src/ |
D | hb-directwrite.cc | 137 IDWriteFontFileLoader *fontFileLoader; member 160 DWriteFontFileLoader *fontFileLoader = new DWriteFontFileLoader (fontFileStream); in _hb_directwrite_shaper_face_data_create() local 161 dwriteFactory->RegisterFontFileLoader (fontFileLoader); in _hb_directwrite_shaper_face_data_create() 166 fontFileLoader, &fontFile); in _hb_directwrite_shaper_face_data_create() 194 data->fontFileLoader = fontFileLoader; in _hb_directwrite_shaper_face_data_create() 210 if (data->fontFileLoader) in _hb_directwrite_shaper_face_data_destroy() 211 data->dwriteFactory->UnregisterFontFileLoader (data->fontFileLoader); in _hb_directwrite_shaper_face_data_destroy() 214 if (data->fontFileLoader) in _hb_directwrite_shaper_face_data_destroy() 215 delete data->fontFileLoader; in _hb_directwrite_shaper_face_data_destroy()
|