Home
last modified time | relevance | path

Searched refs:DiscardableFactory (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkResourceCache.h125 typedef SkDiscardableMemory* (*DiscardableFactory)(size_t bytes); typedef
168 static DiscardableFactory GetDiscardableFactory();
194 SkResourceCache(DiscardableFactory);
245 DiscardableFactory discardableFactory() const { return fDiscardableFactory; } in discardableFactory()
262 DiscardableFactory fDiscardableFactory;
DSkResourceCache.cpp160 SkResourceCacheDiscardableAllocator(SkResourceCache::DiscardableFactory factory) { in SkResourceCacheDiscardableAllocator()
168 SkResourceCache::DiscardableFactory fFactory;
198 SkResourceCache::SkResourceCache(DiscardableFactory factory) { in SkResourceCache()
587 SkResourceCache::DiscardableFactory SkResourceCache::GetDiscardableFactory() { in GetDiscardableFactory()
DSkBitmapCache.cpp293 static SkResourceCache::DiscardableFactory get_fact(SkResourceCache* localCache) { in get_fact()
/external/skia/tests/
DSkResourceCacheTest.cpp38 SkResourceCache::DiscardableFactory factory = SkResourceCache::GetDiscardableFactory(); in DEF_TEST()
192 SkResourceCache::DiscardableFactory factory) { in testBitmapCache_discarded_bitmap()
259 SkResourceCache::DiscardableFactory factory = pool_factory; in DEF_TEST()