Lines Matching defs:cache
196 const size_t maxBlockCount = SkGetVmaBlockCountMax(); // limit memory hols for vma cache
204 SkDEBUGFAIL("No supplied vulkan memory allocator for cache image and unable to create one internally.");
2313 // the cache is flushed since it is only being written to.
2676 auto cache = context->priv().getResourceCache();
2677 if (cache) {
2678 auto cacheInfo = cache->cacheInfo();
2757 auto cache = getContext()->priv().getResourceCache();
2758 if (!cache) {
2761 cache->addAllocImageBytes(bytes);
2766 auto cache = getContext()->priv().getResourceCache();
2767 if (!cache) {
2770 cache->removeAllocImageBytes(bytes);
2775 auto cache = getContext()->priv().getResourceCache();
2776 if (!cache) {
2779 cache->addAllocBufferBytes(bytes);
2784 auto cache = getContext()->priv().getResourceCache();
2785 if (!cache) {
2788 cache->removeAllocBufferBytes(bytes);