Home | History | Annotate | Download | only in text

Lines Matching defs:blob

117                                                         const SkTextBlob* blob,
123 SkTextBlobRunIterator it(blob);
175 const TextBlob& blob = this->findOrCreateTextBlob(skBlob, skPaint);
177 TextBlob::Iter iter(blob);
201 // The font-related parameters are baked into the text blob and will override this skPaint, so
209 TextBlob* blob = new TextBlob(skBlob->uniqueID(), skBlob, skPaint);
210 this->purgeToFit(*blob);
211 fBlobIdCache.set(skBlob->uniqueID(), blob);
212 fLRUList.addToTail(blob);
213 fCacheSize += blob->cpuMemorySize();
214 return *blob;
226 TextBlob* blob = new TextBlob(key, skBlob, skPaint);
227 this->purgeToFit(*blob);
228 fBlobKeyCache.set(blob);
229 fLRUList.addToTail(blob);
230 fCacheSize += blob->cpuMemorySize();
231 return *blob;
235 void GrStencilAndCoverTextContext::purgeToFit(const TextBlob& blob) {
238 size_t maxSizeForNewBlob = maxCacheSize - blob.cpuMemorySize();
242 // 1-length keys are unterstood to be the blob id.
538 // Stick the glyphs we can't draw into the fallback text blob.