Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DMesh.java153 int vtxCount = mRS.nMeshGetVertexBufferCount(getID(mRS)); in updateFromNative() local
156 long[] vtxIDs = new long[vtxCount]; in updateFromNative()
160 mRS.nMeshGetVertices(getID(mRS), vtxIDs, vtxCount); in updateFromNative() local
163 mVertexBuffers = new Allocation[vtxCount]; in updateFromNative()
167 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);
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2704 jint vtxCount = 0; in nMeshGetVertexBufferCount() local
2705 rsaMeshGetVertexBufferCount((RsContext)con, (RsMesh)mesh, &vtxCount); in nMeshGetVertexBufferCount()
2706 return vtxCount; in nMeshGetVertexBufferCount()