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

/frameworks/rs/
H A Drs.h36 void rsaMeshGetIndexCount(RsContext, RsMesh, int32_t *idxCount);
H A DrsMesh.cpp271 RsAllocation * idx, size_t idxCount,
273 rsAssert(idxCount == primTypeCount);
274 Mesh *sm = new Mesh(rsc, vtxCount, idxCount);
281 for (uint32_t i = 0; i < idxCount; i ++) {
269 rsi_MeshCreate(Context *rsc, RsAllocation * vtx, size_t vtxCount, RsAllocation * idx, size_t idxCount, uint32_t * primType, size_t primTypeCount) argument
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java153 int idxCount = mRS.nMeshGetIndexCount(getID(mRS));
156 long[] idxIDs = new long[idxCount];
157 int[] primitives = new int[idxCount];
160 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount);
163 mIndexBuffers = new Allocation[idxCount];
164 mPrimitives = new Primitive[idxCount];
173 for(int i = 0; i < idxCount; i ++) {
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1629 jint idxCount = 0; local
1630 rsaMeshGetIndexCount((RsContext)con, (RsMesh)mesh, &idxCount);
1631 return idxCount;

Completed in 3176 milliseconds