• Home
  • Raw
  • Download

Lines Matching refs:ct

165     for (uint32_t ct = 0; ct < mHal.state.primitivesCount; ct ++) {  in render()  local
166 renderPrimitive(rsc, ct); in render()
196 for (uint32_t ct = 0; ct < mHal.state.vertexBuffersCount; ct ++) { in uploadAll() local
197 if (mHal.state.vertexBuffers[ct].get()) { in uploadAll()
198 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct].get()); in uploadAll()
202 for (uint32_t ct = 0; ct < mHal.state.primitivesCount; ct ++) { in uploadAll() local
203 if (mHal.state.primitives[ct]->mIndexBuffer.get()) { in uploadAll()
204 … rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.primitives[ct]->mIndexBuffer.get()); in uploadAll()
215 for (uint32_t ct=0; ct < mHal.state.vertexBuffersCount; ct++) { in computeBBox() local
216 const Type *bufferType = mHal.state.vertexBuffers[ct]->getType(); in computeBBox()
219 for (uint32_t ct=0; ct < bufferElem->getFieldCount(); ct++) { in computeBBox() local
220 if (strcmp(bufferElem->getFieldName(ct), "position") == 0) { in computeBBox()
221 vectorSize = bufferElem->getField(ct)->getComponent().getVectorSize(); in computeBBox()
223 uint32_t offset = bufferElem->getFieldOffsetBytes(ct); in computeBBox()
224 posPtr = (float*)((uint8_t*)mHal.state.vertexBuffers[ct]->getPtr() + offset); in computeBBox()
292 for (uint32_t ct = 0; ct < vtxDataCount; ct ++) { in rsaMeshGetVertices() local
293 vtxData[ct] = sm->mHal.state.vertexBuffers[ct].get(); in rsaMeshGetVertices()
294 sm->mHal.state.vertexBuffers[ct]->incUserRef(); in rsaMeshGetVertices()
302 for (uint32_t ct = 0; ct < idxDataCount; ct ++) { in rsaMeshGetIndices() local
303 va[ct] = sm->mHal.state.primitives[ct]->mIndexBuffer.get(); in rsaMeshGetIndices()
304 primType[ct] = sm->mHal.state.primitives[ct]->mPrimitive; in rsaMeshGetIndices()
305 if (sm->mHal.state.primitives[ct]->mIndexBuffer.get()) { in rsaMeshGetIndices()
306 sm->mHal.state.primitives[ct]->mIndexBuffer->incUserRef(); in rsaMeshGetIndices()