Home
last modified time | relevance | path

Searched refs:vertexBuffers (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/rs/
DrsMesh.cpp26 mHal.state.vertexBuffers = NULL; in Mesh()
41 mHal.state.vertexBuffers = new ObjectBaseRef<Allocation>[mHal.state.vertexBuffersCount]; in Mesh()
49 if (mHal.state.vertexBuffers) { in ~Mesh()
50 delete[] mHal.state.vertexBuffers; in ~Mesh()
78 mHal.state.vertexBuffers[vCount]->serialize(stream); in serialize()
109 ObjectBaseRef<Allocation> *vertexBuffers = NULL; in createFromStream() local
111 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount]; in createFromStream()
115 vertexBuffers[vCount].set(vertexAlloc); in createFromStream()
142 mesh->setVertexBuffer(vertexBuffers[vCount].get(), vCount); in createFromStream()
150 delete[] vertexBuffers; in createFromStream()
[all …]
DrsMesh.h54 ObjectBaseRef<Allocation> *vertexBuffers; member
65 mHal.state.vertexBuffers[index].set(vb); in setVertexBuffer()
/frameworks/base/libs/rs/driver/
DrsdMeshObj.cpp83 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init()
106 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init()
141 const Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[ct].get(); in renderPrimitiveRange()
151 Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[allocIndex].get(); in renderPrimitiveRange()
/frameworks/base/graphics/java/android/renderscript/
DMesh.java333 Allocation[] vertexBuffers = new Allocation[mVertexTypeCount]; in create() local
345 vertexBuffers[ct] = alloc; in create()
367 newMesh.mVertexBuffers = vertexBuffers; in create()
481 Allocation[] vertexBuffers = new Allocation[mVertexTypeCount]; in create() local
485 vertexBuffers[ct] = entry.a; in create()
501 newMesh.mVertexBuffers = vertexBuffers; in create()