Searched defs:allocs (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1521 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numVtxIDs * sizeof(RsAllocation)); local 1522 rsaMeshGetVertices(con, (RsMesh)mesh, allocs, (uint32_t)numVtxIDs); 1525 _env->SetIntArrayRegion(_ids, i, 1, (const jint*)&allocs[i]); 1528 free(allocs); 1536 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numIndices * sizeof(RsAllocation)); local 1539 rsaMeshGetIndices(con, (RsMesh)mesh, allocs, prims, (uint32_t)numIndices); 1542 _env->SetIntArrayRegion(_idxIds, i, 1, (const jint*)&allocs[i]); 1546 free(allocs);
|
Completed in 67 milliseconds