/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. 38 * Query the dimension of an allocation. 40 * @return uint32_t The X dimension of the allocation. 46 * Query the dimension of an allocation. 48 * @return uint32_t The Y dimension of the allocation. 54 * Query the dimension of an allocation. 56 * @return uint32_t The Z dimension of the allocation. 62 * Query an allocation for the presence of more than one LOD. 70 * 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 | 92 * cell of the allocation. 108 * restrict the call to a subset of cells in the allocation. 129 * @param input The allocation to source data from 130 * @param output the allocation to write date into 134 * allocation to be processed or suggest a walking strategy. May be 158 * @param input The allocation to source data from 159 * @param output the allocation to write date into 165 * allocation to be processed or suggest a walking strategy. May be
|
D | rs_types.rsh | 130 * \brief Opaque handle to a RenderScript allocation. 403 * \brief Bitfield to specify the usage types for an allocation. 406 * 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 | rsProgramVertex.cpp | 49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setup() 59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setup() 78 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setProjectionMatrix() 82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setProjectionMatrix() 96 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setModelviewMatrix() 100 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setModelviewMatrix() 114 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setTextureMatrix() 118 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setTextureMatrix() 133 rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0])); in getProjectionMatrix() 135 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in getProjectionMatrix() [all …]
|
D | rsAllocation.cpp | 63 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation() 90 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation() 94 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll() 108 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data() 114 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data() 121 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data() 136 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read() 153 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read() 164 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read() 192 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData() [all …]
|
D | rsScriptC_LibGL.cpp | 222 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrDrawTextAlloc() 225 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrDrawTextAlloc() 252 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrMeasureTextAlloc() 257 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrMeasureTextAlloc()
|
D | rsProgramFragment.cpp | 56 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); in setConstantColor() 59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setConstantColor()
|
D | rsMesh.cpp | 204 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]); in uploadAll() 210 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]); in uploadAll() 232 const uint8_t *bp = (const uint8_t *)rsc->mHal.funcs.allocation.lock1D( in computeBBox() 262 rsc->mHal.funcs.allocation.unlock1D(rsc, posAlloc); in computeBBox()
|
D | rsFont.cpp | 476 mRSC->mHal.funcs.allocation.data2D(mRSC, mTextTexture.get(), 0, 0, 0, in cacheBitmap() 589 uint16_t *indexPtr = (uint16_t*)mRSC->mHal.funcs.allocation.lock1D(mRSC, indexAlloc); in initVertexArrayBuffers() 620 mTextMeshPtr = (float*)mRSC->mHal.funcs.allocation.lock1D(mRSC, vertexAlloc); in initVertexArrayBuffers() 626 mRSC->mHal.funcs.allocation.unlock1D(mRSC, indexAlloc); in initVertexArrayBuffers() 627 mRSC->mHal.funcs.allocation.unlock1D(mRSC, vertexAlloc); in initVertexArrayBuffers()
|
D | rs_hal.h | 224 } 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | BackingStore.java | 533 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); in syncToAllocationBacking() local 534 allocation.copyTo(mBitmap); in syncToAllocationBacking() 626 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); in syncToAllocationBacking() local 628 allocation.copyTo(pixels.array()); in syncToAllocationBacking() 748 Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); in syncToAllocationBacking() local 751 allocation.copyTo(bytes); in syncToAllocationBacking() 754 allocation.copyTo(floats); in syncToAllocationBacking()
|
/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 …]
|
/frameworks/compile/slang/tests/P_export_types/ |
D | export_types.rs | 20 rs_allocation allocation;
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 73 final Allocation allocation = in loadTexture() local 77 return allocation; in loadTexture()
|
/frameworks/rs/driver/runtime/ |
D | Android.mk | 31 allocation.ll \
|
/frameworks/base/docs/html/tools/debugging/ |
D | debugging-memory.jd | 127 <p>Continue interacting with your app to watch your heap allocation update with each garbage 129 allocation and where you should try to reduce allocations and release 161 the allocation. The trace shows you not only what type of object was allocated, but also in which 170 DdmVmInternal} and else where that come from the allocation tracker itself.</p> 173 critical code paths, the allocation tracker can help you identify important issues in your code. 269 your own allocations and any Zygote allocation pages that have been modified since forking your 428 <a href="#ViewHeap">heap updates</a>, or <a href="#TrackAllocations">allocation 455 to inspect the changes in memory allocation. To compare two heap dumps using MAT:</p>
|
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>
|
D | systrace.jd | 218 area in the lower trace, shows that a memory operation (image buffer dequeuing and allocation) in 223 memory allocation with another request or task.</p>
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | manage-memory.jd | 149 removing both memory allocation and de-allocation. However, there are certain restrictions with how 281 // allocation byte count.
|
D | load-bitmap.jd | 56 avoids memory allocation, returning {@code null} for the bitmap object but setting {@link 60 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.
|