Lines Matching refs:indexCount
178 int indexCount, uint16_t* indices) {
179 if (vertexCount == 0 || indexCount == 0) {
194 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
199 memcpy(idxs, indices, indexCount * sizeof(uint16_t));
201 mesh->setIndexed(std::move(indexBuffer), indexCount, firstIndex, 0, vertexCount - 1,
218 int64_t indexCount = 0;
236 this->recordDraw(target, vertexCount, vertexStride, vertices, indexCount, indices);
238 indexCount = 0;
250 if (indexCount + currentIndices > maxIndices) {
251 maxIndices = std::max(indexCount + currentIndices, maxIndices * 2);
271 indices + indexCount);
273 indexCount += currentIndices;
275 if (vertexCount <= SK_MaxS32 && indexCount <= SK_MaxS32) {
276 this->recordDraw(target, vertexCount, vertexStride, vertices, indexCount, indices);