Home
last modified time | relevance | path

Searched refs:glyphCache (Results 1 – 23 of 23) sorted by relevance

/external/skqp/src/gpu/text/
DGrStrikeCache.cpp42 GrStrikeCache* glyphCache = reinterpret_cast<GrStrikeCache*>(ptr); in HandleEviction() local
44 StrikeHash::Iter iter(&glyphCache->fCache); in HandleEviction()
51 if (strike != glyphCache->fPreserveStrike && 0 == strike->fAtlasedGlyphs) { in HandleEviction()
52 glyphCache->fCache.remove(GrTextStrike::GetKey(*strike)); in HandleEviction()
196 GrStrikeCache* glyphCache, in addGlyphToAtlas() argument
232 dataPtr, glyphCache->getMasks())) { in addGlyphToAtlas()
237 resourceProvider, glyphCache, this, in addGlyphToAtlas()
DGrAtlasManager.cpp13 GrAtlasManager::GrAtlasManager(GrProxyProvider* proxyProvider, GrStrikeCache* glyphCache, in GrAtlasManager() argument
19 , fGlyphCache{glyphCache}
67 GrStrikeCache* glyphCache, in addToAtlas() argument
71 glyphCache->setStrikeToPreserve(strike); in addToAtlas()
DGrTextBlobVertexRegenerator.cpp124 GrStrikeCache* glyphCache, in VertexRegenerator() argument
131 , fGlyphCache(glyphCache) in VertexRegenerator()
DGrTextBlob.h58 void generateFromGlyphRunList(GrStrikeCache* glyphCache,
/external/skqp/src/core/
DSkGlyphRunPainter.cpp531 auto glyphCache = context->contextPriv().getGlyphCache(); in drawGlyphRunList() local
567 glyphCache, *context->contextPriv().caps()->shaderCaps(), fOptions, in drawGlyphRunList()
577 glyphCache, *context->contextPriv().caps()->shaderCaps(), fOptions, in drawGlyphRunList()
590 glyphCache, *context->contextPriv().caps()->shaderCaps(), fOptions, listPaint, in drawGlyphRunList()
686 void GrTextBlob::generateFromGlyphRunList(GrStrikeCache* glyphCache, in generateFromGlyphRunList() argument
771 sk_sp<GrTextStrike> currStrike = glyphCache->getStrike(cache.get()); in generateFromGlyphRunList()
792 glyphCache}; in generateFromGlyphRunList()
826 ARGBFallbackHelper argbFallback{this, run, props, scalerContextFlags, glyphCache}; in generateFromGlyphRunList()
842 [run, cache{cache.get()}, glyphCache] in generateFromGlyphRunList()
844 sk_sp<GrTextStrike> currStrike = glyphCache->getStrike(cache); in generateFromGlyphRunList()
[all …]
/external/skia/src/gpu/text/
DGrAtlasManager.cpp14 GrAtlasManager::GrAtlasManager(GrProxyProvider* proxyProvider, GrStrikeCache* glyphCache, in GrAtlasManager() argument
20 , fGlyphCache{glyphCache}
/external/skqp/src/gpu/
DGrDirectContext.cpp83 GrStrikeCache* glyphCache = this->contextPriv().getGlyphCache(); in init() local
86 fAtlasManager = new GrAtlasManager(proxyProvider, glyphCache, in init()
DGrOpFlushState.h106 GrStrikeCache* glyphCache() const final;
DGrOpFlushState.cpp168 GrStrikeCache* GrOpFlushState::glyphCache() const { in glyphCache() function in GrOpFlushState
/external/skia/src/gpu/
DGrLegacyDirectContext.cpp108 GrStrikeCache* glyphCache = this->priv().getGrStrikeCache(); in init() local
111 fAtlasManager = new GrAtlasManager(proxyProvider, glyphCache, in init()
DGrOpFlushState.h143 GrStrikeCache* glyphCache() const final;
DGrOpFlushState.cpp201 GrStrikeCache* GrOpFlushState::glyphCache() const { in glyphCache() function in GrOpFlushState
/external/skia/src/atlastext/
DSkInternalAtlasTextContext.h36 GrStrikeCache* glyphCache();
DSkInternalAtlasTextContext.cpp52 GrStrikeCache* SkInternalAtlasTextContext::glyphCache() { in glyphCache() function in SkInternalAtlasTextContext
/external/skqp/src/atlastext/
DSkInternalAtlasTextContext.h36 GrStrikeCache* glyphCache();
DSkAtlasTextTarget.cpp222 auto glyphCache = context.grContext()->contextPriv().getGlyphCache(); in executeForTextTarget() local
236 fGeoData[i].fColor.toBytes_RGBA(), &context, glyphCache, atlasManager, in executeForTextTarget()
DSkInternalAtlasTextContext.cpp52 GrStrikeCache* SkInternalAtlasTextContext::glyphCache() { in glyphCache() function in SkInternalAtlasTextContext
/external/skqp/src/pdf/
DSkPDFFont.cpp381 auto glyphCache = SkPDFFont::MakeVectorCache(face, &emSize); in emit_subset_type0() local
383 glyphCache.get(), &font.glyphUsage(), SkToS16(emSize), &defaultWidth); in emit_subset_type0()
494 auto glyphCache = SkPDFFont::MakeVectorCache(typeface, &emSize); in emit_subset_type1() local
496 SkScalar advance = glyphCache->getGlyphIDAdvance(0).fAdvanceX; in emit_subset_type1()
499 advance = glyphCache->getGlyphIDAdvance(gID).fAdvanceX; in emit_subset_type1()
DSkPDFDevice.cpp1104 auto glyphCache = SkPDFFont::MakeVectorCache(typeface, &emSize); in internalDrawGlyphRun() local
1195 gid, glyphCache.get(), textScaleX, textScaleY, in internalDrawGlyphRun()
1206 if (needs_new_font(font, gid, glyphCache.get(), fontType)) { in internalDrawGlyphRun()
1208 font = SkPDFFont::GetFontResource(fDocument, glyphCache.get(), typeface, gid); in internalDrawGlyphRun()
1222 SkScalar advance = advanceScale * glyphCache->getGlyphIDAdvance(gid).fAdvanceX; in internalDrawGlyphRun()
/external/skqp/src/gpu/ops/
DGrAtlasTextOp.cpp285 GrStrikeCache* glyphCache = target->glyphCache(); in onPrepareDraws() local
347 args.fColor.toBytes_RGBA(), target->deferredUploadTarget(), glyphCache, in onPrepareDraws()
DGrMeshDrawOp.h193 virtual GrStrikeCache* glyphCache() const = 0;
/external/skia/src/gpu/ops/
DGrMeshDrawOp.h197 virtual GrStrikeCache* glyphCache() const = 0;
/external/skqp/src/xps/
DSkXPSDevice.cpp1873 auto glyphCache =
1877 unsigned int glyphCount = glyphCache->getGlyphCount();