Searched refs:numIndices (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1651 nMeshGetIndices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _idxIds, jintArray _primitives, jint numIndices) argument 1655 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numIndices * sizeof(RsAllocation)); 1656 uint32_t *prims= (uint32_t*)malloc((uint32_t)numIndices * sizeof(uint32_t)); 1658 rsaMeshGetIndices((RsContext)con, (RsMesh)mesh, allocs, prims, (uint32_t)numIndices); 1660 for(jint i = 0; i < numIndices; i ++) {
|
Completed in 23 milliseconds