Home
last modified time | relevance | path

Searched refs:fontCache (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/text/
DGrAtlasTextBlob_regenInOp.cpp141 void GrAtlasTextBlob::regenInOp(GrDrawOp::Target* target, GrAtlasGlyphCache* fontCache, in regenInOp() argument
164 strike = fontCache->getStrike(lazyCache->get()); in regenInOp()
187 if (!fontCache->hasGlyph(glyph) && in regenInOp()
198 fontCache->addGlyphToBulkAndSetUseToken(info->bulkUseToken(), glyph, in regenInOp()
200 log2Width = fontCache->log2Width(info->maskFormat()); in regenInOp()
201 log2Height = fontCache->log2Height(info->maskFormat()); in regenInOp()
220 : fontCache->atlasGeneration(info->maskFormat())); in regenInOp()
241 #define REGEN_ARGS target, fontCache, helper, &run, &info, lazyCache, \
245 GrAtlasGlyphCache* fontCache, in regenInOp() argument
254 uint64_t currentAtlasGen = fontCache->atlasGeneration(info.maskFormat()); in regenInOp()
[all …]
DGrAtlasTextContext.cpp163 GrAtlasGlyphCache* fontCache, in RegenerateTextBlob() argument
185 GrTextUtils::DrawDFText(cacheBlob, run, fontCache, props, runPaint, in RegenerateTextBlob()
194 cacheBlob, run, fontCache, props, runPaint, scalerContextFlags, in RegenerateTextBlob()
201 cacheBlob, run, fontCache, props, runPaint, scalerContextFlags, in RegenerateTextBlob()
211 GrTextUtils::DrawBmpText(cacheBlob, run, fontCache, props, runPaint, in RegenerateTextBlob()
217 GrTextUtils::DrawBmpPosText(cacheBlob, run, fontCache, props, runPaint, in RegenerateTextBlob()
223 GrTextUtils::DrawBmpPosText(cacheBlob, run, fontCache, props, runPaint, in RegenerateTextBlob()
235 GrAtlasGlyphCache* fontCache, in MakeDrawTextBlob() argument
249 GrTextUtils::DrawDFText(blob.get(), 0, fontCache, props, paint, scalerContextFlags, in MakeDrawTextBlob()
252 GrTextUtils::DrawBmpText(blob.get(), 0, fontCache, props, paint, scalerContextFlags, in MakeDrawTextBlob()
[all …]
DGrTextUtils.cpp76 void GrTextUtils::DrawBmpText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* fontCache, in DrawBmpText() argument
100 blob, runIndex, fontCache, &currStrike, glyph, in DrawBmpText()
109 void GrTextUtils::DrawBmpPosText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* fontCache, in DrawBmpPosText() argument
136 blob, runIndex, fontCache, &currStrike, glyph, in DrawBmpPosText()
146 GrAtlasGlyphCache* fontCache, in BmpAppendGlyph() argument
150 *strike = fontCache->getStrike(cache); in BmpAppendGlyph()
272 GrAtlasGlyphCache* fontCache, const SkSurfaceProps& props, in DrawDFText() argument
343 DrawDFPosText(blob, runIndex, fontCache, props, paint, scalerContextFlags, viewMatrix, text, in DrawDFText()
347 void GrTextUtils::DrawDFPosText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* fontCache, in DrawDFPosText() argument
392 if (!DfAppendGlyph(blob, runIndex, fontCache, &currStrike, glyph, x, y, in DrawDFPosText()
[all …]
DGrAtlasGlyphCache.cpp89 GrAtlasGlyphCache* fontCache = reinterpret_cast<GrAtlasGlyphCache*>(ptr); in HandleEviction() local
91 StrikeHash::Iter iter(&fontCache->fCache); in HandleEviction()
98 if (strike != fontCache->fPreserveStrike && 0 == strike->fAtlasedGlyphs) { in HandleEviction()
99 fontCache->fCache.remove(GrAtlasTextStrike::GetKey(*strike)); in HandleEviction()
DGrAtlasTextBlob.h258 void regenInOp(GrDrawOp::Target* target, GrAtlasGlyphCache* fontCache,
488 … void regenInOp(GrDrawOp::Target* target, GrAtlasGlyphCache* fontCache, GrBlobRegenHelper* helper,
/external/skia/src/gpu/ops/
DGrAtlasTextOp.h41 GrAtlasGlyphCache* fontCache) { in MakeBitmap() argument
44 op->fFontCache = fontCache; in MakeBitmap()
59 op->fFontCache = fontCache; in MakeBitmap()
65 int glyphCount, GrAtlasGlyphCache* fontCache, in MakeDistanceField() argument
70 op->fFontCache = fontCache; in MakeDistanceField()