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.java154 int idxCount = mRS.nMeshGetIndexCount(getID(mRS));
157 long[] idxIDs = new long[idxCount];
158 int[] primitives = new int[idxCount];
161 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount);
164 mIndexBuffers = new Allocation[idxCount];
165 mPrimitives = new Primitive[idxCount];
174 for(int i = 0; i < idxCount; i ++) {
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2712 jint idxCount = 0; local
2713 rsaMeshGetIndexCount((RsContext)con, (RsMesh)mesh, &idxCount);
2714 return idxCount;

Completed in 117 milliseconds