Home
last modified time | relevance | path

Searched refs:fResourceCache (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/
DGrDirectContext.cpp84 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 …]
DGrDirectContextPriv.cpp90 fContext->fResourceCache->dumpStats(out); in dumpCacheStats()
97 fContext->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs()
DGrDirectContextPriv.h118 GrResourceCache* getResourceCache() { return fContext->fResourceCache.get(); } in getResourceCache()
/external/skqp/src/gpu/
DGrContext.cpp64 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 …]
DGrProxyProvider.h221 fResourceCache = nullptr; in abandon()
229 SkASSERT(!fResourceCache && !fResourceProvider); in isAbandoned()
274 GrResourceCache* fResourceCache; variable
DGrProxyProvider.cpp38 , 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()
DGrContextPriv.h201 GrResourceCache* getResourceCache() { return fContext->fResourceCache; } in getResourceCache()
/external/skqp/tools/gpu/
DGrTest.cpp52 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/
DGrContext.h301 GrResourceCache* fResourceCache; variable
/external/skia/include/gpu/
DGrDirectContext.h859 std::unique_ptr<GrResourceCache> fResourceCache; variable