Home
last modified time | relevance | path

Searched refs:posAlloc (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java306 Allocation posAlloc = Allocation.createSized(rs, Element.F32_4(rs), SWARM_SIZE); in doInBackground() local
325 nbody.set_positions(posAlloc); in doInBackground()
336 nbody.forEach_fill_pos(posAlloc); in doInBackground()
355 nbody.forEach_simulate1(posAlloc, posAlloc); in doInBackground()
357 nbody.forEach_simulate2(posAlloc, posAlloc); in doInBackground()
372 posAlloc.destroy(); in doInBackground()
/frameworks/rs/
DrsMesh.cpp220 Allocation *posAlloc = nullptr; in computeBBox() local
231 posAlloc = mHal.state.vertexBuffers[ct]; in computeBBox()
233 rsc, posAlloc); in computeBBox()
261 if (posAlloc) { in computeBBox()
262 rsc->mHal.funcs.allocation.unlock1D(rsc, posAlloc); in computeBBox()