Home
last modified time | relevance | path

Searched refs:fRun (Results 1 – 10 of 10) sorted by relevance

/external/skia/modules/skparagraph/src/
DOneLineShaper.h33 RunBlock() : fRun(nullptr) { } in RunBlock()
36 explicit RunBlock(TextRange text) : fRun(nullptr), fText(text) { } in RunBlock()
39 : fRun(std::move(run)) in RunBlock()
45 : fRun(std::move(run)) in RunBlock()
46 , fText(fRun->fTextRange) in RunBlock()
47 , fGlyphs(GlyphRange(0, fRun->size())) { } in RunBlock()
49 std::shared_ptr<Run> fRun; member
52 bool isFullyResolved() { return fRun != nullptr && fGlyphs.width() == fRun->size(); } in isFullyResolved()
DOneLineShaper.cpp46 if (front.fRun != nullptr) { in commitRunBuffer()
47 unresolved.fRun = front.fRun; in commitRunBuffer()
61 if (resolved.fRun == nullptr) { in printState()
67 if (resolved.fRun->fFont.getTypeface() != nullptr) { in printState()
68 resolved.fRun->fFont.getTypeface()->getFamilyName(&name); in printState()
175 if (resolvedBlock.fRun != nullptr) { in finish()
176 … fParagraph->fFontSwitches.emplace_back(resolvedBlock.fText.start, resolvedBlock.fRun->fFont); in finish()
179 auto run = resolvedBlock.fRun; in finish()
190 resolvedBlock.fRun->fIndex = this->fParagraph->fRuns.size(); in finish()
191 this->fParagraph->fRuns.emplace_back(*resolvedBlock.fRun); in finish()
[all …]
DTextLine.cpp543 … : fRun(nullptr), fLineHeight(lineHeight), fUseHalfLeading(useHalfLeading), fEllipsis(ellipsis) {} in shapeEllipsis()
544 Run* run() & { return fRun.get(); } in shapeEllipsis()
545 std::unique_ptr<Run> run() && { return std::move(fRun); } in shapeEllipsis()
555 SkASSERT(!fRun); in shapeEllipsis()
556 fRun = std::make_unique<Run>(nullptr, info, 0, fLineHeight, fUseHalfLeading, 0, 0); in shapeEllipsis()
557 return fRun->newRunBuffer(); in shapeEllipsis()
561 fRun->fAdvance.fX = info.fAdvance.fX; in shapeEllipsis()
562 fRun->fAdvance.fY = fRun->advance().fY; in shapeEllipsis()
563 fRun->fPlaceholderIndex = std::numeric_limits<size_t>::max(); in shapeEllipsis()
564 fRun->fEllipsis = true; in shapeEllipsis()
[all …]
/external/skqp/src/gpu/text/
DGrTextBlobVertexRegenerator.cpp134 , fRun(&blob->fRuns[runIdx]) in VertexRegenerator()
172 effects.fPathEffect = fRun->fPathEffect.get(); in doRegen()
173 effects.fMaskFilter = fRun->fMaskFilter.get(); in doRegen()
175 SkStrikeCache::FindOrCreateStrikeExclusive(*desc, effects, *fRun->fTypeface); in doRegen()
DGrTextBlob.h280 , fRun{run}
375 Run* const fRun; variable
608 Run* fRun; variable
DGrTextBlob.cpp191 geometry.fRun = run; in makeOp()
/external/skqp/src/core/
DSkGlyphRunPainter.cpp603 GrTextBlob* blob = fRun->fBlob; in appendGlyph()
702 fRun->setSubRunHasW(glyphCacheMatrix.hasPerspective()); in generateFromGlyphRunList()
703 auto subRun = fRun->initARGBFallback(); in generateFromGlyphRunList()
707 fRun->setupFont(fallbackPaint, fallbackFont, fallbackCache->getDescriptor()); in generateFromGlyphRunList()
715 fRun->appendDeviceSpaceGlyph(strike, glyph, *glyphPos++); in generateFromGlyphRunList()
720 fRun->appendSourceSpaceGlyph(strike, glyph, *glyphPos++, textScale); in generateFromGlyphRunList()
726 GrTextBlob::Run* fRun; in generateFromGlyphRunList() member
/external/skqp/src/gpu/ops/
DGrAtlasTextOp.h38 uint16_t fRun; member
DGrAtlasTextOp.cpp109 geo.fBlob->computeSubRunBounds(&bounds, geo.fRun, geo.fSubRun, geo.fViewMatrix, geo.fX, geo.fY, in init()
346 resourceProvider, blob, args.fRun, args.fSubRun, args.fViewMatrix, args.fX, args.fY, in onPrepareDraws()
/external/skqp/src/atlastext/
DSkAtlasTextTarget.cpp234 resourceProvider, fGeoData[i].fBlob, fGeoData[i].fRun, fGeoData[i].fSubRun, in executeForTextTarget()