Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrAtlasTextBlob_regenInBatch.cpp142 GrBatchFontCache* fontCache, in regenInBatch() argument
174 strike = fontCache->getStrike(*scaler); in regenInBatch()
197 if (!fontCache->hasGlyph(glyph) && in regenInBatch()
208 fontCache->addGlyphToBulkAndSetUseToken(info->bulkUseToken(), glyph, in regenInBatch()
210 log2Width = fontCache->log2Width(info->maskFormat()); in regenInBatch()
211 log2Height = fontCache->log2Height(info->maskFormat()); in regenInBatch()
230 fontCache->atlasGeneration(info->maskFormat())); in regenInBatch()
251 #define REGEN_ARGS target, fontCache, helper, &run, &info, cache, typeface, scaler, desc, \
255 GrBatchFontCache* fontCache, in regenInBatch() argument
266 uint64_t currentAtlasGen = fontCache->atlasGeneration(info.maskFormat()); in regenInBatch()
[all …]
DGrAtlasTextContext.cpp163 GrBatchFontCache* fontCache, in RegenerateTextBlob() argument
196 GrTextUtils::DrawDFText(cacheBlob, run, fontCache, in RegenerateTextBlob()
204 GrTextUtils::DrawDFPosText(cacheBlob, run, fontCache, in RegenerateTextBlob()
212 GrTextUtils::DrawDFPosText(cacheBlob, run, fontCache, 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()
253 GrBatchFontCache* fontCache, in CreateDrawTextBlob() argument
267 GrTextUtils::DrawDFText(blob, 0, fontCache, props, in CreateDrawTextBlob()
271 GrTextUtils::DrawBmpText(blob, 0, fontCache, props, skPaint, in CreateDrawTextBlob()
[all …]
DGrTextUtils.cpp41 GrBatchFontCache* fontCache, in DrawBmpText() argument
71 blob, runIndex, fontCache, &currStrike, glyph, in DrawBmpText()
81 GrBatchFontCache* fontCache, in DrawBmpPosText() argument
113 blob, runIndex, fontCache, &currStrike, glyph, in DrawBmpPosText()
123 GrBatchFontCache* fontCache, in BmpAppendGlyph() argument
127 *strike = fontCache->getStrike(scaler); in BmpAppendGlyph()
249 GrBatchFontCache* fontCache, const SkSurfaceProps& props, in DrawDFText() argument
313 DrawDFPosText(blob, runIndex, fontCache, props, skPaint, color, viewMatrix, text, byteLength, in DrawDFText()
318 GrBatchFontCache* fontCache, const SkSurfaceProps& props, in DrawDFPosText() argument
363 fontCache, in DrawDFPosText()
[all …]
DGrBatchFontCache.cpp98 GrBatchFontCache* fontCache = reinterpret_cast<GrBatchFontCache*>(ptr); in HandleEviction() local
100 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey>::Iter iter(&fontCache->fCache); in HandleEviction()
107 if (strike != fontCache->fPreserveStrike && 0 == strike->fAtlasedGlyphs) { in HandleEviction()
108 fontCache->fCache.remove(*(strike->fFontScalerKey)); in HandleEviction()
DGrAtlasTextBlob.h258 void regenInBatch(GrDrawBatch::Target* target, GrBatchFontCache* fontCache,
489 GrBatchFontCache* fontCache,
/external/skia/src/gpu/batches/
DGrAtlasTextBatch.h35 GrBatchFontCache* fontCache) { in CreateBitmap() argument
38 batch->fFontCache = fontCache; in CreateBitmap()
53 batch->fFontCache = fontCache; in CreateBitmap()
59 int glyphCount, GrBatchFontCache* fontCache, in CreateDistanceField() argument
65 batch->fFontCache = fontCache; in CreateDistanceField()