Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/renderscript/
DMesh.java141 int idxCount = mRS.nMeshGetIndexCount(getID()); in updateFromNative() local
144 int[] idxIDs = new int[idxCount]; in updateFromNative()
145 int[] primitives = new int[idxCount]; in updateFromNative()
148 mRS.nMeshGetIndices(getID(), idxIDs, primitives, idxCount); in updateFromNative() local
151 mIndexBuffers = new Allocation[idxCount]; in updateFromNative()
152 mPrimitives = new Primitive[idxCount]; in updateFromNative()
161 for(int i = 0; i < idxCount; i ++) { in updateFromNative()
/frameworks/base/libs/rs/
DrsMesh.cpp257 RsAllocation * idx, size_t idxCount, in rsi_MeshCreate() argument
259 rsAssert(idxCount == primTypeCount); in rsi_MeshCreate()
260 Mesh *sm = new Mesh(rsc, vtxCount, idxCount); in rsi_MeshCreate()
267 for (uint32_t i = 0; i < idxCount; i ++) { in rsi_MeshCreate()
DRenderScript.h41 void rsaMeshGetIndexCount(RsContext, RsMesh, int32_t *idxCount);
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp1155 jint idxCount = 0; in nMeshGetIndexCount() local
1156 rsaMeshGetIndexCount(con, (RsMesh)mesh, &idxCount); in nMeshGetIndexCount()
1157 return idxCount; in nMeshGetIndexCount()