Lines Matching full:blob
66 bool GrAtlasTextContext::HasLCD(const SkTextBlob* blob) {
67 SkTextBlobRunIterator it(blob);
79 const SkSurfaceProps& props, const SkTextBlob* blob,
100 bool hasLCD = HasLCD(blob);
113 key.fUniqueID = blob->uniqueID();
124 // We have to remake the blob because changes may invalidate our masks.
128 cacheBlob = cache->makeCachedBlob(blob, key, blurRec, skPaint);
131 viewMatrix, props, blob, x, y, drawFilter);
138 GrTextBlobCache::BlobGlyphCount(&glyphCount, &runCount, blob);
143 viewMatrix, props, blob, x, y, drawFilter);
149 cacheBlob = cache->makeCachedBlob(blob, key, blurRec, skPaint);
151 cacheBlob = cache->makeBlob(blob);
155 props, blob, x, y, drawFilter);
158 cacheBlob->flushCached(context, rtc, blob, props, fDistanceAdjustTable.get(), paint, drawFilter,
167 const SkSurfaceProps& props, const SkTextBlob* blob,
172 SkTextBlobRunIterator it(blob);
245 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1);
246 blob->initThrowawayBlob(viewMatrix, x, y);
249 GrTextUtils::DrawDFText(blob.get(), 0, fontCache, props, paint, scalerContextFlags,
252 GrTextUtils::DrawBmpText(blob.get(), 0, fontCache, props, paint, scalerContextFlags,
255 return blob;
271 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1);
272 blob->initThrowawayBlob(viewMatrix, offset.x(), offset.y());
275 GrTextUtils::DrawDFPosText(blob.get(), 0, fontCache, props, paint, scalerContextFlags,
278 GrTextUtils::DrawBmpPosText(blob.get(), 0, fontCache, props, paint, scalerContextFlags,
281 return blob;
294 sk_sp<GrAtlasTextBlob> blob(
300 blob->flushThrowaway(context, rtc, props, fDistanceAdjustTable.get(), paint, clip,
320 sk_sp<GrAtlasTextBlob> blob(
328 blob->flushThrowaway(context, rtc, props, fDistanceAdjustTable.get(), paint, clip,
380 sk_sp<GrAtlasTextBlob> blob(GrAtlasTextContext::MakeDrawTextBlob(
386 return blob->test_makeOp(textLen, 0, 0, viewMatrix, x, y, paint, gSurfaceProps,