Home
last modified time | relevance | path

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

123

/frameworks/rs/
DrsDriverLoader.cpp84 ret &= fn(RS_HAL_ALLOCATION_INIT, (void **)&rsc->mHal.funcs.allocation.init); in LoadHalTable()
85 ret &= fn(RS_HAL_ALLOCATION_INIT_OEM, (void **)&rsc->mHal.funcs.allocation.initOem); in LoadHalTable()
86 ret &= fn(RS_HAL_ALLOCATION_INIT_ADAPTER, (void **)&rsc->mHal.funcs.allocation.initAdapter); in LoadHalTable()
87 ret &= fn(RS_HAL_ALLOCATION_DESTROY, (void **)&rsc->mHal.funcs.allocation.destroy); in LoadHalTable()
88 ret &= fn(RS_HAL_ALLOCATION_GET_GRALLOC_BITS, (void **)&rsc->mHal.funcs.allocation.grallocBits); in LoadHalTable()
89 ret &= fn(RS_HAL_ALLOCATION_RESIZE, (void **)&rsc->mHal.funcs.allocation.resize); in LoadHalTable()
90 ret &= fn(RS_HAL_ALLOCATION_SYNC_ALL, (void **)&rsc->mHal.funcs.allocation.syncAll); in LoadHalTable()
91 ret &= fn(RS_HAL_ALLOCATION_MARK_DIRTY, (void **)&rsc->mHal.funcs.allocation.markDirty); in LoadHalTable()
92 ret &= fn(RS_HAL_ALLOCATION_SET_SURFACE, (void **)&rsc->mHal.funcs.allocation.setSurface); in LoadHalTable()
93 ret &= fn(RS_HAL_ALLOCATION_IO_SEND, (void **)&rsc->mHal.funcs.allocation.ioSend); in LoadHalTable()
[all …]
DrsProgramVertex.cpp49 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 …]
DrsAllocation.cpp76 if (rsc->mHal.funcs.allocation.initOem != nullptr) { in createAllocation()
78 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocation()
85 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences()); in createAllocation()
108 if (!rsc->mHal.funcs.allocation.initAdapter(rsc, a)) { in createAdapter()
130 rsc->mHal.funcs.allocation.adapterOffset(rsc, this); in adapterOffset()
153 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
157 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll()
170 if (mRSC->mHal.funcs.allocation.getPointer != nullptr) { in getPointer()
172 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array); in getPointer()
195 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
[all …]
DrsScriptC_LibGL.cpp218 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()
DrsProgramFragment.cpp57 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()
DrsMesh.cpp204 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()
/frameworks/rs/api/
Drs_allocation_data.spec21 an allocation.
69 arg: rs_allocation srcAlloc, "Source allocation."
72 arg: uint32_t srcMip, "Mip level in the source allocation. 0 if mip mapping is not used."
73 arg: rs_allocation_cubemap_face srcFace, "Cubemap face of the source allocation. Ignored for alloc…
Drs_object_types.spec62 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.
Drs_io.spec23 <li>Send the processed allocation or receive the next allocation to process.</li></ul>
Drs_for_each.spec100 function will be invoked repeatedly over the cells of the specificed allocation, filling
101 the output allocation with the results.
104 only when the script has completed and the output allocation is ready to use.
108 The kernel can be invoked with just an input allocation or just an output allocation.
Drs_graphics.spec218 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
718 summary: Return an allocation containing index data
720 Returns an allocation containing index data or a null
721 allocation if only the primitive is specified
759 summary: Return a vertex allocation
761 Returns an allocation that is part of the mesh and contains
/frameworks/base/docs/html/tools/performance/allocation-tracker/
Dindex.jd78 <p>Allocation Tracker records each memory allocation that your app performs during the profiling
89 <img src="{@docRoot}images/tools/performance/allocation-tracker/gettingstarted_image01.png"
105 <img src="{@docRoot}images/tools/performance/allocation-tracker/gettingstarted_image02.png">
108 <img src="{@docRoot}images/tools/performance/allocation-tracker/gettingstarted_image02.png">
123 <img src="{@docRoot}images/tools/performance/allocation-tracker/gettingstarted_image03.png"
140 <li>Each row represents a memory allocation event.</li>
142 <li>Each column represents information about the allocation, such as the object type,
/frameworks/base/docs/html/tools/performance/
Dcomparison.jd26 <li><a href="{@docRoot}tools/performance/allocation-tracker/index.html">
47 <a href="{@docRoot}tools/performance/allocation-tracker/index.html">
114 <img src="{@docRoot}images/tools/studio-allocation-tracker.png"
126 <li>Helps recognize memory churn through recurring allocation/deallocation patterns.</li>
129 see a bitmap object resident on the heap, you can find its allocation location with Allocation
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBackingStore.java533 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/
Drs_object_types.rsh66 * 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.
Drs_for_each.rsh100 * function will be invoked repeatedly over the cells of the specificed allocation, filling
101 * the output allocation with the results.
104 * only when the script has completed and the output allocation is ready to use.
108 * The kernel can be invoked with just an input allocation or just an output allocation.
123 …* sc: Extra control information used to select a sub-region of the allocation to be processed or…
319 * To get the dimension of specific allocation, use rsAllocationGetDimX().
334 * To get the dimension of specific allocation, use rsAllocationGetDimY().
349 * To get the dimension of specific allocation, use rsAllocationGetDimZ().
Drs_allocation_data.rsh23 * 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!
56 * dstMip: Mip level in the destination allocation. 0 if mip mapping is not used.
58 * srcAlloc: Source allocation.
60 * srcMip: Mip level in the source allocation. 0 if mip mapping is not used.
71 * Copies a rectangular region of cells from one allocation to another.
75 * the same allocation yields undefined results.
78 * exceeds the size of its respective allocation. Be careful!
[all …]
Drs_io.rsh24 * - Send the processed allocation or receive the next allocation to process.
/frameworks/rs/driver/
DrsdCore.cpp312 rsc->mHal.funcs.allocation.destroy = sAllocationDestroy; in rsdHalInit()
313 rsc->mHal.funcs.allocation.ioSend = sAllocationIoSend; in rsdHalInit()
314 rsc->mHal.funcs.allocation.setSurface = sAllocationSetSurface; in rsdHalInit()
/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 …]
/frameworks/rs/driver/runtime/
DAndroid.mk35 ll32/allocation.ll
38 ll64/allocation.ll
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rs20 rs_allocation allocation;
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBallsRS.java79 final Allocation allocation = in loadTexture() local
83 return allocation; in loadTexture()
/frameworks/compile/slang/tests/P_export_types_v20/
Dexport_types.rs23 rs_allocation allocation;
/frameworks/opt/bitmap/sample/
Dproguard-config.pro4 …lification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*,!code/allocation/variable

123