Home
last modified time | relevance | path

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

/frameworks/rs/
DrsMesh.cpp28 mHal.state.indexBuffers = NULL; in Mesh()
45 mHal.state.indexBuffers = new Allocation *[mHal.state.indexBuffersCount]; in Mesh()
50 mHal.state.indexBuffers[i] = NULL; in Mesh()
69 delete[] mHal.state.indexBuffers; in ~Mesh()
99 if (mHal.state.indexBuffers[pCount]) { in serialize()
101 mHal.state.indexBuffers[pCount]->serialize(rsc, stream); in serialize()
131 ObjectBaseRef<Allocation> *indexBuffers = NULL; in createFromStream() local
134 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount]; in createFromStream()
145 indexBuffers[pCount].set(indexAlloc); in createFromStream()
156 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/graphics/java/android/renderscript/
DMesh.java358 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()]; in create() local
382 indexBuffers[ct] = alloc; in create()
392 newMesh.mIndexBuffers = indexBuffers; in create()
513 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()]; in create() local
526 indexBuffers[ct] = entry.a; in create()
536 newMesh.mIndexBuffers = indexBuffers; in create()
/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_mesh.c44 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]}; in rsgMeshGetIndexAllocation()
Drs_structs.h255 void **indexBuffers; member
/frameworks/rs/driver/
DrsdMeshObj.cpp161 const Allocation *idxAlloc = mRSMesh->mHal.state.indexBuffers[primIndex]; in renderPrimitiveRange()