HomeSort by relevance Sort by last modified time
    Searched refs:discardableFactory (Results 1 - 2 of 2) sorted by null

  /external/skia/src/core/
SkResourceCache.h 125 typedef SkDiscardableMemory* (*DiscardableFactory)(size_t bytes);
166 * Returns the DiscardableFactory used by the global cache, or nullptr.
168 static DiscardableFactory GetDiscardableFactory();
172 * Returns nullptr if the ResourceCache has not been initialized with a DiscardableFactory.
188 * Construct the cache to call DiscardableFactory when it
194 SkResourceCache(DiscardableFactory);
245 DiscardableFactory discardableFactory() const { return fDiscardableFactory; }
262 DiscardableFactory fDiscardableFactory;
SkResourceCache.cpp 160 SkResourceCacheDiscardableAllocator(SkResourceCache::DiscardableFactory factory) {
168 SkResourceCache::DiscardableFactory fFactory;
198 SkResourceCache::SkResourceCache(DiscardableFactory factory) {
587 SkResourceCache::DiscardableFactory SkResourceCache::GetDiscardableFactory() {
589 return get_cache()->discardableFactory();

Completed in 51 milliseconds