Home
last modified time | relevance | path

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

/external/skia/src/gpu/graphite/
DResourceProvider.cpp133 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()
DResourceCache.h48 Resource* findAndRefResource(const GraphiteResourceKey& key, skgpu::Budgeted);
DResourceCache.cpp94 Resource* ResourceCache::findAndRefResource(const GraphiteResourceKey& key, in findAndRefResource() function in skgpu::graphite::ResourceCache
/external/skia/tests/graphite/
DGraphiteResourceCacheTest.cpp116 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()