/frameworks/rs/ |
D | rsDriverLoader.cpp | 85 ret &= fn(RS_HAL_ALLOCATION_INIT, (void **)&rsc->mHal.funcs.allocation.init); in LoadHalTable() 86 ret &= fn(RS_HAL_ALLOCATION_INIT_OEM, (void **)&rsc->mHal.funcs.allocation.initOem); in LoadHalTable() 87 ret &= fn(RS_HAL_ALLOCATION_INIT_ADAPTER, (void **)&rsc->mHal.funcs.allocation.initAdapter); in LoadHalTable() 88 ret &= fn(RS_HAL_ALLOCATION_DESTROY, (void **)&rsc->mHal.funcs.allocation.destroy); in LoadHalTable() 89 ret &= fn(RS_HAL_ALLOCATION_GET_GRALLOC_BITS, (void **)&rsc->mHal.funcs.allocation.grallocBits); in LoadHalTable() 90 ret &= fn(RS_HAL_ALLOCATION_RESIZE, (void **)&rsc->mHal.funcs.allocation.resize); in LoadHalTable() 91 ret &= fn(RS_HAL_ALLOCATION_SYNC_ALL, (void **)&rsc->mHal.funcs.allocation.syncAll); in LoadHalTable() 92 ret &= fn(RS_HAL_ALLOCATION_MARK_DIRTY, (void **)&rsc->mHal.funcs.allocation.markDirty); in LoadHalTable() 93 ret &= fn(RS_HAL_ALLOCATION_SET_SURFACE, (void **)&rsc->mHal.funcs.allocation.setSurface); in LoadHalTable() 94 ret &= fn(RS_HAL_ALLOCATION_IO_SEND, (void **)&rsc->mHal.funcs.allocation.ioSend); in LoadHalTable() [all …]
|
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 | 76 if (rsc->mHal.funcs.allocation.initOem != nullptr) { in createAllocationStrided() 78 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocationStrided() 86 …success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), r… in createAllocationStrided() 90 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences()); in createAllocationStrided() 118 if (!rsc->mHal.funcs.allocation.initAdapter(rsc, a)) { in createAdapter() 140 rsc->mHal.funcs.allocation.adapterOffset(rsc, this); in adapterOffset() 163 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation() 167 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll() 180 if (mRSC->mHal.funcs.allocation.getPointer != nullptr) { in getPointer() 182 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array); in getPointer() [all …]
|
D | rsScriptC_LibGL.cpp | 218 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrDrawTextAlloc() 221 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrDrawTextAlloc() 248 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); in rsrMeasureTextAlloc() 253 rsc->mHal.funcs.allocation.unlock1D(rsc, a); in rsrMeasureTextAlloc()
|
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 | rsProgramFragment.cpp | 57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); in setConstantColor() 60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setConstantColor()
|
/frameworks/rs/api/ |
D | rs_allocation_data.spec | 21 an allocation. 73 arg: rs_allocation srcAlloc, "Source allocation." 76 arg: uint32_t srcMip, "Mip level in the source allocation. 0 if mip mapping is not used." 77 arg: rs_allocation_cubemap_face srcFace, "Cubemap face of the source allocation. Ignored for alloc…
|
D | rs_object_types.spec | 62 summary: Handle to an allocation 64 An opaque handle to a RenderScript allocation. 112 summary: Bitfield to specify how an allocation is used 115 relevant to an allocation or an operation on an allocation.
|
D | rs_for_each.spec | 106 @rs_kernel argument. If the specified kernel returns a value, an output allocation 108 and the output allocation if it exists, must have the same dimensions. 113 to the output allocation. 116 "root" in the specified script, and only a single input allocation can be used. 201 by options, no input or output allocation is required for a kernel launch using 203 and return value expected by the kernel function. The output allocation is
|
D | rs_io.spec | 23 <li>Send the processed allocation or receive the next allocation to process.</li></ul>
|
D | rs_graphics.spec | 218 summary: Sync the contents of an allocation 220 Sync the contents of an allocation. 259 summary: Bind a constant allocation 371 summary: Bind a texture allocation 717 summary: Return an allocation containing index data 719 Returns an allocation containing index data or a null 720 allocation if only the primitive is specified 758 summary: Return a vertex allocation 760 Returns an allocation that is part of the mesh and contains
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | layered_filter_d1new_helper.rsh | 4 // Need to access global allocation here 6 // This allocation has three float values of red, green, blue 14 // This allocation contains four floats: red, green, blue, alpha 16 // This allocation contains four floats: red, green, blue, alpha 18 // This allocation contains the kernel stack info: only one float per cell 40 //Compute layer matte using global allocation 123 // Use global allocation for filter from back most layer to focus layer 178 // Filter target layer use global allocation using integral image 211 // Use global allocation to filter layer from the
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | single_source_ref_count.rs | 62 rs_allocation allocation = tests[i].fp(); 63 if (!rsIsObject(allocation)) {
|
/frameworks/base/libs/hwui/utils/ |
D | FatVector.h | 56 InlineStdAllocator(Allocation& allocation) in InlineStdAllocator() argument 57 : mAllocation(allocation) {} in InlineStdAllocator()
|
/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/rs/scriptc/ |
D | rs_object_types.rsh | 66 * rs_allocation: Handle to an allocation 68 * An opaque handle to a RenderScript allocation. 109 * rs_allocation_usage_type: Bitfield to specify how an allocation is used 112 * relevant to an allocation or an operation on an allocation.
|
D | rs_for_each.rsh | 107 * rs_kernel argument. If the specified kernel returns a value, an output allocation 109 * and the output allocation if it exists, must have the same dimensions. 114 * to the output allocation. 117 * "root" in the specified script, and only a single input allocation can be used. 138 …* sc: Extra control information used to select a sub-region of the allocation to be processed or… 182 * by options, no input or output allocation is required for a kernel launch using 184 * and return value expected by the kernel function. The output allocation is 369 * To get the dimension of specific allocation, use rsAllocationGetDimX(). 384 * To get the dimension of specific allocation, use rsAllocationGetDimY(). 399 * To get the dimension of specific allocation, use rsAllocationGetDimZ().
|
D | rs_allocation_data.rsh | 23 * an allocation. 42 * Copies the specified number of cells from one allocation to another. 45 * the same allocation yields undefined results. 48 * of either allocation. Be careful! 60 * dstMip: Mip level in the destination allocation. 0 if mip mapping is not used. 62 * srcAlloc: Source allocation. 64 * srcMip: Mip level in the source allocation. 0 if mip mapping is not used. 75 * Copies a rectangular region of cells from one allocation to another. 79 * the same allocation yields undefined results. 82 * exceeds the size of its respective allocation. Be careful! [all …]
|
/frameworks/rs/driver/ |
D | rsdCore.cpp | 318 rsc->mHal.funcs.allocation.destroy = sAllocationDestroy; in rsdHalInit() 319 rsc->mHal.funcs.allocation.ioSend = sAllocationIoSend; in rsdHalInit() 320 rsc->mHal.funcs.allocation.setSurface = sAllocationSetSurface; in rsdHalInit()
|
/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/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 79 final Allocation allocation = in loadTexture() local 83 return allocation; in loadTexture()
|
/frameworks/rs/driver/runtime/ |
D | Android.mk | 37 ll32/allocation.ll 40 ll64/allocation.ll
|
/frameworks/compile/slang/tests/P_export_types_v20/ |
D | export_types.rs | 23 rs_allocation allocation;
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_object_types.jd | 18 Handle to an allocation 34 Bitfield to specify how an allocation is used 99 <span class='normal'>: Handle to an allocation</span> 103 <p> An opaque handle to a RenderScript allocation. 138 <span class='normal'>: Bitfield to specify how an allocation is used</span> 155 relevant to an allocation or an operation on an allocation.
|
/frameworks/compile/slang/tests/P_export_types/ |
D | export_types.rs | 24 rs_allocation allocation;
|