Searched refs:fScratchKey (Results 1 – 12 of 12) sorted by relevance
96 , fScratchKey(Key::Make(fInvalidatedKeysInbox.uniqueID(), kMaxKeyDataCountU32)) { in GrCCPathCache()173 SkASSERT(fScratchKey->unique()); in find()174 fScratchKey->resetDataCountU32(writeKeyHelper.allocCountU32()); in find()175 writeKeyHelper.write(shape, fScratchKey->data()); in find()179 if (HashNode* node = fHashTable.find(*fScratchKey)) { in find()193 this->evict(*fScratchKey); in find()208 writeKeyHelper.allocCountU32(), fScratchKey->data()); in find()209 SkASSERT(*permanentKey == *fScratchKey); in find()218 SkDEBUGCODE(HashNode* node = fHashTable.find(*fScratchKey)); in find()
172 sk_sp<Key> fScratchKey; // Reused for creating a temporary key in the find() method. variable
32 this->computeScratchKey(&fScratchKey); in registerWithCache()195 if (!this->wasDestroyed() && fScratchKey.isValid()) { in removeScratchKey()197 fScratchKey.reset(); in removeScratchKey()
65 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()
28 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && in isScratch()
32 this->computeScratchKey(&fScratchKey); in registerWithCache()179 if (!this->wasDestroyed() && fScratchKey.isValid()) { in removeScratchKey()181 fScratchKey.reset(); in removeScratchKey()
153 const GrScratchKey& scratchKey() const { return fScratchKey; } in scratchKey()173 GrScratchKey fScratchKey; // free pool wants a reference to this. variable
63 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()
31 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && in isScratch()
112 , fScratchKey(std::move(scratchKey)) { in Register()119 fExistingSurface = provider->findAndRefScratchTexture(fScratchKey); in Register()
303 GrScratchKey fScratchKey; variable
342 GrScratchKey fScratchKey; variable