Home
last modified time | relevance | path

Searched refs:fScratchMap (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp150 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource()
177 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()
200 SkASSERT(!fScratchMap.count()); in abandonAll()
224 SkASSERT(!fScratchMap.count()); in releaseAll()
254 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(true)); in findAndRefScratchResource()
265 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(false)); in findAndRefScratchResource()
275 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()
628 const ScratchMap* fScratchMap; in validate() member
633 fScratchMap = &cache->fScratchMap; in validate()
647 SkASSERT(fScratchMap->countForKey(resource->resourcePriv().getScratchKey())); in validate()
[all …]
DGrResourceCache.h134 return fScratchMap.countForKey(scratchKey); in countScratchEntriesForKey()
258 ScratchMap fScratchMap; variable