Lines Matching refs:indexCount
163 size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const { in draw() argument
164 if (vertexCount == 0 || indexCount == 0) { in draw()
180 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in draw()
185 memcpy(idxs, indices, indexCount * sizeof(uint16_t)); in draw()
187 firstIndex, vertexCount, indexCount); in draw()
215 int indexCount = 0; in onPrepareDraws() local
230 if (indexCount + currentIndices > UINT16_MAX) { in onPrepareDraws()
234 indexCount, indices); in onPrepareDraws()
236 indexCount = 0; in onPrepareDraws()
243 if (indexCount + currentIndices > maxIndices) { in onPrepareDraws()
244 maxIndices = SkTMax(indexCount + currentIndices, maxIndices * 2); in onPrepareDraws()
249 vertexCount, indices + indexCount, canTweakAlphaForCoverage); in onPrepareDraws()
251 indexCount += currentIndices; in onPrepareDraws()
253 this->draw(target, this->pipeline(), vertexCount, vertexStride, vertices, indexCount, in onPrepareDraws()