• Home
  • Raw
  • Download

Lines Matching refs:GrTextBlob

36     sk_sp<GrTextBlob> makeBlob(const SkGlyphRunList& glyphRunList, GrColor color) {  in makeBlob()
37 return GrTextBlob::Make(glyphRunList.totalGlyphCount(), glyphRunList.size(), color); in makeBlob()
40 sk_sp<GrTextBlob> makeCachedBlob(const SkGlyphRunList& glyphRunList, in makeCachedBlob()
41 const GrTextBlob::Key& key, in makeCachedBlob()
45 sk_sp<GrTextBlob> cacheBlob(makeBlob(glyphRunList, color)); in makeCachedBlob()
52 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { in find()
57 void remove(GrTextBlob* blob) { in remove()
58 auto id = GrTextBlob::GetKey(*blob).fUniqueID; in remove()
70 void makeMRU(GrTextBlob* blob) { in makeMRU()
109 using BitmapBlobList = SkTInternalLList<GrTextBlob>;
119 void addBlob(sk_sp<GrTextBlob> blob) { in addBlob()
121 SkASSERT(GrTextBlob::GetKey(*blob).fUniqueID == fID); in addBlob()
122 SkASSERT(!this->find(GrTextBlob::GetKey(*blob))); in addBlob()
127 void removeBlob(GrTextBlob* blob) { in removeBlob()
129 SkASSERT(GrTextBlob::GetKey(*blob).fUniqueID == fID); in removeBlob()
131 auto index = this->findBlobIndex(GrTextBlob::GetKey(*blob)); in removeBlob()
137 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { in find()
142 int findBlobIndex(const GrTextBlob::Key& key) const{ in findBlobIndex()
144 if (GrTextBlob::GetKey(*fBlobs[i]) == key) { in findBlobIndex()
154 SkSTArray<1, sk_sp<GrTextBlob>, true> fBlobs;
157 void add(sk_sp<GrTextBlob> blob) { in add()
158 auto id = GrTextBlob::GetKey(*blob).fUniqueID; in add()
165 GrTextBlob* rawBlobPtr = blob.get(); in add()
173 void checkPurge(GrTextBlob* blob = nullptr);