Home
last modified time | relevance | path

Searched refs:mVertexTypes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DSimpleMesh.java27 Type[] mVertexTypes; field in SimpleMesh
49 return Allocation.createTyped(mRS, mVertexTypes[slot]); in createVertexAllocation()
58 return mVertexTypes[slot]; in getVertexType()
75 Entry[] mVertexTypes; field in SimpleMesh.Builder
84 mVertexTypes = new Entry[16]; in Builder()
89 if (mVertexTypeCount >= mVertexTypes.length) { in addVertexType()
94 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType()
95 mVertexTypes[mVertexTypeCount].t = t; in addVertexType()
101 if (mVertexTypeCount >= mVertexTypes.length) { in addVertexType()
106 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType()
[all …]
/frameworks/base/libs/rs/
DrsSimpleMesh.cpp33 delete[] mVertexTypes; in ~SimpleMesh()
49 renderRange(rsc, 0, mVertexTypes[0]->getDimX()); in render()
64 mVertexTypes[ct]->enableGLVertexBuffer2(&va); in renderRange()
71 mVertexTypes[ct]->enableGLVertexBuffer(&va); in renderRange()
127 sm->mVertexTypes = new ObjectBaseRef<const Type>[vtxCount]; in rsi_SimpleMeshCreate()
130 sm->mVertexTypes[ct].set((const Type *)vtx[ct]); in rsi_SimpleMeshCreate()
DrsSimpleMesh.h37 ObjectBaseRef<const Type> *mVertexTypes; variable