Home
last modified time | relevance | path

Searched refs:fTypefaces (Results 1 – 25 of 55) sorted by relevance

123

/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/core/
H A DSkTypefaceCache.cpp19 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) {
23 fTypefaces.emplace_back(SkRef(face));
27 for (const sk_sp<SkTypeface>& typeface : fTypefaces) {
36 int count = fTypefaces.count();
39 if (fTypefaces[i]->unique()) {
40 fTypefaces.removeShuffle(i);
52 this->purge(fTypefaces.count());
H A DSkTypefaceCache.h73 SkTArray<sk_sp<SkTypeface>> fTypefaces; variable
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/core/
H A DSkTypefaceCache.cpp19 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add()
23 fTypefaces.emplace_back(SkRef(face)); in add()
27 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef()
36 int count = fTypefaces.count(); in purge()
39 if (fTypefaces[i]->unique()) { in purge()
40 fTypefaces.removeShuffle(i); in purge()
52 this->purge(fTypefaces.count()); in purgeAll()
H A DSkTypefaceCache.h73 SkTArray<sk_sp<SkTypeface>> fTypefaces; variable
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/core/
H A DSkTypefaceCache.cpp17 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add()
21 fTypefaces.emplace_back(std::move(face)); in add()
25 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef()
34 int count = fTypefaces.count(); in purge()
37 if (fTypefaces[i]->unique()) { in purge()
38 fTypefaces.removeShuffle(i); in purge()
50 this->purge(fTypefaces.count()); in purgeAll()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/core/
H A DSkTypefaceCache.cpp17 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add()
21 fTypefaces.emplace_back(std::move(face)); in add()
25 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef()
34 int count = fTypefaces.count(); in purge()
37 if (fTypefaces[i]->unique()) { in purge()
38 fTypefaces.removeShuffle(i); in purge()
50 this->purge(fTypefaces.count()); in purgeAll()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/core/
H A DSkTypefaceCache.cpp17 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add()
21 fTypefaces.emplace_back(std::move(face)); in add()
25 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef()
34 int count = fTypefaces.count(); in purge()
37 if (fTypefaces[i]->unique()) { in purge()
38 fTypefaces.removeShuffle(i); in purge()
50 this->purge(fTypefaces.count()); in purgeAll()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/core/
H A DSkTypefaceCache.cpp17 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add()
21 fTypefaces.emplace_back(std::move(face)); in add()
25 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef()
34 int count = fTypefaces.count(); in purge()
37 if (fTypefaces[i]->unique()) { in purge()
38 fTypefaces.removeShuffle(i); in purge()
50 this->purge(fTypefaces.count()); in purgeAll()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/core/
H A DSkTypefaceCache.cpp17 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add()
21 fTypefaces.emplace_back(std::move(face)); in add()
25 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef()
34 int count = fTypefaces.count(); in purge()
37 if (fTypefaces[i]->unique()) { in purge()
38 fTypefaces.removeShuffle(i); in purge()
50 this->purge(fTypefaces.count()); in purgeAll()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/core/
H A DSkTypefaceCache.cpp17 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add()
21 fTypefaces.emplace_back(std::move(face)); in add()
25 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef()
34 int count = fTypefaces.count(); in purge()
37 if (fTypefaces[i]->unique()) { in purge()
38 fTypefaces.removeShuffle(i); in purge()
50 this->purge(fTypefaces.count()); in purgeAll()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/gm/
H A Dfontcache.cpp62 fTypefaces[0] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Italic()); in onOnceBeforeDraw()
63 fTypefaces[1] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Italic()); in onOnceBeforeDraw()
64 fTypefaces[2] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Normal()); in onOnceBeforeDraw()
65 fTypefaces[3] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Normal()); in onOnceBeforeDraw()
66 fTypefaces[4] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
67 fTypefaces[5] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
109 for (const auto& typeface : fTypefaces) { in drawText()
132 sk_sp<SkTypeface> fTypefaces[6]; member in FontCacheGM
H A Dvariedtext.cpp66 static_assert(4 == SK_ARRAY_COUNT(fTypefaces), "typeface_cnt"); in onOnceBeforeDraw()
67 fTypefaces[0] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle()); in onOnceBeforeDraw()
68 fTypefaces[1] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
69 fTypefaces[2] = ToolUtils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw()
70 fTypefaces[3] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
90 fTypefaceIndices[i] = random.nextULessThan(SK_ARRAY_COUNT(fTypefaces)); in onOnceBeforeDraw()
94 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onOnceBeforeDraw()
123 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onDraw()
154 sk_sp<SkTypeface> fTypefaces[4]; member in VariedTextGM
H A Datlastext.cpp98 fTypefaces[0] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Italic()); in onOnceBeforeDraw()
99 fTypefaces[1] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Italic()); in onOnceBeforeDraw()
100 fTypefaces[2] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Normal()); in onOnceBeforeDraw()
101 fTypefaces[3] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Normal()); in onOnceBeforeDraw()
102 fTypefaces[4] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
103 fTypefaces[5] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
141 for (const auto& typeface : fTypefaces) { in drawText()
185 sk_sp<SkTypeface> fTypefaces[6]; member in AtlasTextGM
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/
H A Dfontcache.cpp62 fTypefaces[0] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Italic()); in onOnceBeforeDraw()
63 fTypefaces[1] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Italic()); in onOnceBeforeDraw()
64 fTypefaces[2] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Normal()); in onOnceBeforeDraw()
65 fTypefaces[3] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Normal()); in onOnceBeforeDraw()
66 fTypefaces[4] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
67 fTypefaces[5] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
109 for (const auto& typeface : fTypefaces) { in drawText()
132 sk_sp<SkTypeface> fTypefaces[6]; member in FontCacheGM
H A Dvariedtext.cpp66 static_assert(4 == SK_ARRAY_COUNT(fTypefaces), "typeface_cnt"); in onOnceBeforeDraw()
67 fTypefaces[0] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle()); in onOnceBeforeDraw()
68 fTypefaces[1] = ToolUtils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
69 fTypefaces[2] = ToolUtils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw()
70 fTypefaces[3] = ToolUtils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw()
90 fTypefaceIndices[i] = random.nextULessThan(SK_ARRAY_COUNT(fTypefaces)); in onOnceBeforeDraw()
94 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onOnceBeforeDraw()
121 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onDraw()
152 sk_sp<SkTypeface> fTypefaces[4]; member in VariedTextGM
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tools/fonts/
H A DTestFontMgr.cpp38 int count() override { return fTypefaces.size(); } in count()
42 *style = fTypefaces[index].fStyle; in getStyle()
45 *name = fTypefaces[index].fStyleName; in getStyle()
50 return SkRef(fTypefaces[index].fTypeface.get()); in createTypeface()
59 std::vector<TypefaceEntry> fTypefaces; member in __anond83bcfbc0111::FontStyleSet
77 family->fTypefaces.emplace_back( in FontMgr()
88 fFamilies.back()->fTypefaces.emplace_back( in FontMgr()
100 fFamilies.back()->fTypefaces.emplace_back( in FontMgr()
104 fFamilies.back()->fTypefaces.emplace_back( in FontMgr()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/tools/fonts/
H A DTestFontMgr.cpp38 int count() override { return fTypefaces.size(); } in count()
42 *style = fTypefaces[index].fStyle; in getStyle()
45 *name = fTypefaces[index].fStyleName; in getStyle()
50 return SkRef(fTypefaces[index].fTypeface.get()); in createTypeface()
59 std::vector<TypefaceEntry> fTypefaces; member in __anon516282170111::FontStyleSet
77 family->fTypefaces.emplace_back( in FontMgr()
88 fFamilies.back()->fTypefaces.emplace_back( in FontMgr()
100 fFamilies.back()->fTypefaces.emplace_back( in FontMgr()
104 fFamilies.back()->fTypefaces.emplace_back( in FontMgr()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/modules/skparagraph/src/
H A DFontCollection.cpp73 auto found = fTypefaces.find(familyKey); in findTypefaces()
101 fTypefaces.set(familyKey, typefaces); in findTypefaces()
152 fTypefaces.reset(); in clearCaches()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp296 if (fTypefaces.empty()) fTypefaces.resize(fStyles.size()); in createTypeface()
298 if (!fTypefaces[index]) { in createTypeface()
299 fTypefaces[index] = fFontManager->FetchTypeface( in createTypeface()
305 return SkSafeRef(fTypefaces[index].get()); in createTypeface()
314 std::vector<sk_sp<SkTypeface>> fTypefaces; member in SkFontStyleSet_Fuchsia
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp296 if (fTypefaces.empty()) fTypefaces.resize(fStyles.size()); in createTypeface()
298 if (!fTypefaces[index]) { in createTypeface()
299 fTypefaces[index] = fFontManager->FetchTypeface( in createTypeface()
305 return SkSafeRef(fTypefaces[index].get()); in createTypeface()
314 std::vector<sk_sp<SkTypeface>> fTypefaces; member in SkFontStyleSet_Fuchsia
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp296 if (fTypefaces.empty()) fTypefaces.resize(fStyles.size()); in createTypeface()
298 if (!fTypefaces[index]) { in createTypeface()
299 fTypefaces[index] = fFontManager->FetchTypeface( in createTypeface()
305 return SkSafeRef(fTypefaces[index].get()); in createTypeface()
314 std::vector<sk_sp<SkTypeface>> fTypefaces; member in SkFontStyleSet_Fuchsia
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp296 if (fTypefaces.empty()) fTypefaces.resize(fStyles.size()); in createTypeface()
298 if (!fTypefaces[index]) { in createTypeface()
299 fTypefaces[index] = fFontManager->FetchTypeface( in createTypeface()
305 return SkSafeRef(fTypefaces[index].get()); in createTypeface()
314 std::vector<sk_sp<SkTypeface>> fTypefaces; member in SkFontStyleSet_Fuchsia
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp296 if (fTypefaces.empty()) fTypefaces.resize(fStyles.size()); in createTypeface()
298 if (!fTypefaces[index]) { in createTypeface()
299 fTypefaces[index] = fFontManager->FetchTypeface( in createTypeface()
305 return SkSafeRef(fTypefaces[index].get()); in createTypeface()
314 std::vector<sk_sp<SkTypeface>> fTypefaces; member in SkFontStyleSet_Fuchsia
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp296 if (fTypefaces.empty()) fTypefaces.resize(fStyles.size()); in createTypeface()
298 if (!fTypefaces[index]) { in createTypeface()
299 fTypefaces[index] = fFontManager->FetchTypeface( in createTypeface()
305 return SkSafeRef(fTypefaces[index].get()); in createTypeface()
314 std::vector<sk_sp<SkTypeface>> fTypefaces; member in SkFontStyleSet_Fuchsia
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/modules/skparagraph/src/
H A DFontCollection.cpp73 auto found = fTypefaces.find(familyKey); in findTypefaces()
93 fTypefaces.set(familyKey, typefaces); in findTypefaces()

123