Searched refs:SkStrikeClient (Results 1 – 13 of 13) sorted by relevance
/external/skqp/src/core/ |
D | SkTypeface_remote.cpp | 18 sk_sp<SkStrikeClient::DiscardableHandleManager> manager) in SkScalerContextProxy() 60 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()
|
D | SkTypeface_remote.h | 28 sk_sp<SkStrikeClient::DiscardableHandleManager> manager); 43 sk_sp<SkStrikeClient::DiscardableHandleManager> fDiscardableManager; 55 sk_sp<SkStrikeClient::DiscardableHandleManager> manager, 144 sk_sp<SkStrikeClient::DiscardableHandleManager> fDiscardableManager;
|
D | SkRemoteGlyphCache.h | 158 class SK_API SkStrikeClient { 188 explicit SkStrikeClient(sk_sp<DiscardableHandleManager>, 191 ~SkStrikeClient();
|
D | SkRemoteGlyphCache.cpp | 567 class SkStrikeClient::DiscardableStrikePinner : public SkStrikePinner { 581 SkStrikeClient::SkStrikeClient(sk_sp<DiscardableHandleManager> discardableManager, in SkStrikeClient() function in SkStrikeClient 588 SkStrikeClient::~SkStrikeClient() = default; 611 bool SkStrikeClient::readStrikeData(const volatile void* memory, size_t memorySize) { in readStrikeData() 719 sk_sp<SkTypeface> SkStrikeClient::deserializeTypeface(const void* buf, size_t len) { in deserializeTypeface() 726 sk_sp<SkTypeface> SkStrikeClient::addTypeface(const WireTypeface& wire) { in addTypeface()
|
/external/skia/src/core/ |
D | SkTypeface_remote.cpp | 18 sk_sp<SkStrikeClient::DiscardableHandleManager> manager) in SkScalerContextProxy() 35 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()
|
D | SkTypeface_remote.h | 28 sk_sp<SkStrikeClient::DiscardableHandleManager> manager); 39 sk_sp<SkStrikeClient::DiscardableHandleManager> fDiscardableManager; 49 sk_sp<SkStrikeClient::DiscardableHandleManager> manager, 131 sk_sp<SkStrikeClient::DiscardableHandleManager> fDiscardableManager;
|
D | SkRemoteGlyphCache.h | 87 class SkStrikeClient { 132 SK_SPI explicit SkStrikeClient(sk_sp<DiscardableHandleManager>, 135 SK_SPI ~SkStrikeClient();
|
D | SkRemoteGlyphCache.cpp | 898 sk_sp<SkStrikeClient::DiscardableHandleManager> manager) in DiscardableStrikePinner() 906 sk_sp<SkStrikeClient::DiscardableHandleManager> fManager; 912 explicit SkStrikeClientImpl(sk_sp<SkStrikeClient::DiscardableHandleManager>, 925 sk_sp<SkStrikeClient::DiscardableHandleManager> fDiscardableHandleManager; 931 sk_sp<SkStrikeClient::DiscardableHandleManager> in SkStrikeClientImpl() 962 SkStrikeClient::DiscardableHandleManager::ReadFailureData data = { \ 1110 SkStrikeClient::SkStrikeClient(sk_sp<DiscardableHandleManager> discardableManager, in SkStrikeClient() function in SkStrikeClient 1115 SkStrikeClient::~SkStrikeClient() = default; 1117 bool SkStrikeClient::readStrikeData(const volatile void* memory, size_t memorySize) { in readStrikeData() 1121 sk_sp<SkTypeface> SkStrikeClient::deserializeTypeface(const void* buf, size_t len) { in deserializeTypeface()
|
/external/skqp/tests/ |
D | SkRemoteGlyphCacheTest.cpp | 26 public SkStrikeClient::DiscardableHandleManager { 45 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]; 146 SkStrikeClient client(discardableManager, false); in DEF_TEST() 163 SkStrikeClient client(discardableManager, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 198 SkStrikeClient client(discardableManager, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 227 SkStrikeClient client(discardableManager, false); in DEF_TEST() 261 SkStrikeClient client(discardableManager, false); in DEF_TEST() 289 SkStrikeClient client(discardableManager, false); in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | SkRemoteGlyphCacheTest.cpp | 30 public SkStrikeClient::DiscardableHandleManager { 58 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]; 188 SkStrikeClient client(discardableManager, false); in DEF_TEST() 206 SkStrikeClient client(discardableManager, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 241 SkStrikeClient client(discardableManager, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 270 SkStrikeClient client(discardableManager, false); in DEF_TEST() 305 SkStrikeClient client(discardableManager, false); in DEF_TEST() 341 SkStrikeClient client(discardableManager, false); in DEF_TEST() [all …]
|
/external/skia/bench/ |
D | SkGlyphCacheBench.cpp | 122 public SkStrikeClient::DiscardableHandleManager { 150 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/skia/tools/ |
D | remote_demo.cpp | 45 class ClientDiscardableManager : public SkStrikeClient::DiscardableHandleManager { 149 static void final_draw(std::string outFilename, SkData* picData, SkStrikeClient* client, in final_draw() 153 return reinterpret_cast<SkStrikeClient*>(ctx)->deserializeTypeface(data, length); in final_draw() 211 SkStrikeClient strikeClient(discardableManager); in gpu()
|
/external/skqp/tools/ |
D | remote_demo.cpp | 45 class ClientDiscardableManager : public SkStrikeClient::DiscardableHandleManager { 149 static void final_draw(std::string outFilename, SkData* picData, SkStrikeClient* client, in final_draw() 153 return reinterpret_cast<SkStrikeClient*>(ctx)->deserializeTypeface(data, length); in final_draw() 211 SkStrikeClient strikeClient(discardableManager); in gpu()
|