Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/rs/scriptc/
Drs_allocation.rsh28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
35 * Query the dimension of an allocation.
37 * @return uint32_t The X dimension of the allocation.
43 * Query the dimension of an allocation.
45 * @return uint32_t The Y dimension of the allocation.
51 * Query the dimension of an allocation.
53 * @return uint32_t The Z dimension of the allocation.
59 * Query an allocation for the presence of more than one LOD.
67 * Query an allocation for the presence of more than one face.
[all …]
Drs_mesh.rsh53 * Returns an allocation that is part of the mesh and contains
57 * @param index index of the vertex allocation
58 * @return allocation containing vertex data
64 * Returns an allocation containing index data or a null
65 * allocation if only the primitive is specified
68 * @param index index of the index allocation
69 * @return allocation containing index data
Drs_core.rsh95 * cell of the allocation.
111 * restrict the call to a subset of cells in the allocation.
132 * @param input The allocation to source data from
133 * @param output the allocation to write date into
137 * allocation to be processed or suggest a walking strategy. May be
161 * @param input The allocation to source data from
162 * @param output the allocation to write date into
168 * allocation to be processed or suggest a walking strategy. May be
Drs_types.rsh117 * \brief Opaque handle to a Renderscript allocation.
390 * \brief Bitfield to specify the usage types for an allocation.
393 * relevant to an allocation or an operation on an allocation.
Drs_graphics.rsh210 * Sync the contents of an allocation from its SCRIPT memory space to its HW
221 * Sync the contents of an allocation from memory space
/frameworks/rs/
DrsAllocation.cpp45 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation()
68 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
72 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll()
90 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
107 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data()
140 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
174 rsc->mHal.funcs.allocation.elementData2D(rsc, this, x, y, data, cIdx, sizeBytes); in elementData()
355 mRSC->mHal.funcs.allocation.markDirty(rsc, this); in sendDirty()
395 rsc->mHal.funcs.allocation.resize(rsc, this, t.get(), mHal.state.hasReferences); in resize1D()
405 int32_t id = rsc->mHal.funcs.allocation.initSurfaceTexture(rsc, this); in getSurfaceTextureID()
[all …]
DrsMesh.cpp207 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]); in uploadAll()
213 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]); in uploadAll()
Drs_hal.h172 } allocation; member
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselRS.java652 Allocation allocation = Allocation.createFromBitmap(mRS, bitmap, in allocationFromBitmap()
654 return allocation; in allocationFromBitmap()
668 Allocation allocation = mAllocationPool[n % count]; in allocationFromPool() local
669 if (allocation == null) { in allocationFromPool()
670 allocation = allocationFromBitmap(bitmap, mipmap); in allocationFromPool()
671 mAllocationPool[n % count] = allocation; in allocationFromPool()
673 if (bitmap.getWidth() == allocation.getType().getX() in allocationFromPool()
674 && bitmap.getHeight() == allocation.getType().getY()) { in allocationFromPool()
675 allocation.copyFrom(bitmap); in allocationFromPool()
678 allocation = allocationFromBitmap(bitmap, mipmap); in allocationFromPool()
[all …]
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd23 <a href="#mem-allocation">Memory Allocation APIs</a>
73 <li>Memory allocation request features</li>
341 lets you specify the memory space of this memory allocation. There are four memory space
447 <h2 id="mem-allocation">Memory Allocation APIs</h2>
457 for more information on how memory allocation occurs.
460 <p>To support this memory allocation system, there are a set of APIs that allow the Android VM to
462 essentially describe how memory should be allocated and also carry out the allocation. To better
473 of the <code>malloc</code> call and encapsulates one cell of a memory allocation, such as a single
477 …memory allocation based on a given {@link android.renderscript.Type} and represents the actual all…
479 …<p>In most situations, you do not need to call these memory allocation APIs directly. The reflecte…
[all …]
Dcompute.jd228 Renderscript, and any optional user-defined data. The output allocation will contain the output
302 The output allocation will contain the output of the Renderscript.</li>
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
DBallsRS.java71 final Allocation allocation = in loadTexture() local
75 return allocation; in loadTexture()
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rs20 rs_allocation allocation;
/frameworks/base/docs/html/guide/topics/graphics/renderscript/
Dgraphics.jd80 such as shader and mesh building and memory allocation and binding. The SDK samples follow the
649 program. If the program has constant inputs, the user needs to bind an allocation
650 containing those inputs. The allocation's type must match the one provided during creation.
664 …It is an easy way to create an instance of this <code>struct</code> as an allocation. You would th…
700 …It is an easy way to create an instance of this <code>struct</code> as an allocation. You would th…
828 object. For the color buffer allocation, you most likely need to declare the {@link
834 allocation. If applicable, call <code>rsgBindDepthTarget()</code> passing in the depth buffer
835 allocation as well.</li>
861 //allocation for color buffer
959 /* Create the allocation for the color buffer */
[all …]
/frameworks/base/docs/html/tools/debugging/
Dddms.jd17 <li><a href="#alloc">Tracking memory allocation of objects</a></li>
125 <h3 id="alloc">Tracking memory allocation of objects</h3>
133 <p>To track memory allocation of objects:</p>
135 <li>In the Devices tab, select the process that you want to enable allocation tracking
139 allocation tracking. At this point, anything you do in your application will be tracked.</li>
Ddebugging-projects.jd59 <li>Allocation Tracker - Shows the memory allocation of objects.</li>
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd58 avoids memory allocation, returning {@code null} for the bitmap object but setting {@link
62 dimensions and type of the image data prior to construction (and memory allocation) of the
/frameworks/compile/slang/
DREADME.rst232 // Copying all Item array to byte array (i.e., memory allocation).
319 structure. Binding an allocation in Java effectively sets the
321 runtime that the script will not modify the contents of an allocation.
/frameworks/base/docs/html/training/custom-views/
Doptimizing-view.jd52 allocation while an
/frameworks/base/docs/html/guide/practices/
Dperformance.jd87 <p>Object creation is never free. A generational GC with per-thread allocation
88 pools for temporary objects can make allocation cheaper, but allocating memory
Djni.jd218 <code>GetStringUTFChars</code> requires an allocation and a conversion to
/frameworks/base/docs/html/guide/practices/app-design/
Dperformance.jd87 <p>Object creation is never free. A generational GC with per-thread allocation
88 pools for temporary objects can make allocation cheaper, but allocating memory
Djni.jd218 <code>GetStringUTFChars</code> requires an allocation and a conversion to
/frameworks/base/docs/html/guide/topics/ui/
Dui-events.jd107 This will avoid the extra class load and object allocation. For example:</p>
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd564 <li>Support for reading from allocation with filtered samplers from compute in a new script API

12