Searched defs:numIndices (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2747 nMeshGetIndices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _idxIds, jintArray _primitives, jint numIndices) argument
2753 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numIndices * sizeof(RsAllocation));
2754 uint32_t *prims= (uint32_t*)malloc((uint32_t)numIndices * sizeof(uint32_t));
2756 rsaMeshGetIndices((RsContext)con, (RsMesh)mesh, allocs, prims, (uint32_t)numIndices);
2758 for(jint i = 0; i < numIndices; i ++) {

Completed in 60 milliseconds