/external/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 463 for (SubRun* subRun = fFirstSubRun; subRun != nullptr; subRun = subRun->fNextSubRun) { in flush() local 464 if (subRun->drawAsPaths()) { in flush() 466 runPaint.setAntiAlias(subRun->isAntiAliased()); in flush() 477 for (const auto& pathGlyph : subRun->fPaths) { in flush() 481 subRun->fStrikeSpec.strikeToSourceRatio()); in flush() 506 int glyphCount = subRun->fGlyphs.size(); in flush() 519 if (!subRun->drawAsDistanceFields() && !subRun->needsTransform() && in flush() 526 &subRunBounds, *subRun, drawMatrix, drawOrigin, false); in flush() 539 auto op = this->makeOp(*subRun, glyphCount, drawMatrix, drawOrigin, in flush() 555 void GrTextBlob::computeSubRunBounds(SkRect* outBounds, const SubRun& subRun, in computeSubRunBounds() argument [all …]
|
D | GrTextBlob.h | 138 void computeSubRunBounds(SkRect* outBounds, const SubRun& subRun, 220 void insertSubRun(SubRun* subRun); 299 VertexRegenerator(GrResourceProvider*, GrTextBlob::SubRun* subRun,
|
/external/skqp/src/gpu/text/ |
D | GrTextBlob.h | 185 const SubRun& subRun = run.fSubRunInfo[subRunIndex]; in computeSubRunBounds() local 186 *outBounds = subRun.vertexBounds(); in computeSubRunBounds() 246 std::unique_ptr<GrDrawOp> test_makeOp(int glyphCount, uint16_t run, uint16_t subRun, 411 SubRun& subRun = this->fSubRunInfo.back(); in setSubRunHasW() local 412 subRun.setHasWCoord(hasWCoord); in setSubRunHasW() 420 SubRun* subRun = this->pushBackSubRun(*fARGBFallbackDescriptor, fColor); in initARGBFallback() local 421 subRun->setMaskFormat(kARGB_GrMaskFormat); in initARGBFallback() 422 subRun->setFallback(); in initARGBFallback() 423 return subRun; in initARGBFallback() 458 SubRun& subRun = fSubRunInfo.back(); in setSubRunHasDistanceFields() local [all …]
|
D | GrTextBlob.cpp | 167 const SubRun& info, int glyphCount, uint16_t run, uint16_t subRun, in makeOp() argument 192 geometry.fSubRun = subRun; in makeOp() 319 for (int subRun = 0; subRun <= lastSubRun; subRun++) { in flush() local 320 const SubRun& info = run.fSubRunInfo[subRun]; in flush() 340 this->computeSubRunBounds(&subRunBounds, runIndex, subRun, viewMatrix, x, y, in flush() 354 auto op = this->makeOp(info, glyphCount, runIndex, subRun, viewMatrix, x, y, in flush() 372 int glyphCount, uint16_t run, uint16_t subRun, const SkMatrix& viewMatrix, in test_makeOp() argument 376 const GrTextBlob::SubRun& info = fRuns[run].fSubRunInfo[subRun]; in test_makeOp() 378 return this->makeOp(info, glyphCount, run, subRun, viewMatrix, x, y, emptyRect, in test_makeOp()
|
/external/skia/src/atlastext/ |
D | SkAtlasTextTarget.cpp | 236 auto subRun = fGeoData[i].fSubRunPtr; in executeForTextTarget() local 238 subRun->updateVerticesColorIfNeeded(fGeoData[i].fColor.toBytes_RGBA()); in executeForTextTarget() 239 subRun->translateVerticesIfNeeded(fGeoData[i].fDrawMatrix, fGeoData[i].fDrawOrigin); in executeForTextTarget() 242 int subRunEnd = subRun->fGlyphs.size(); in executeForTextTarget() 247 context.recordDraw(subRun->quadStart(subRunIndex), glyphsRegenerated, in executeForTextTarget()
|
/external/skia/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 359 auto subRun = args.fSubRunPtr; in onPrepareDraws() local 360 SkASSERT((int)subRun->vertexStride() == vertexStride); in onPrepareDraws() 362 subRun->updateVerticesColorIfNeeded(args.fColor.toBytes_RGBA()); in onPrepareDraws() 363 subRun->translateVerticesIfNeeded(args.fDrawMatrix, args.fDrawOrigin); in onPrepareDraws() 371 int subRunEnd = subRunBegin + (int)subRun->fGlyphs.size(); in onPrepareDraws() 390 SkTAddOffset<char>(vertices, subRun->quadOffset(quadBufferIndex)); in onPrepareDraws() 393 subRun->quadStart(subRunIndex), in onPrepareDraws() 399 subRun->quadStart(subRunIndex), in onPrepareDraws()
|
/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 646 SubRun* subRun = &fSubRunInfo.back(); in switchSubRunIfNeededAndAppendGlyph() local 647 if (fInitialized && subRun->maskFormat() != format) { in switchSubRunIfNeededAndAppendGlyph() 648 subRun = pushBackSubRun(fDescriptor, fColor); in switchSubRunIfNeededAndAppendGlyph() 649 subRun->setStrike(strike); in switchSubRunIfNeededAndAppendGlyph() 651 subRun->setStrike(strike); in switchSubRunIfNeededAndAppendGlyph() 655 subRun->setMaskFormat(format); in switchSubRunIfNeededAndAppendGlyph() 656 subRun->setNeedsTransform(needsTransform); in switchSubRunIfNeededAndAppendGlyph() 657 subRun->appendGlyph(glyph, destRect); in switchSubRunIfNeededAndAppendGlyph() 703 auto subRun = fRun->initARGBFallback(); in generateFromGlyphRunList() local 710 subRun->setStrike(strike); in generateFromGlyphRunList()
|