Searched defs:BlobIDCacheEntry (Results 1 – 3 of 3) sorted by relevance
115 struct BlobIDCacheEntry { struct116 BlobIDCacheEntry() : fID(SK_InvalidGenID) {} in BlobIDCacheEntry() function117 explicit BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry() function119 static uint32_t GetKey(const BlobIDCacheEntry& entry) { in GetKey() argument123 void addBlob(sk_sp<GrTextBlob> blob) { in addBlob()131 void removeBlob(GrTextBlob* blob) { in removeBlob()141 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { in find()165 idEntry = fBlobIDCache.set(id, BlobIDCacheEntry(id)); in add() argument
55 struct BlobIDCacheEntry { struct86 SkTHashMap<uint32_t, BlobIDCacheEntry> fBlobIDCache SK_GUARDED_BY(fSpinLock); argument
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::BlobIDCacheEntry