Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DMesh.java152 int vtxCount = mRS.nMeshGetVertexBufferCount(getID(mRS)); in updateFromNative() local
155 long[] vtxIDs = new long[vtxCount]; in updateFromNative()
159 mRS.nMeshGetVertices(getID(mRS), vtxIDs, vtxCount); in updateFromNative() local
162 mVertexBuffers = new Allocation[vtxCount]; in updateFromNative()
166 for(int i = 0; i < vtxCount; i ++) { in updateFromNative()
/frameworks/rs/
DrsMesh.cpp270 RsAllocation * vtx, size_t vtxCount, in rsi_MeshCreate() argument
274 Mesh *sm = new Mesh(rsc, vtxCount, idxCount); in rsi_MeshCreate()
277 for (uint32_t i = 0; i < vtxCount; i ++) { in rsi_MeshCreate()
Drs.h35 void rsaMeshGetVertexBufferCount(RsContext, RsMesh, int32_t *vtxCount);
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1620 jint vtxCount = 0; in nMeshGetVertexBufferCount() local
1621 rsaMeshGetVertexBufferCount((RsContext)con, (RsMesh)mesh, &vtxCount); in nMeshGetVertexBufferCount()
1622 return vtxCount; in nMeshGetVertexBufferCount()