Searched refs:fResourceCache (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/gpu/ |
D | GrContext.cpp | 50 fResourceCache = nullptr; in GrContext() 61 delete fResourceCache; in ~GrContext() 78 fResourceCache = new GrResourceCache(this->caps(), this->singleOwner(), this->contextID()); in init() 79 fResourceProvider = new GrResourceProvider(fGpu.get(), fResourceCache, this->singleOwner(), in init() 83 if (fResourceCache) { in init() 84 fResourceCache->setProxyProvider(this->proxyProvider()); in init() 121 fResourceCache->abandonAll(); in abandonContext() 140 fResourceCache->releaseAll(); in releaseResourcesAndAbandonContext() 166 fResourceCache->purgeAllUnlocked(); in freeGpuResources() 171 fResourceCache->purgeUnlockedResources(scratchResourcesOnly); in purgeUnlockedResources() [all …]
|
D | GrContextPriv.cpp | 736 fContext->fResourceCache->dumpStats(out); in dumpCacheStats() 743 fContext->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs() 795 fContext->fResourceCache->purgeAllUnlocked(); in testingOnly_purgeAllUnlockedResources()
|
D | GrContextPriv.h | 264 GrResourceCache* getResourceCache() { return fContext->fResourceCache; } 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/skia/include/gpu/ |
D | GrContext.h | 329 GrResourceCache* fResourceCache; variable
|
/external/skqp/include/gpu/ |
D | GrContext.h | 301 GrResourceCache* fResourceCache; variable
|