Home
last modified time | relevance | path

Searched refs:subRun (Results 1 - 6 of 6) sorted by relevance

/third_party/skia/bench/
H A DGlyphQuadFillBench.cpp57 GrAtlasSubRun* subRun = fBlob->subRunList().front().testingOnly_atlasSubRun(); variable
58 SkASSERT(subRun); variable
59 subRun->testingOnly_packedGlyphIDToGrGlyph(&fCache);
60 fVertices.reset(new char[subRun->vertexStride(drawMatrix) * subRun->glyphCount() * 4]);
64 GrAtlasSubRun* subRun = fBlob->subRunList().front().testingOnly_atlasSubRun(); variable
65 SkASSERT(subRun); variable
73 subRun->fillVertexData(fVertices.get(), 0, subRun->glyphCount(),
/third_party/skia/src/gpu/text/
H A DGrTextBlob.h83 GrAtlasSubRunOwner subRun) const = 0;
112 // Produce GPU ops for this subRun.
119 // Given an already cached subRun, can this subRun handle this combination paint, matrix, and
138 Iterator(GrSubRun* subRun) : fPtr{subRun} { } in Iterator() argument
149 void append(GrSubRunOwner subRun) { in append()
150 GrSubRunOwner* newTail = &subRun->fNext; in append()
151 *fTail = std::move(subRun); in append()
282 // subRun ca
[all...]
H A DGrTextBlob.cpp1573 for (const GrSubRun& subRun : fSubRunList) { in canReuse()
1574 if (!subRun.canReuse(paint, drawMatrix)) { in canReuse()
1596 GrSubRunOwner subRun = addSingle( in addMultiMaskFormat()
1598 if (subRun != nullptr) { in addMultiMaskFormat()
1599 fSubRunList.append(std::move(subRun)); in addMultiMaskFormat()
2458 void GrSubRunNoCachePainter::draw(GrAtlasSubRunOwner subRun) { in draw() argument
2459 if (subRun == nullptr) { in draw()
2462 GrAtlasSubRun* subRunPtr = subRun.get(); in draw()
2464 fClip, fViewMatrix, fGlyphRunList.origin(), fPaint, fSDC, std::move(subRun)); in draw()
/third_party/skia/src/gpu/ops/
H A DAtlasTextOp.cpp106 auto AtlasTextOp::Geometry::MakeForBlob(const GrAtlasSubRun& subRun,
116 return new(geo) Geometry{subRun,
282 const GrAtlasSubRun& subRun = geo->fSubRun; in onPrepareDraws() local
283 SkASSERTF((int) subRun.vertexStride(geo->fDrawMatrix) == vertexStride, in onPrepareDraws()
284 "subRun stride: %d vertex buffer stride: %d\n", in onPrepareDraws()
285 (int)subRun.vertexStride(geo->fDrawMatrix), vertexStride); in onPrepareDraws()
287 const int subRunEnd = subRun.glyphCount(); in onPrepareDraws()
292 auto[ok, glyphsRegenerated] = subRun.regenerateAtlas(subRunCursor, regenEnd, target); in onPrepareDraws()
516 GrAtlasSubRun* subRun = blob->subRunList().front().testingOnly_atlasSubRun(); in CreateOpTestingOnly() local
517 SkASSERT(subRun); in CreateOpTestingOnly()
[all...]
H A DAtlasTextOp.h39 Geometry(const GrAtlasSubRun& subRun, in Geometry()
46 : fSubRun{subRun} in Geometry()
57 static Geometry* MakeForBlob(const GrAtlasSubRun& subRun,
/third_party/skia/src/gpu/v1/
H A DSurfaceDrawContext.cpp393 for (const GrSubRun& subRun : blob->subRunList()) { in drawGlyphRunListWithCache()
394 subRun.draw(clip, viewMatrix, glyphRunList, paint, this); in drawGlyphRunListWithCache()

Completed in 19 milliseconds