Lines Matching full:primitivescount
27 mHal.state.primitivesCount = 0;
40 uint32_t primitivesCount) : ObjectBase(rsc) {
42 mHal.state.primitivesCount = primitivesCount;
43 mHal.state.indexBuffersCount = primitivesCount;
44 mHal.state.primitives = new RsPrimitive[mHal.state.primitivesCount];
46 for (uint32_t i = 0; i < mHal.state.primitivesCount; i ++) {
59 mIndexBuffers = new ObjectBaseRef<Allocation>[mHal.state.primitivesCount];
92 stream->addU32(mHal.state.primitivesCount);
94 for (uint32_t pCount = 0; pCount < mHal.state.primitivesCount; pCount ++) {
127 uint32_t primitivesCount = stream->loadU32();
130 if (primitivesCount) {
131 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount];
132 primitives = new RsPrimitive[primitivesCount];
135 for (uint32_t pCount = 0; pCount < primitivesCount; pCount ++) {
147 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount);
152 for (uint32_t pCount = 0; pCount < primitivesCount; pCount ++) {
160 if (primitivesCount) {
173 for (uint32_t ct = 0; ct < mHal.state.primitivesCount; ct ++) {
179 if (primIndex >= mHal.state.primitivesCount) {
193 if (len < 1 || primIndex >= mHal.state.primitivesCount) {
208 for (uint32_t ct = 0; ct < mHal.state.primitivesCount; ct ++) {
299 *numIdx = sm->mHal.state.primitivesCount;
314 rsAssert(idxDataCount == sm->mHal.state.primitivesCount);