Lines Matching refs:indexCount
199 size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const { in recordDraw() argument
200 if (vertexCount == 0 || indexCount == 0) { in recordDraw()
215 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in recordDraw()
220 memcpy(idxs, indices, indexCount * sizeof(uint16_t)); in recordDraw()
222 mesh->setIndexed(std::move(indexBuffer), indexCount, firstIndex, 0, vertexCount - 1, in recordDraw()
244 int64_t indexCount = 0; in onPrepareDraws() local
263 target, gp, vertexCount, vertexStride, vertices, indexCount, indices); in onPrepareDraws()
265 indexCount = 0; in onPrepareDraws()
277 if (indexCount + currentIndices > maxIndices) { in onPrepareDraws()
278 maxIndices = SkTMax(indexCount + currentIndices, maxIndices * 2); in onPrepareDraws()
289 indices + indexCount); in onPrepareDraws()
291 indexCount += currentIndices; in onPrepareDraws()
293 if (vertexCount <= SK_MaxS32 && indexCount <= SK_MaxS32) { in onPrepareDraws()
294 this->recordDraw(target, std::move(gp), vertexCount, vertexStride, vertices, indexCount, in onPrepareDraws()