Lines Matching refs:GrTextBlob
36 sk_sp<GrTextBlob> makeBlob(const SkGlyphRunList& glyphRunList, in makeBlob()
39 return GrTextBlob::Make( in makeBlob()
43 sk_sp<GrTextBlob> makeCachedBlob(const SkGlyphRunList& glyphRunList, in makeCachedBlob()
44 const GrTextBlob::Key& key, in makeCachedBlob()
49 sk_sp<GrTextBlob> cacheBlob(makeBlob(glyphRunList, color, strikeCache)); in makeCachedBlob()
56 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { in find()
61 void remove(GrTextBlob* blob) { in remove()
62 auto id = GrTextBlob::GetKey(*blob).fUniqueID; in remove()
74 void makeMRU(GrTextBlob* blob) { in makeMRU()
113 using BitmapBlobList = SkTInternalLList<GrTextBlob>;
123 void addBlob(sk_sp<GrTextBlob> blob) { in addBlob()
125 SkASSERT(GrTextBlob::GetKey(*blob).fUniqueID == fID); in addBlob()
126 SkASSERT(!this->find(GrTextBlob::GetKey(*blob))); in addBlob()
131 void removeBlob(GrTextBlob* blob) { in removeBlob()
133 SkASSERT(GrTextBlob::GetKey(*blob).fUniqueID == fID); in removeBlob()
135 auto index = this->findBlobIndex(GrTextBlob::GetKey(*blob)); in removeBlob()
141 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { in find()
146 int findBlobIndex(const GrTextBlob::Key& key) const{ in findBlobIndex()
148 if (GrTextBlob::GetKey(*fBlobs[i]) == key) { in findBlobIndex()
158 SkSTArray<1, sk_sp<GrTextBlob>, true> fBlobs;
161 void add(sk_sp<GrTextBlob> blob) { in add()
162 auto id = GrTextBlob::GetKey(*blob).fUniqueID; in add()
169 GrTextBlob* rawBlobPtr = blob.get(); in add()
177 void checkPurge(GrTextBlob* blob = nullptr);