Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp151 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource()
178 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()
201 SkASSERT(!fScratchMap.count()); in abandonAll()
225 SkASSERT(!fScratchMap.count()); in releaseAll()
256 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(true)); in findAndRefScratchResource()
273 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(false)); in findAndRefScratchResource()
283 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()
645 const ScratchMap* fScratchMap; in validate() member
650 fScratchMap = &cache->fScratchMap; in validate()
664 SkASSERT(fScratchMap->countForKey(resource->resourcePriv().getScratchKey())); in validate()
[all …]
DGrResourceCache.h138 return fScratchMap.countForKey(scratchKey); in countScratchEntriesForKey()
316 ScratchMap fScratchMap; variable