Home
last modified time | relevance | path

Searched refs:CacheMissType (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/core/
DSkTypeface_remote.cpp60 SkStrikeClient::CacheMissType::kGlyphMetricsFallback); in generateMetrics()
67 SkStrikeClient::CacheMissType::kGlyphMetricsFallback); in generateMetrics()
73 fDiscardableManager->notifyCacheMiss(SkStrikeClient::CacheMissType::kGlyphMetrics); in generateMetrics()
84 fDiscardableManager->notifyCacheMiss(SkStrikeClient::CacheMissType::kGlyphImage); in generateImage()
98 ? SkStrikeClient::CacheMissType::kGlyphPathFallback in generatePath()
99 : SkStrikeClient::CacheMissType::kGlyphPath); in generatePath()
112 fDiscardableManager->notifyCacheMiss(SkStrikeClient::CacheMissType::kFontMetrics); in generateFontMetrics()
DSkRemoteGlyphCache.h162 enum CacheMissType : uint32_t { enum
185 virtual void notifyCacheMiss(CacheMissType) {} in notifyCacheMiss() argument
/external/skia/src/core/
DSkTypeface_remote.cpp35 SkStrikeClient::CacheMissType::kGlyphMetrics, fRec.fTextSize); in generateMetrics()
47 SkStrikeClient::CacheMissType::kGlyphImage, fRec.fTextSize); in generateImage()
57 SkStrikeClient::CacheMissType::kGlyphPath, fRec.fTextSize); in generatePath()
71 SkStrikeClient::CacheMissType::kFontMetrics, fRec.fTextSize); in generateFontMetrics()
DSkRemoteGlyphCache.h91 enum CacheMissType : uint32_t { enum
115 virtual void notifyCacheMiss(CacheMissType type) { } in notifyCacheMiss()
117 virtual void notifyCacheMiss(CacheMissType type, int fontSize) { in notifyCacheMiss()
/external/skia/bench/
DSkGlyphCacheBench.cpp150 void notifyCacheMiss(SkStrikeClient::CacheMissType type) override { in notifyCacheMiss()
190 for (uint32_t i = 0; i <= SkStrikeClient::CacheMissType::kLast; ++i) { in hasCacheMiss()
209 int fCacheMissCount[SkStrikeClient::CacheMissType::kLast + 1u];
/external/skqp/tests/
DSkRemoteGlyphCacheTest.cpp45 void notifyCacheMiss(SkStrikeClient::CacheMissType type) override { fCacheMissCount[type]++; } in notifyCacheMiss()
57 for (uint32_t i = 0; i <= SkStrikeClient::CacheMissType::kLast; ++i) { in hasCacheMiss()
67 int fCacheMissCount[SkStrikeClient::CacheMissType::kLast + 1u];
725 for (uint32_t i = 0; i <= SkStrikeClient::CacheMissType::kLast; ++i) { in DEF_TEST()
726 if (i == SkStrikeClient::CacheMissType::kGlyphMetricsFallback || in DEF_TEST()
727 i == SkStrikeClient::CacheMissType::kFontMetrics) { in DEF_TEST()
/external/skia/tests/
DSkRemoteGlyphCacheTest.cpp58 void notifyCacheMiss(SkStrikeClient::CacheMissType type, int fontSize) override { in notifyCacheMiss()
98 for (uint32_t i = 0; i <= SkStrikeClient::CacheMissType::kLast; ++i) { in hasCacheMiss()
117 int fCacheMissCount[SkStrikeClient::CacheMissType::kLast + 1u];