Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/renderscript/
DMesh.java154 int idxCount = mRS.nMeshGetIndexCount(getID(mRS)); in updateFromNative() local
157 int[] idxIDs = new int[idxCount]; in updateFromNative()
158 int[] primitives = new int[idxCount]; in updateFromNative()
161 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative() local
164 mIndexBuffers = new Allocation[idxCount]; in updateFromNative()
165 mPrimitives = new Primitive[idxCount]; in updateFromNative()
174 for(int i = 0; i < idxCount; i ++) { in updateFromNative()
/frameworks/rs/
DrsMesh.cpp274 RsAllocation * idx, size_t idxCount, in rsi_MeshCreate() argument
276 rsAssert(idxCount == primTypeCount); in rsi_MeshCreate()
277 Mesh *sm = new Mesh(rsc, vtxCount, idxCount); in rsi_MeshCreate()
284 for (uint32_t i = 0; i < idxCount; i ++) { in rsi_MeshCreate()
Drs.h38 void rsaMeshGetIndexCount(RsContext, RsMesh, int32_t *idxCount);
/frameworks/support/renderscript/v8/rs_support/
Drs.h38 void rsaMeshGetIndexCount(RsContext, RsMesh, int32_t *idxCount);
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp1352 jint idxCount = 0; in nMeshGetIndexCount() local
1353 rsaMeshGetIndexCount(con, (RsMesh)mesh, &idxCount); in nMeshGetIndexCount()
1354 return idxCount; in nMeshGetIndexCount()