Home
last modified time | relevance | path

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

/external/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
/external/skqp/src/gpu/text/
DGrTextBlobCache.h111 struct BlobIDCacheEntry { struct
112 BlobIDCacheEntry() : fID(SK_InvalidGenID) {} in BlobIDCacheEntry() argument
113 explicit BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry() argument
115 static uint32_t GetKey(const BlobIDCacheEntry& entry) { in GetKey() argument
161 idEntry = fBlobIDCache.set(id, BlobIDCacheEntry(id)); in add() argument
178 SkTHashMap<uint32_t, BlobIDCacheEntry> fBlobIDCache;
DGrTextBlobCache.cpp22 fBlobIDCache.foreach([this](uint32_t, BlobIDCacheEntry* entry) { in freeAll()