Searched refs:indexBuffers (Results 1 - 7 of 7) sorted by relevance

/frameworks/rs/
H A DrsApiMesh.cpp48 va[ct] = sm->mHal.state.indexBuffers[ct];
50 if (sm->mHal.state.indexBuffers[ct]) {
51 sm->mHal.state.indexBuffers[ct]->incUserRef();
H A DrsMesh.cpp28 mHal.state.indexBuffers = nullptr;
45 mHal.state.indexBuffers = new Allocation *[mHal.state.indexBuffersCount];
50 mHal.state.indexBuffers[i] = nullptr;
69 delete[] mHal.state.indexBuffers;
97 if (mHal.state.indexBuffers[pCount]) {
99 mHal.state.indexBuffers[pCount]->serialize(rsc, stream);
128 ObjectBaseRef<Allocation> *indexBuffers = nullptr; local
131 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount];
142 indexBuffers[pCount].set(indexAlloc);
153 mesh->setPrimitive(indexBuffers[pCoun
[all...]
H A DrsMesh.h48 // indexBuffers[i] could be nullptr, in which case only primitives[i] is used
49 Allocation **indexBuffers; member in struct:android::renderscript::Mesh::Hal::State
74 mHal.state.indexBuffers[index] = idx;
/frameworks/rs/driver/runtime/
H A Drs_mesh.c48 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]};
H A Drs_structs.h295 // indexBuffers[i] could be nullptr, in which case only primitives[i] is used
296 void **indexBuffers; member in struct:Mesh::__anon1666::__anon1667
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java357 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()];
387 indexBuffers[ct] = alloc;
397 newMesh.mIndexBuffers = indexBuffers;
518 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()];
531 indexBuffers[ct] = entry.a;
541 newMesh.mIndexBuffers = indexBuffers;
/frameworks/rs/driver/
H A DrsdMeshObj.cpp161 const Allocation *idxAlloc = mRSMesh->mHal.state.indexBuffers[primIndex];

Completed in 113 milliseconds