Lines Matching defs:cache
59 // Get GrFontScaler from cache
60 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::On,
62 GrFontScaler* fontScaler = GrTextUtils::GetGrFontScaler(cache);
67 cache,
77 SkGlyphCache::AttachCache(cache);
101 // Get GrFontScaler from cache
102 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::On,
104 GrFontScaler* fontScaler = GrTextUtils::GetGrFontScaler(cache);
109 skPaint.getTextAlign(), cache,
119 SkGlyphCache::AttachCache(cache);
344 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::Off,
347 GrFontScaler* fontScaler = GrTextUtils::GetGrFontScaler(cache);
355 const SkGlyph& glyph = glyphCacheProc(cache, &text);
384 const SkGlyph& glyph = glyphCacheProc(cache, &text);
414 SkGlyphCache::AttachCache(cache);
424 bool GrTextUtils::DfAppendGlyph(GrAtlasTextBlob* blob, int runIndex, GrBatchFontCache* cache,
430 *strike = cache->getStrike(scaler);
499 // setup our std paint, in hopes of getting hits in the cache
506 // Temporarily jam in kFill, so we only ever ask for the raw outline from the cache.
512 SkGlyphCache* cache = autoCache.getCache();
523 const SkGlyph& glyph = glyphCacheProc(cache, &text);
525 const SkPath* path = cache->findPath(glyph);
571 GrFontScaler* GrTextUtils::GetGrFontScaler(SkGlyphCache* cache) {
575 if (cache->getAuxProcData(glyph_cache_aux_proc, &auxData)) {
579 scaler = new GrFontScaler(cache);
580 cache->setAuxProc(glyph_cache_aux_proc, scaler);