Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DMesh.java160 int vtxCount = mRS.nMeshGetVertexBufferCount(getID(mRS)); in updateFromNative() local
163 long[] vtxIDs = new long[vtxCount]; in updateFromNative()
167 mRS.nMeshGetVertices(getID(mRS), vtxIDs, vtxCount); in updateFromNative() local
170 mVertexBuffers = new Allocation[vtxCount]; in updateFromNative()
174 for(int i = 0; i < vtxCount; i ++) { in updateFromNative()
/frameworks/rs/
DrsMesh.cpp267 RsAllocation * vtx, size_t vtxCount, in rsi_MeshCreate() argument
271 Mesh *sm = new Mesh(rsc, vtxCount, idxCount); in rsi_MeshCreate()
274 for (uint32_t i = 0; i < vtxCount; i ++) { in rsi_MeshCreate()
Drs.h35 void rsaMeshGetVertexBufferCount(RsContext, RsMesh, int32_t* vtxCount) __DEPRECATED_IN(31);
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2707 jint vtxCount = 0; in nMeshGetVertexBufferCount() local
2708 rsaMeshGetVertexBufferCount((RsContext)con, (RsMesh)mesh, &vtxCount); in nMeshGetVertexBufferCount()
2709 return vtxCount; in nMeshGetVertexBufferCount()