Lines Matching refs:SkStrikeCache
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()
152 sk_sp<SkStrike> SkStrikeCache::createStrike( in createStrike()
160 auto SkStrikeCache::internalCreateStrike( in internalCreateStrike()
171 void SkStrikeCache::purgeAll() { in purgeAll()
176 size_t SkStrikeCache::getTotalMemoryUsed() const { in getTotalMemoryUsed()
181 int SkStrikeCache::getCacheCountUsed() const { in getCacheCountUsed()
186 int SkStrikeCache::getCacheCountLimit() const { in getCacheCountLimit()
191 size_t SkStrikeCache::setCacheSizeLimit(size_t newLimit) { in setCacheSizeLimit()
200 size_t SkStrikeCache::getCacheSizeLimit() const { in getCacheSizeLimit()
205 int SkStrikeCache::setCacheCountLimit(int newCount) { in setCacheCountLimit()
218 void SkStrikeCache::forEachStrike(std::function<void(const SkStrike&)> visitor) const { in forEachStrike()
228 size_t SkStrikeCache::internalPurge(size_t minBytesNeeded) { in internalPurge()
281 void SkStrikeCache::internalAttachToHead(sk_sp<SkStrike> strike) { in internalAttachToHead()
302 void SkStrikeCache::internalRemoveStrike(SkStrike* strike) { in internalRemoveStrike()
323 void SkStrikeCache::validate() const { in validate()