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

/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp1362 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numVtxIDs * sizeof(RsAllocation)); local
1363 rsaMeshGetVertices(con, (RsMesh)mesh, allocs, (uint32_t)numVtxIDs);
1366 _env->SetIntArrayRegion(_ids, i, 1, (const jint*)&allocs[i]);
1369 free(allocs);
1377 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numIndices * sizeof(RsAllocation)); local
1380 rsaMeshGetIndices(con, (RsMesh)mesh, allocs, prims, (uint32_t)numIndices);
1383 _env->SetIntArrayRegion(_idxIds, i, 1, (const jint*)&allocs[i]);
1387 free(allocs);

Completed in 72 milliseconds