Searched refs:fScratchMap (Results 1 – 4 of 4) sorted by relevance
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 141 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource() 171 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource() 199 SkASSERT(!fScratchMap.count()); in abandonAll() 239 SkASSERT(!fScratchMap.count()); in releaseAll() 274 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(true)); in findAndRefScratchResource() 291 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(false)); in findAndRefScratchResource() 303 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey() 317 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in removeUniqueKey() 355 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in changeUniqueKey() 737 const ScratchMap* fScratchMap; in validate() member [all …]
|
D | GrResourceCache.h | 142 return fScratchMap.countForKey(scratchKey); in countScratchEntriesForKey() 327 ScratchMap fScratchMap; variable
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 179 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource() 209 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource() 236 SkASSERT(!fScratchMap.count()); in abandonAll() 273 SkASSERT(!fScratchMap.count()); in releaseAll() 308 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(true)); in findAndRefScratchResource() 325 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(false)); in findAndRefScratchResource() 337 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey() 351 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in removeUniqueKey() 389 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in changeUniqueKey() 828 const ScratchMap* fScratchMap; in validate() member [all …]
|
D | GrResourceCache.h | 143 return fScratchMap.countForKey(scratchKey); in countScratchEntriesForKey() 350 ScratchMap fScratchMap; variable
|