Home
last modified time | relevance | path

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

/frameworks/base/libs/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_core.rsh70 * cell of the allocation.
86 * restrict the call to a subset of cells in the allocation.
107 * @param input The allocation to source data from
108 * @param output the allocation to write date into
112 * allocation to be processed or suggest a walking strategy. May be
136 * @param input The allocation to source data from
137 * @param output the allocation to write date into
143 * allocation to be processed or suggest a walking strategy. May be
Drs_types.rsh117 * \brief Opaque handle to a Renderscript allocation.
384 * \brief Bitfield to specify the usage types for an allocation.
387 * relevant to an allocation or an operation on an allocation.
Drs_graphics.rsh185 * Sync the contents of an allocation from its SCRIPT memory space to its HW
196 * Sync the contents of an allocation from memory space
/frameworks/base/docs/html/resources/articles/
Dtrack-mem.jd12 a view or the logic code of a game, any allocation comes at a price. After too
32 very useful tool called <em>allocation tracker</em>. This tool is part of DDMS,
34 allocation tracker, you must first launch the standalone version of DDMS, which
37 allocation tracker yet.</p>
44 can see, in the second table, the stack trace that led to the allocation. Not
57 remove all allocations for your performance critical code paths. the allocation
/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/libs/rs/
DrsAllocation.cpp41 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation()
62 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
66 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll()
84 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
101 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data()
133 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
167 rsc->mHal.funcs.allocation.elementData2D(rsc, this, x, y, data, cIdx, sizeBytes); in elementData()
258 mRSC->mHal.funcs.allocation.markDirty(rsc, this); in sendDirty()
316 rsc->mHal.funcs.allocation.resize(rsc, this, t.get(), mHal.state.hasReferences); in resize1D()
563 rsc->mHal.funcs.allocation.allocData2D(rsc, dst, dstXoff, dstYoff, dstMip, in rsi_AllocationCopy2DRange()
DrsMesh.cpp198 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct].get()); in uploadAll()
204 … rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.primitives[ct]->mIndexBuffer.get()); in uploadAll()
Drs_hal.h157 } allocation; member
/frameworks/base/docs/html/guide/topics/renderscript/
Dindex.jd21 <a href="#mem-allocation">Memory Allocation APIs</a>
148 <li>Memory allocation request features</li>
218 <h2 id="mem-allocation">Memory Allocation APIs</h2>
233 classes provide constructors and methods that set up the memory allocation for you. There are
249 <p>An element represents one cell of a memory allocation and can have two forms: Basic or
269 A type is a memory allocation template and consists of an element and one or more
276 constraints of available memory. A single dimension allocation has an X dimension of
278 example, an allocation of x=10, y=1 is considered two dimensional and x=10, y=0 is
288 <p>An allocation provides the memory for applications based on a description of the memory
298 structures. For example, if there is an allocation that is an array of n floats, the data
[all …]
Dgraphics.jd476 program. If the program has constant inputs, the user needs to bind an allocation
477 containing those inputs. The allocation's type must match the one provided during creation.
489 It is an easy way to create an instance of this struct as an allocation. You would then
506 used by the program. Like the vertex programs, when an allocation with constant input
508 Note that the values inside the allocation are not explicitly tracked. If they change
518 It is an easy way to create an instance of this struct as an allocation. You would then
/frameworks/base/docs/html/guide/developing/debugging/
Dddms.jd113 <h3>Tracking memory allocation of objects</h3>
119 If you want more granular control over where allocation data is collected, use the
123 <p>To track memory allocation of objects:</p>
125 <li>In the Devices tab, select the process that you want to enable allocation tracking
129 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/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/guide/practices/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/tests/DumpRenderTree/assets/results/
Dlayout_tests_passed.txt1549 /sdcard/android/layout_tests/fast/js/function-call-register-allocation.html