Home
last modified time | relevance | path

Searched refs:indexBuffers (Results 1 – 7 of 7) 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 …]
DrsApiMesh.cpp47 va[ct] = sm->mHal.state.indexBuffers[ct]; in rsaMeshGetIndices()
49 if (sm->mHal.state.indexBuffers[ct]) { in rsaMeshGetIndices()
50 sm->mHal.state.indexBuffers[ct]->incUserRef(); in rsaMeshGetIndices()
DrsMesh.h49 Allocation **indexBuffers; member
74 mHal.state.indexBuffers[index] = idx; in setPrimitive()
/frameworks/base/rs/java/android/renderscript/
DMesh.java364 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()]; in create() local
394 indexBuffers[ct] = alloc; in create()
404 newMesh.mIndexBuffers = indexBuffers; in create()
530 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()]; in create() local
543 indexBuffers[ct] = entry.a; in create()
553 newMesh.mIndexBuffers = indexBuffers; in create()
/frameworks/rs/driver/runtime/
Drs_mesh.c48 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]}; in rsgMeshGetIndexAllocation()
Drs_structs.h296 void **indexBuffers; member
/frameworks/rs/driver/
DrsdMeshObj.cpp165 const Allocation *idxAlloc = mRSMesh->mHal.state.indexBuffers[primIndex]; in renderPrimitiveRange()