Home
last modified time | relevance | path

Searched defs:BlobIDCacheEntry (Results 1 – 3 of 3) sorted by relevance

/external/skqp/src/gpu/text/
DGrTextBlobCache.h111 struct BlobIDCacheEntry { struct
112 BlobIDCacheEntry() : fID(SK_InvalidGenID) {} in BlobIDCacheEntry() function
113 explicit BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry() argument
115 static uint32_t GetKey(const BlobIDCacheEntry& entry) { in GetKey() argument
119 void addBlob(sk_sp<GrTextBlob> blob) { in addBlob()
127 void removeBlob(GrTextBlob* blob) { in removeBlob()
137 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { in find()
161 idEntry = fBlobIDCache.set(id, BlobIDCacheEntry(id)); in add() argument
/external/skia/src/gpu/text/
DGrTextBlobCache.h55 struct BlobIDCacheEntry { struct
86 SkTHashMap<uint32_t, BlobIDCacheEntry> fBlobIDCache SK_GUARDED_BY(fSpinLock); argument
DGrTextBlobCache.cpp161 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