Searched refs:findAndRefResource (Results 1 – 4 of 4) sorted by relevance
133 if (Resource* resource = fResourceCache->findAndRefResource(key, budgeted)) { in findOrCreateTextureWithKey()180 if (Resource* resource = fResourceCache->findAndRefResource(key, budgeted)) { in findOrCreateCompatibleSampler()242 if (Resource* resource = fResourceCache->findAndRefResource(key, budgeted)) { in findOrCreateBuffer()
48 Resource* findAndRefResource(const GraphiteResourceKey& key, skgpu::Budgeted);
94 Resource* ResourceCache::findAndRefResource(const GraphiteResourceKey& key, in findAndRefResource() function in skgpu::graphite::ResourceCache
116 Resource* resourcePtr2 = resourceCache->findAndRefResource(key, skgpu::Budgeted::kNo); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()144 resourcePtr2 = resourceCache->findAndRefResource(key, skgpu::Budgeted::kYes); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()