/frameworks/rs/scriptc/ |
D | rs_allocation.rsh | 28 * 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 …]
|
D | rs_mesh.rsh | 53 * 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
|
D | rs_core.rsh | 95 * 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
|
D | rs_types.rsh | 117 * \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.
|
D | rs_graphics.rsh | 210 * 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/ |
D | rsAllocation.cpp | 45 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 …]
|
D | rsMesh.cpp | 207 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()
|
D | rs_hal.h | 172 } allocation; member
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
D | CarouselRS.java | 652 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/ |
D | advanced.jd | 23 <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 …]
|
D | compute.jd | 228 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/ |
D | BallsRS.java | 71 final Allocation allocation = in loadTexture() local 75 return allocation; in loadTexture()
|
/frameworks/compile/slang/tests/P_export_types/ |
D | export_types.rs | 20 rs_allocation allocation;
|
/frameworks/base/docs/html/guide/topics/graphics/renderscript/ |
D | graphics.jd | 80 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/ |
D | ddms.jd | 17 <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>
|
D | debugging-projects.jd | 59 <li>Allocation Tracker - Shows the memory allocation of objects.</li>
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | load-bitmap.jd | 58 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/ |
D | README.rst | 232 // 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/ |
D | optimizing-view.jd | 52 allocation while an
|
/frameworks/base/docs/html/guide/practices/ |
D | performance.jd | 87 <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
|
D | jni.jd | 218 <code>GetStringUTFChars</code> requires an allocation and a conversion to
|
/frameworks/base/docs/html/guide/practices/app-design/ |
D | performance.jd | 87 <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
|
D | jni.jd | 218 <code>GetStringUTFChars</code> requires an allocation and a conversion to
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | ui-events.jd | 107 This will avoid the extra class load and object allocation. For example:</p>
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.1.jd | 564 <li>Support for reading from allocation with filtered samplers from compute in a new script API
|