Lines Matching refs:indexCount
200 size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const { in recordDraw() argument
201 if (vertexCount == 0 || indexCount == 0) { in recordDraw()
216 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in recordDraw()
221 memcpy(idxs, indices, indexCount * sizeof(uint16_t)); in recordDraw()
223 mesh->setIndexed(std::move(indexBuffer), indexCount, firstIndex, 0, vertexCount - 1, in recordDraw()
245 int64_t indexCount = 0; in onPrepareDraws() local
264 target, gp, vertexCount, vertexStride, vertices, indexCount, indices); in onPrepareDraws()
266 indexCount = 0; in onPrepareDraws()
278 if (indexCount + currentIndices > maxIndices) { in onPrepareDraws()
279 maxIndices = SkTMax(indexCount + currentIndices, maxIndices * 2); in onPrepareDraws()
290 indices + indexCount); in onPrepareDraws()
292 indexCount += currentIndices; in onPrepareDraws()
294 if (vertexCount <= SK_MaxS32 && indexCount <= SK_MaxS32) { in onPrepareDraws()
295 this->recordDraw(target, std::move(gp), vertexCount, vertexStride, vertices, indexCount, in onPrepareDraws()