Lines Matching defs:indexBuffers
26 mHal.state.indexBuffers = NULL;
43 mHal.state.indexBuffers = new Allocation *[mHal.state.indexBuffersCount];
48 mHal.state.indexBuffers[i] = NULL;
67 delete[] mHal.state.indexBuffers;
97 if (mHal.state.indexBuffers[pCount]) {
99 mHal.state.indexBuffers[pCount]->serialize(stream);
129 ObjectBaseRef<Allocation> *indexBuffers = NULL;
132 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount];
143 indexBuffers[pCount].set(indexAlloc);
154 mesh->setPrimitive(indexBuffers[pCount].get(), primitives[pCount], pCount);
162 delete[] indexBuffers;
185 if (mHal.state.indexBuffers[primIndex]) {
186 renderPrimitiveRange(rsc, primIndex, 0, mHal.state.indexBuffers[primIndex]->getType()->getDimX());
210 if (mHal.state.indexBuffers[ct]) {
211 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]);
310 va[ct] = sm->mHal.state.indexBuffers[ct];
312 if (sm->mHal.state.indexBuffers[ct]) {
313 sm->mHal.state.indexBuffers[ct]->incUserRef();