Searched refs:fResourceCache (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/gpu/ |
D | GrDirectContext.cpp | 84 if (fResourceCache) { in ~GrDirectContext() 85 fResourceCache->releaseAll(); in ~GrDirectContext() 125 fResourceCache->abandonAll(); in abandonContext() 165 fResourceCache->releaseAll(); in releaseResourcesAndAbandonContext() 196 fResourceCache->purgeUnlockedResources(); in freeGpuResources() 214 fResourceCache = std::make_unique<GrResourceCache>(this->singleOwner(), in init() 217 fResourceCache->setProxyProvider(this->proxyProvider()); in init() 218 fResourceCache->setThreadSafeCache(this->threadSafeCache()); in init() 224 fResourceProvider = std::make_unique<GrResourceProvider>(fGpu.get(), fResourceCache.get(), in init() 266 *resourceCount = fResourceCache->getBudgetedResourceCount(); in getResourceCacheUsage() [all …]
|
D | GrDirectContextPriv.cpp | 90 fContext->fResourceCache->dumpStats(out); in dumpCacheStats() 97 fContext->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs()
|
D | GrDirectContextPriv.h | 118 GrResourceCache* getResourceCache() { return fContext->fResourceCache.get(); } in getResourceCache()
|
/external/skqp/src/gpu/ |
D | GrContext.cpp | 64 fResourceCache = nullptr; in GrContext() 77 fResourceCache = new GrResourceCache(fCaps.get(), &fSingleOwner, this->contextID()); in initCommon() 78 fResourceProvider = new GrResourceProvider(fGpu.get(), fResourceCache, &fSingleOwner, in initCommon() 81 new GrProxyProvider(fResourceProvider, fResourceCache, fCaps, &fSingleOwner); in initCommon() 86 if (fResourceCache) { in initCommon() 87 fResourceCache->setProxyProvider(fProxyProvider); in initCommon() 106 if (!fResourceCache) { in initCommon() 154 delete fResourceCache; in ~GrContext() 177 fResourceCache->abandonAll(); in abandonContext() 205 fResourceCache->releaseAll(); in releaseResourcesAndAbandonContext() [all …]
|
D | GrProxyProvider.h | 221 fResourceCache = nullptr; in abandon() 229 SkASSERT(!fResourceCache && !fResourceProvider); in isAbandoned() 274 GrResourceCache* fResourceCache; variable
|
D | GrProxyProvider.cpp | 38 , fResourceCache(resourceCache) in GrProxyProvider() 47 SkASSERT(fResourceCache); in GrProxyProvider() 56 , fResourceCache(nullptr) in GrProxyProvider() 70 if (fResourceCache) { in ~GrProxyProvider() 88 SkASSERT(!fResourceCache || !fResourceCache->findAndRefUniqueResource(key)); in assignUniqueKeyToProxy() 161 if (!fResourceCache) { in findOrCreateProxyByUniqueKey() 165 GrGpuResource* resource = fResourceCache->findAndRefUniqueResource(key); in findOrCreateProxyByUniqueKey()
|
D | GrContextPriv.h | 201 GrResourceCache* getResourceCache() { return fContext->fResourceCache; } in getResourceCache()
|
/external/skqp/tools/gpu/ |
D | GrTest.cpp | 52 fContext->fResourceCache->purgeAllUnlocked(); in purgeAllUnlockedResources_ForTesting() 63 fContext->fResourceCache->dumpStats(out); in dumpCacheStats() 70 fContext->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs()
|
/external/skqp/include/gpu/ |
D | GrContext.h | 301 GrResourceCache* fResourceCache; variable
|
/external/skia/include/gpu/ |
D | GrDirectContext.h | 859 std::unique_ptr<GrResourceCache> fResourceCache; variable
|