Searched refs:gResourceCache (Results 1 – 1 of 1) sorted by relevance
546 static SkResourceCache* gResourceCache = nullptr; variable553 delete gResourceCache; in cleanup_gResourceCache()561 if (nullptr == gResourceCache) { in get_cache()563 gResourceCache = new SkResourceCache(SkDiscardableMemory::Create); in get_cache()565 gResourceCache = new SkResourceCache(SK_DEFAULT_IMAGE_CACHE_LIMIT); in get_cache()569 return gResourceCache; in get_cache()