Lines Matching refs:ct
173 for (uint32_t ct = 0; ct < mHal.state.primitivesCount; ct ++) {
174 renderPrimitive(rsc, ct);
202 for (uint32_t ct = 0; ct < mHal.state.vertexBuffersCount; ct ++) {
203 if (mHal.state.vertexBuffers[ct]) {
204 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]);
208 for (uint32_t ct = 0; ct < mHal.state.primitivesCount; ct ++) {
209 if (mHal.state.indexBuffers[ct]) {
210 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]);
222 for (uint32_t ct=0; ct < mHal.state.vertexBuffersCount; ct++) {
223 const Type *bufferType = mHal.state.vertexBuffers[ct]->getType();
226 for (uint32_t ct=0; ct < bufferElem->getFieldCount(); ct++) {
227 if (strcmp(bufferElem->getFieldName(ct), "position") == 0) {
228 vectorSize = bufferElem->getField(ct)->getComponent().getVectorSize();
230 uint32_t offset = bufferElem->getFieldOffsetBytes(ct);
231 posAlloc = mHal.state.vertexBuffers[ct];
306 for (uint32_t ct = 0; ct < vtxDataCount; ct ++) {
307 vtxData[ct] = sm->mHal.state.vertexBuffers[ct];
308 sm->mHal.state.vertexBuffers[ct]->incUserRef();
316 for (uint32_t ct = 0; ct < idxDataCount; ct ++) {
317 va[ct] = sm->mHal.state.indexBuffers[ct];
318 primType[ct] = sm->mHal.state.primitives[ct];
319 if (sm->mHal.state.indexBuffers[ct]) {
320 sm->mHal.state.indexBuffers[ct]->incUserRef();