• Home
  • Raw
  • Download

Lines Matching refs:fSubRun

135         , fSubRun(&blob->fRuns[runIdx].fSubRunInfo[subRunIdx])  in VertexRegenerator()
138 fSubRun->computeTranslation(fViewMatrix, x, y, &fTransX, &fTransY); in VertexRegenerator()
148 if (fSubRun->strike()->isAbandoned()) { in VertexRegenerator()
152 if (kARGB_GrMaskFormat != fSubRun->maskFormat() && fSubRun->color() != color) { in VertexRegenerator()
166 fSubRun->resetBulkUseToken(); in doRegen()
168 const SkDescriptor* desc = fSubRun->desc(); in doRegen()
181 strike = fSubRun->refStrike(); in doRegen()
185 bool hasW = fSubRun->hasWCoord(); in doRegen()
186 auto vertexStride = GetVertexStride(fSubRun->maskFormat(), hasW); in doRegen()
187 char* currVertex = fBlob->fVertices + fSubRun->vertexStartIndex() + in doRegen()
191 for (int glyphIdx = fCurrGlyph; glyphIdx < (int)fSubRun->glyphCount(); glyphIdx++) { in doRegen()
194 size_t glyphOffset = glyphIdx + fSubRun->glyphStartIndex(); in doRegen()
204 SkASSERT(glyph && glyph->fMaskFormat == fSubRun->maskFormat()); in doRegen()
210 fLazyCache->get(), fSubRun->maskFormat(), in doRegen()
211 fSubRun->needsTransform()); in doRegen()
223 fFullAtlasManager->addGlyphToBulkAndSetUseToken(fSubRun->bulkUseToken(), glyph, in doRegen()
234 regen_texcoords(currVertex, vertexStride, glyph, fSubRun->drawAsDistanceFields()); in doRegen()
243 fSubRun->setColor(fColor); in doRegen()
246 fSubRun->setStrike(std::move(strike)); in doRegen()
248 fSubRun->setAtlasGeneration(fBrokenRun in doRegen()
250 : fFullAtlasManager->atlasGeneration(fSubRun->maskFormat())); in doRegen()
253 fFullAtlasManager->setUseTokenBulk(*fSubRun->bulkUseToken(), in doRegen()
255 fSubRun->maskFormat()); in doRegen()
261 uint64_t currentAtlasGen = fFullAtlasManager->atlasGeneration(fSubRun->maskFormat()); in regenerate()
264 if (fSubRun->atlasGeneration() != currentAtlasGen) { in regenerate()
275 bool hasW = fSubRun->hasWCoord(); in regenerate()
276 auto vertexStride = GetVertexStride(fSubRun->maskFormat(), hasW); in regenerate()
278 result->fGlyphsRegenerated = fSubRun->glyphCount() - fCurrGlyph; in regenerate()
279 result->fFirstVertex = fBlob->fVertices + fSubRun->vertexStartIndex() + in regenerate()
281 fCurrGlyph = fSubRun->glyphCount(); in regenerate()
285 fFullAtlasManager->setUseTokenBulk(*fSubRun->bulkUseToken(), in regenerate()
287 fSubRun->maskFormat()); in regenerate()