Searched refs:SkStrikeCache (Results 1 – 16 of 16) sorted by relevance
/third_party/skia/src/core/ |
D | SkStrikeCache.cpp | 27 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 …]
|
D | SkGraphics.cpp | 42 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()
|
D | SkStrikeCache.h | 22 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();
|
D | SkRemoteGlyphCache.h | 25 class SkStrikeCache; variable 134 SkStrikeCache* strikeCache = nullptr);
|
D | SkStrikeSpec.h | 26 class SkStrikeCache; variable 88 sk_sp<SkStrike> findOrCreateStrike(SkStrikeCache* cache) const;
|
D | SkStrikeSpec.cpp | 222 return SkStrikeCache::GlobalStrikeCache()->findOrCreateStrike(*this); in findOrCreateStrike() 225 sk_sp<SkStrike> SkStrikeSpec::findOrCreateStrike(SkStrikeCache* cache) const { in findOrCreateStrike()
|
D | SkRemoteGlyphCache.cpp | 884 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()
|
D | SkTypeface_remote.h | 21 class SkStrikeCache; variable
|
D | BUILD.bazel | 328 "SkStrikeCache.cpp", 329 "SkStrikeCache.h",
|
D | SkBitmapDevice.cpp | 222 SkStrikeCache::GlobalStrikeCache()) { in SkBitmapDevice() 239 SkStrikeCache::GlobalStrikeCache()) { in SkBitmapDevice()
|
D | SkOverdrawCanvas.cpp | 51 fPainter{props, kN32_SkColorType, nullptr, SkStrikeCache::GlobalStrikeCache()} {}
|
D | SkGlyphRunPainter.cpp | 73 SkStrikeCache::GlobalStrikeCache()) {} in SkGlyphRunListPainter()
|
/third_party/skia/tests/ |
D | SkStrikeCacheTest.cpp | 14 SkStrikeCache cache; in DEF_TEST()
|
/third_party/skia/bench/ |
D | GlyphQuadFillBench.cpp | 49 colorSpace.get(), SkStrikeCache::GlobalStrikeCache()}; in onPerCanvasPreDraw()
|
/third_party/skia/gn/ |
D | core.gni | 364 "$_src/core/SkStrikeCache.cpp", 365 "$_src/core/SkStrikeCache.h",
|
/third_party/skia/src/ports/ |
D | SkFontHost_win.cpp | 2085 SkStrikeCache::PurgeAll(); in onCreateScalerContext()
|