Lines Matching refs:cacheBlob
80 SkAutoTUnref<GrAtlasTextBlob> cacheBlob; in drawTextBlob() local
109 cacheBlob.reset(SkSafeRef(cache->find(key))); in drawTextBlob()
119 if (cacheBlob) { in drawTextBlob()
120 if (cacheBlob->mustRegenerate(skPaint, grPaint.getColor(), blurRec, viewMatrix, x, y)) { in drawTextBlob()
124 cache->remove(cacheBlob); in drawTextBlob()
125 cacheBlob.reset(SkRef(cache->createCachedBlob(blob, key, blurRec, skPaint))); in drawTextBlob()
126 RegenerateTextBlob(cacheBlob, context->getBatchFontCache(), in drawTextBlob()
131 cache->makeMRU(cacheBlob); in drawTextBlob()
143 GrAtlasTextBlob::AssertEqual(*sanityBlob, *cacheBlob); in drawTextBlob()
148 cacheBlob.reset(SkRef(cache->createCachedBlob(blob, key, blurRec, skPaint))); in drawTextBlob()
150 cacheBlob.reset(cache->createBlob(blob)); in drawTextBlob()
152 RegenerateTextBlob(cacheBlob, context->getBatchFontCache(), in drawTextBlob()
158 cacheBlob->flushCached(context, dc, blob, props, fDistanceAdjustTable, skPaint, in drawTextBlob()
162 void GrAtlasTextContext::RegenerateTextBlob(GrAtlasTextBlob* cacheBlob, in RegenerateTextBlob() argument
170 cacheBlob->initReusableBlob(color, viewMatrix, x, y); in RegenerateTextBlob()
191 cacheBlob->push_back_run(run); in RegenerateTextBlob()
196 GrTextUtils::DrawDFText(cacheBlob, run, fontCache, in RegenerateTextBlob()
204 GrTextUtils::DrawDFPosText(cacheBlob, run, fontCache, in RegenerateTextBlob()
212 GrTextUtils::DrawDFPosText(cacheBlob, run, fontCache, in RegenerateTextBlob()
220 cacheBlob->setRunDrawAsPaths(run); in RegenerateTextBlob()
224 GrTextUtils::DrawBmpText(cacheBlob, run, fontCache, in RegenerateTextBlob()
230 GrTextUtils::DrawBmpPosText(cacheBlob, run, fontCache, in RegenerateTextBlob()
236 GrTextUtils::DrawBmpPosText(cacheBlob, run, fontCache, in RegenerateTextBlob()