Lines Matching refs:fSubRun
147 , fSubRun(&blob->fRuns[runIdx].fSubRunInfo[subRunIdx]) in VertexRegenerator()
150 fSubRun->computeTranslation(fViewMatrix, x, y, &fTransX, &fTransY); in VertexRegenerator()
160 if (fSubRun->strike()->isAbandoned()) { in VertexRegenerator()
164 if (kARGB_GrMaskFormat != fSubRun->maskFormat() && fSubRun->color() != color) { in VertexRegenerator()
180 fSubRun->resetBulkUseToken(); in doRegen()
182 const SkStrikeSpec& strikeSpec = fSubRun->strikeSpec(); in doRegen()
192 strike = fSubRun->refStrike(); in doRegen()
196 bool hasW = fSubRun->hasWCoord(); in doRegen()
197 auto vertexStride = GetVertexStride(fSubRun->maskFormat(), hasW); in doRegen()
198 char* currVertex = fBlob->fVertices + fSubRun->vertexStartIndex() + in doRegen()
202 for (int glyphIdx = fCurrGlyph; glyphIdx < (int)fSubRun->glyphCount(); glyphIdx++) { in doRegen()
205 size_t glyphOffset = glyphIdx + fSubRun->glyphStartIndex(); in doRegen()
215 SkASSERT(glyph && glyph->fMaskFormat == fSubRun->maskFormat()); in doRegen()
222 fLazyStrike->get(), fSubRun->maskFormat(), in doRegen()
223 fSubRun->needsTransform()); in doRegen()
237 fFullAtlasManager->addGlyphToBulkAndSetUseToken(fSubRun->bulkUseToken(), glyph, in doRegen()
248 regen_texcoords(currVertex, vertexStride, glyph, fSubRun->drawAsDistanceFields()); in doRegen()
257 fSubRun->setColor(fColor); in doRegen()
260 fSubRun->setStrike(std::move(strike)); in doRegen()
262 fSubRun->setAtlasGeneration(fBrokenRun in doRegen()
264 : fFullAtlasManager->atlasGeneration(fSubRun->maskFormat())); in doRegen()
267 fFullAtlasManager->setUseTokenBulk(*fSubRun->bulkUseToken(), in doRegen()
269 fSubRun->maskFormat()); in doRegen()
275 uint64_t currentAtlasGen = fFullAtlasManager->atlasGeneration(fSubRun->maskFormat()); in regenerate()
278 if (fSubRun->atlasGeneration() != currentAtlasGen) { in regenerate()
289 bool hasW = fSubRun->hasWCoord(); in regenerate()
290 auto vertexStride = GetVertexStride(fSubRun->maskFormat(), hasW); in regenerate()
292 result->fGlyphsRegenerated = fSubRun->glyphCount() - fCurrGlyph; in regenerate()
293 result->fFirstVertex = fBlob->fVertices + fSubRun->vertexStartIndex() + in regenerate()
295 fCurrGlyph = fSubRun->glyphCount(); in regenerate()
299 fFullAtlasManager->setUseTokenBulk(*fSubRun->bulkUseToken(), in regenerate()
301 fSubRun->maskFormat()); in regenerate()