Lines Matching refs:getUniqueKey
163 !resource->getUniqueKey().isValid()) { in insertResource()
194 !resource->getUniqueKey().isValid()) { in removeResource()
197 if (resource->getUniqueKey().isValid()) { in removeResource()
198 fUniqueHash.remove(resource->getUniqueKey()); in removeResource()
286 SkASSERT(!resource->getUniqueKey().isValid() && in operator ()()
333 if (!resource->getUniqueKey().isValid()) { in willRemoveScratchKey()
342 if (resource->getUniqueKey().isValid()) { in removeUniqueKey()
343 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in removeUniqueKey()
344 fUniqueHash.remove(resource->getUniqueKey()); in removeUniqueKey()
378 if (resource->getUniqueKey().isValid()) { in changeUniqueKey()
379 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in changeUniqueKey()
380 fUniqueHash.remove(resource->getUniqueKey()); in changeUniqueKey()
381 SkASSERT(nullptr == fUniqueHash.find(resource->getUniqueKey())); in changeUniqueKey()
471 bool hasUniqueKey = resource->getUniqueKey().isValid(); in notifyCntReachedZero()
588 if (!resource->getUniqueKey().isValid()) { in purgeUnlockedResources()
636 if (!resource->getUniqueKey().isValid()) { in purgeUnlockedResources()
870 const GrUniqueKey& uniqueKey = resource->getUniqueKey(); in validate()
911 SkASSERT(!resource->getUniqueKey().isValid()); in validate()