Home
last modified time | relevance | path

Searched refs:indexBuffers (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/
DrsMesh.cpp28 mHal.state.indexBuffers = nullptr; in Mesh()
45 mHal.state.indexBuffers = new Allocation *[mHal.state.indexBuffersCount]; in Mesh()
50 mHal.state.indexBuffers[i] = nullptr; in Mesh()
69 delete[] mHal.state.indexBuffers; in ~Mesh()
97 if (mHal.state.indexBuffers[pCount]) { in serialize()
99 mHal.state.indexBuffers[pCount]->serialize(rsc, stream); in serialize()
128 ObjectBaseRef<Allocation> *indexBuffers = nullptr; in createFromStream() local
131 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount]; in createFromStream()
142 indexBuffers[pCount].set(indexAlloc); in createFromStream()
153 mesh->setPrimitive(indexBuffers[pCount].get(), primitives[pCount], pCount); in createFromStream()
[all …]
DrsMesh.h49 Allocation **indexBuffers; member
74 mHal.state.indexBuffers[index] = idx; in setPrimitive()
/frameworks/base/rs/java/android/renderscript/
DMesh.java356 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()]; in create() local
386 indexBuffers[ct] = alloc; in create()
396 newMesh.mIndexBuffers = indexBuffers; in create()
517 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()]; in create() local
530 indexBuffers[ct] = entry.a; in create()
540 newMesh.mIndexBuffers = indexBuffers; in create()
/frameworks/rs/driver/runtime/
Drs_mesh.c46 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]}; in rsgMeshGetIndexAllocation()
Drs_structs.h296 void **indexBuffers; member
/frameworks/rs/driver/
DrsdMeshObj.cpp161 const Allocation *idxAlloc = mRSMesh->mHal.state.indexBuffers[primIndex]; in renderPrimitiveRange()