Searched refs:BlobIDCacheEntry (Results 1 – 4 of 4) sorted by relevance
33 const BlobIDCacheEntry* idEntry = fBlobIDCache.find(key.fUniqueID); in find()146 idEntry = fBlobIDCache.set(id, BlobIDCacheEntry(id)); in internalAdd()161 GrTextBlobCache::BlobIDCacheEntry::BlobIDCacheEntry() : fID(SK_InvalidGenID) {} in BlobIDCacheEntry() function in GrTextBlobCache::BlobIDCacheEntry163 GrTextBlobCache::BlobIDCacheEntry::BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry() function in GrTextBlobCache::BlobIDCacheEntry165 uint32_t GrTextBlobCache::BlobIDCacheEntry::GetKey(const GrTextBlobCache::BlobIDCacheEntry& entry) { in GetKey()169 void GrTextBlobCache::BlobIDCacheEntry::addBlob(sk_sp<GrTextBlob> blob) { in addBlob()177 void GrTextBlobCache::BlobIDCacheEntry::removeBlob(GrTextBlob* blob) { in removeBlob()187 sk_sp<GrTextBlob> GrTextBlobCache::BlobIDCacheEntry::find(const GrTextBlob::Key& key) const { in find()192 int GrTextBlobCache::BlobIDCacheEntry::findBlobIndex(const GrTextBlob::Key& key) const { in findBlobIndex()
55 struct BlobIDCacheEntry { struct56 BlobIDCacheEntry();57 explicit BlobIDCacheEntry(uint32_t id);59 static uint32_t GetKey(const BlobIDCacheEntry& entry);86 SkTHashMap<uint32_t, BlobIDCacheEntry> fBlobIDCache SK_GUARDED_BY(fSpinLock); argument
111 struct BlobIDCacheEntry { struct112 BlobIDCacheEntry() : fID(SK_InvalidGenID) {} in BlobIDCacheEntry() argument113 explicit BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry() argument115 static uint32_t GetKey(const BlobIDCacheEntry& entry) { in GetKey() argument161 idEntry = fBlobIDCache.set(id, BlobIDCacheEntry(id)); in add() argument178 SkTHashMap<uint32_t, BlobIDCacheEntry> fBlobIDCache;
22 fBlobIDCache.foreach([this](uint32_t, BlobIDCacheEntry* entry) { in freeAll()