Home
last modified time | relevance | path

Searched refs:SkStrikeCache (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/core/
DSkStrikeCache.cpp27 SkStrikeCache* SkStrikeCache::GlobalStrikeCache() { in GlobalStrikeCache()
29 static thread_local auto* cache = new SkStrikeCache; in GlobalStrikeCache()
32 static auto* cache = new SkStrikeCache; in GlobalStrikeCache()
36 auto SkStrikeCache::findOrCreateStrike(const SkStrikeSpec& strikeSpec) -> sk_sp<SkStrike> { in findOrCreateStrike()
46 SkScopedStrikeForGPU SkStrikeCache::findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) { in findOrCreateScopedStrike()
50 void SkStrikeCache::PurgeAll() { in PurgeAll()
54 void SkStrikeCache::Dump() { in Dump()
78 void SkStrikeCache::DumpMemoryStatistics(SkTraceMemoryDump* dump) { in DumpMemoryStatistics()
119 sk_sp<SkStrike> SkStrikeCache::findStrike(const SkDescriptor& desc) { in findStrike()
126 auto SkStrikeCache::internalFindStrikeOrNull(const SkDescriptor& desc) -> sk_sp<SkStrike> { in internalFindStrikeOrNull()
[all …]
DSkGraphics.cpp42 SkStrikeCache::DumpMemoryStatistics(dump); in DumpMemoryStatistics()
100 return SkStrikeCache::GlobalStrikeCache()->getCacheSizeLimit(); in GetFontCacheLimit()
104 return SkStrikeCache::GlobalStrikeCache()->setCacheSizeLimit(bytes); in SetFontCacheLimit()
108 return SkStrikeCache::GlobalStrikeCache()->getTotalMemoryUsed(); in GetFontCacheUsed()
112 return SkStrikeCache::GlobalStrikeCache()->getCacheCountLimit(); in GetFontCacheCountLimit()
116 return SkStrikeCache::GlobalStrikeCache()->setCacheCountLimit(count); in SetFontCacheCountLimit()
120 return SkStrikeCache::GlobalStrikeCache()->getCacheCountUsed(); in GetFontCacheCountUsed()
124 SkStrikeCache::GlobalStrikeCache()->purgeAll(); in PurgeFontCache()
DSkStrikeCache.h22 class SkStrikeCache; variable
42 SkStrike(SkStrikeCache* strikeCache, in SkStrike()
149 SkStrikeCache* const fStrikeCache;
158 class SkStrikeCache final : public SkStrikeForGPUCacheInterface {
160 SkStrikeCache() = default;
162 static SkStrikeCache* GlobalStrikeCache();
DSkRemoteGlyphCache.h25 class SkStrikeCache; variable
134 SkStrikeCache* strikeCache = nullptr);
DSkStrikeSpec.h26 class SkStrikeCache; variable
88 sk_sp<SkStrike> findOrCreateStrike(SkStrikeCache* cache) const;
DSkStrikeSpec.cpp222 return SkStrikeCache::GlobalStrikeCache()->findOrCreateStrike(*this); in findOrCreateStrike()
225 sk_sp<SkStrike> SkStrikeSpec::findOrCreateStrike(SkStrikeCache* cache) const { in findOrCreateStrike()
DSkRemoteGlyphCache.cpp884 SkStrikeCache* strikeCache = nullptr);
896 SkStrikeCache* const fStrikeCache;
904 SkStrikeCache* strikeCache) in SkStrikeClientImpl()
906 fStrikeCache{strikeCache ? strikeCache : SkStrikeCache::GlobalStrikeCache()}, in SkStrikeClientImpl()
1081 SkStrikeCache* strikeCache) in SkStrikeClient()
DSkTypeface_remote.h21 class SkStrikeCache; variable
DBUILD.bazel328 "SkStrikeCache.cpp",
329 "SkStrikeCache.h",
DSkBitmapDevice.cpp222 SkStrikeCache::GlobalStrikeCache()) { in SkBitmapDevice()
239 SkStrikeCache::GlobalStrikeCache()) { in SkBitmapDevice()
DSkOverdrawCanvas.cpp51 fPainter{props, kN32_SkColorType, nullptr, SkStrikeCache::GlobalStrikeCache()} {}
DSkGlyphRunPainter.cpp73 SkStrikeCache::GlobalStrikeCache()) {} in SkGlyphRunListPainter()
/third_party/skia/tests/
DSkStrikeCacheTest.cpp14 SkStrikeCache cache; in DEF_TEST()
/third_party/skia/bench/
DGlyphQuadFillBench.cpp49 colorSpace.get(), SkStrikeCache::GlobalStrikeCache()}; in onPerCanvasPreDraw()
/third_party/skia/gn/
Dcore.gni364 "$_src/core/SkStrikeCache.cpp",
365 "$_src/core/SkStrikeCache.h",
/third_party/skia/src/ports/
DSkFontHost_win.cpp2085 SkStrikeCache::PurgeAll(); in onCreateScalerContext()