Lines Matching refs:getScratchKey
149 if (resource->resourcePriv().getScratchKey().isValid()) { in insertResource()
151 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource()
177 if (resource->resourcePriv().getScratchKey().isValid()) { in removeResource()
178 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()
282 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey()
283 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()
312 if (!old->resourcePriv().getScratchKey().isValid() && old->isPurgeable()) { in changeUniqueKey()
381 resource->resourcePriv().getScratchKey().isValid()) { in notifyCntReachedZero()
392 bool noKey = !resource->resourcePriv().getScratchKey().isValid() && in notifyCntReachedZero()
664 SkASSERT(fScratchMap->countForKey(resource->resourcePriv().getScratchKey())); in validate()
666 } else if (resource->resourcePriv().getScratchKey().isValid()) { in validate()
670 SkASSERT(fScratchMap->countForKey(resource->resourcePriv().getScratchKey())); in validate()