Home
last modified time | relevance | path

Searched refs:fScratchKey (Results 1 – 12 of 12) sorted by relevance

/external/skqp/src/gpu/ccpr/
DGrCCPathCache.cpp96 , 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()
DGrCCPathCache.h172 sk_sp<Key> fScratchKey; // Reused for creating a temporary key in the find() method. variable
/external/skqp/src/gpu/
DGrGpuResource.cpp32 this->computeScratchKey(&fScratchKey); in registerWithCache()
195 if (!this->wasDestroyed() && fScratchKey.isValid()) { in removeScratchKey()
197 fScratchKey.reset(); in removeScratchKey()
DGrGpuResourcePriv.h65 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()
DGrGpuResourceCacheAccess.h28 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && in isScratch()
/external/skia/src/gpu/
DGrGpuResource.cpp32 this->computeScratchKey(&fScratchKey); in registerWithCache()
179 if (!this->wasDestroyed() && fScratchKey.isValid()) { in removeScratchKey()
181 fScratchKey.reset(); in removeScratchKey()
DGrResourceAllocator.h153 const GrScratchKey& scratchKey() const { return fScratchKey; } in scratchKey()
173 GrScratchKey fScratchKey; // free pool wants a reference to this. variable
DGrGpuResourcePriv.h63 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()
DGrGpuResourceCacheAccess.h31 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && in isScratch()
DGrResourceAllocator.cpp112 , fScratchKey(std::move(scratchKey)) { in Register()
119 fExistingSurface = provider->findAndRefScratchTexture(fScratchKey); in Register()
DGrGpuResource.h303 GrScratchKey fScratchKey; variable
/external/skqp/include/gpu/
DGrGpuResource.h342 GrScratchKey fScratchKey; variable