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