Lines Matching refs:fScratchMap
190 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()
219 SkASSERT(!fScratchMap.count()); in abandonAll()
260 SkASSERT(!fScratchMap.count()); in releaseAll()
296 GrGpuResource* resource = fScratchMap.find(scratchKey, AvailableForScratchUse()); in findAndRefScratchResource()
298 fScratchMap.remove(scratchKey, resource); in findAndRefScratchResource()
309 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()
323 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in removeUniqueKey()
362 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in changeUniqueKey()
408 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in notifyARefCntReachedZero()
501 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in didChangeBudgetStatus()
514 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in didChangeBudgetStatus()
906 const ScratchMap* fScratchMap; in validate() member
911 fScratchMap = &cache->fScratchMap; in validate()
930 SkASSERT(fScratchMap->countForKey(scratchKey)); in validate()
936 SkASSERT(!fScratchMap->has(resource, scratchKey)); in validate()
954 fScratchMap.foreach([&](const GrGpuResource& resource) { in validate()
958 SkASSERT(count == fScratchMap.count()); in validate()
1003 SkASSERT(stats.fScratch == fScratchMap.count()); in validate()