Searched refs:idxCount (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/rs/java/android/renderscript/ |
D | Mesh.java | 159 int idxCount = mRS.nMeshGetIndexCount(getID(mRS)); in updateFromNative() local 162 long[] idxIDs = new long[idxCount]; in updateFromNative() 163 int[] primitives = new int[idxCount]; in updateFromNative() 166 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative() local 169 mIndexBuffers = new Allocation[idxCount]; in updateFromNative() 170 mPrimitives = new Primitive[idxCount]; in updateFromNative() 179 for(int i = 0; i < idxCount; i ++) { in updateFromNative()
|
/frameworks/rs/ |
D | rsMesh.cpp | 268 RsAllocation * idx, size_t idxCount, in rsi_MeshCreate() argument 270 rsAssert(idxCount == primTypeCount); in rsi_MeshCreate() 271 Mesh *sm = new Mesh(rsc, vtxCount, idxCount); in rsi_MeshCreate() 278 for (uint32_t i = 0; i < idxCount; i ++) { in rsi_MeshCreate()
|
D | rs.h | 37 void rsaMeshGetIndexCount(RsContext, RsMesh, int32_t *idxCount);
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 2719 jint idxCount = 0; in nMeshGetIndexCount() local 2720 rsaMeshGetIndexCount((RsContext)con, (RsMesh)mesh, &idxCount); in nMeshGetIndexCount() 2721 return idxCount; in nMeshGetIndexCount()
|