Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrContext.cpp50 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 …]
DGrContextPriv.cpp736 fContext->fResourceCache->dumpStats(out); in dumpCacheStats()
743 fContext->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs()
795 fContext->fResourceCache->purgeAllUnlocked(); in testingOnly_purgeAllUnlockedResources()
DGrContextPriv.h264 GrResourceCache* getResourceCache() { return fContext->fResourceCache; } 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/skia/include/gpu/
DGrContext.h329 GrResourceCache* fResourceCache; variable
/external/skqp/include/gpu/
DGrContext.h301 GrResourceCache* fResourceCache; variable