Home
last modified time | relevance | path

Searched refs:FindVisitor (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/core/
H A DSkResourceCache.h130 typedef bool (*FindVisitor)(const Rec&, void* context); typedef in SkResourceCache
147 * do not call the FindVisitor. If a match is found, return whatever the visitor returns.
152 static bool Find(const Key& key, FindVisitor, void* context);
215 * do not call the FindVisitor. If a match is found, return whatever the visitor returns.
220 bool find(const Key&, FindVisitor, void* context);
H A DSkResourceCache.cpp118 bool SkResourceCache::find(const Key& key, FindVisitor visitor, void* context) { in find()
530 bool SkResourceCache::Find(const Key& key, FindVisitor visitor, void* context) { in Find()
/third_party/skia/src/utils/
H A DSkShadowUtils.cpp223 * the FindVisitor and let the cache destroy the Rec. We'll update the tessellations and then add
350 * Used by FindVisitor to determine whether a cache entry can be reused and if so returns the
378 bool FindVisitor(const SkResourceCache::Rec& baseRec, void* ctx) { in FindVisitor() function
442 static bool FindVisitor(const SkResourceCache::Rec&, void*) { in FindVisitor() function in __anon18979::ShadowInvalidator
447 SkResourceCache::Find(this->getKey(), ShadowInvalidator::FindVisitor, nullptr);
472 SkResourceCache::Find(*key, FindVisitor<FACTORY>, &context); in draw_shadow()

Completed in 4 milliseconds