Home
last modified time | relevance | path

Searched refs:idEntry (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/text/
DGrTextBlobCache.cpp33 const BlobIDCacheEntry* idEntry = fBlobIDCache.find(key.fUniqueID); in find() local
34 if (idEntry == nullptr) { in find()
38 sk_sp<GrTextBlob> blob = idEntry->find(key); in find()
54 auto* idEntry = fBlobIDCache.find(id); in internalRemove() local
56 if (idEntry != nullptr) { in internalRemove()
57 sk_sp<GrTextBlob> stillExists = idEntry->find(blob->key()); in internalRemove()
61 idEntry->removeBlob(blob); in internalRemove()
62 if (idEntry->fBlobs.empty()) { in internalRemove()
91 auto* idEntry = fBlobIDCache.find(msg.fBlobID); in internalPurgeStaleBlobs() local
92 if (!idEntry) { in internalPurgeStaleBlobs()
[all …]
/external/skqp/src/gpu/text/
DGrTextBlobCache.h53 const auto* idEntry = fBlobIDCache.find(key.fUniqueID); in find() local
54 return idEntry ? idEntry->find(key) : nullptr; in find()
59 auto* idEntry = fBlobIDCache.find(id); in remove() local
60 SkASSERT(idEntry); in remove()
64 idEntry->removeBlob(blob); in remove()
65 if (idEntry->fBlobs.empty()) { in remove()
159 auto* idEntry = fBlobIDCache.find(id); in add() local
160 if (!idEntry) { in add()
161 idEntry = fBlobIDCache.set(id, BlobIDCacheEntry(id)); in add()
168 idEntry->addBlob(std::move(blob)); in add()
DGrTextBlobCache.cpp46 auto* idEntry = fBlobIDCache.find(msg.fBlobID); in purgeStaleBlobs() local
47 if (!idEntry) { in purgeStaleBlobs()
53 for (const auto& blob : idEntry->fBlobs) { in purgeStaleBlobs()