Lines Matching refs:indexCount

30     Sizes(SkVertices::VertexMode mode, int vertexCount, int indexCount, bool hasTexs,  in Sizes()
41 fISize = safe.mul(indexCount, sizeof(uint16_t)); in Sizes()
44 if (indexCount) { in Sizes()
46 numFanTris = indexCount - 2; in Sizes()
94 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, in Builder() argument
100 this->init(mode, vertexCount, indexCount, isVolatile, in Builder()
101 SkVertices::Sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones)); in Builder()
104 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, bool isVolatile, in Builder() argument
106 this->init(mode, vertexCount, indexCount, isVolatile, sizes); in Builder()
109 void SkVertices::Builder::init(VertexMode mode, int vertexCount, int indexCount, bool isVolatile, in init() argument
132 fVertices->fIndexCnt = indexCount; in init()
173 int SkVertices::Builder::indexCount() const { in indexCount() function in SkVertices::Builder
174 return fVertices ? fVertices->indexCount() : 0; in indexCount()
235 this->indexCount(), in applyBones()
281 int indexCount, const uint16_t indices[], in MakeCopy() argument
286 indexCount, in MakeCopy()
294 Builder builder(mode, vertexCount, indexCount, isVolatile, sizes); in MakeCopy()
387 const int indexCount = safe.checkGE(reader.readInt(), 0); in Decode() local
397 Sizes sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones); in Decode()
406 Builder builder(mode, vertexCount, indexCount, isVolatile, sizes); in Decode()
415 if (indexCount > 0) { in Decode()
417 SkASSERT(indexCount == builder.indexCount()); in Decode()
419 for (int i = 0; i < indexCount; ++i) { in Decode()