Home
last modified time | relevance | path

Searched refs:BlobIDCacheEntry (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/gpu/text/
DGrTextBlobCache.cpp33 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::BlobIDCacheEntry
163 GrTextBlobCache::BlobIDCacheEntry::BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry() function in GrTextBlobCache::BlobIDCacheEntry
165 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()
DGrTextBlobCache.h55 struct BlobIDCacheEntry { struct
56 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
/third_party/flutter/skia/src/gpu/text/
DGrTextBlobCache.h115 struct BlobIDCacheEntry { struct
116 BlobIDCacheEntry() : fID(SK_InvalidGenID) {} in BlobIDCacheEntry() function
117 explicit BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry() function
119 static uint32_t GetKey(const BlobIDCacheEntry& entry) { in GetKey() argument
165 idEntry = fBlobIDCache.set(id, BlobIDCacheEntry(id)); in add() argument
182 SkTHashMap<uint32_t, BlobIDCacheEntry> fBlobIDCache;
DGrTextBlobCache.cpp22 fBlobIDCache.foreach([this](uint32_t, BlobIDCacheEntry* entry) { in freeAll()