Home | History | Annotate | Download | only in 1.0

Lines Matching refs:Allocation

37      * "adapted allocation" that's returned.
39 * Creates an arbitrary window into the base allocation. The type describes
41 * equal to or smaller than the dimensions in the source allocation. A
42 * dimension present in the allocation that is not present in the type must
44 * both the type and allocation, one of two things must happen. If the type
45 * is smaller than the allocation, a window must be created, the selected
48 * If the type and allocation dimension are of the same size, then setting
52 * @param baseAlloc Allocation
56 allocationAdapterCreate(Type type, Allocation baseAlloc)
67 * Sets the offsets for an Allocation Adapter.
78 * Returns the Type of the Allocation.
80 * @param allocation Allocation
81 * @return type Allocation's Type
84 allocationGetType(Allocation allocation) generates (Type type);
88 * or if the data can outlive the allocation.
90 * Creates an Allocation for use by scripts with a given Type and a backing
95 * the allocation
96 * @param usage Bit field specifying how the Allocation is utilized
98 * @return allocation Created Allocation
103 generates (Allocation allocation);
106 * Creates an Allocation from a Bitmap.
110 * the allocation
111 * @param bitmap Bitmap source for the allocation data
112 * @param usage Bit field specifying how the Allocation is utilized
113 * @return allocation Created Allocation containing bitmap data
119 generates (Allocation allocation);
122 * Creates a Cubemapped Allocation from a Bitmap.
126 * for the allocation
129 * @param usage Bit field specifying how the Allocation is used
130 * @return allocation Created Allocation containing cubemap data
136 generates (Allocation allocation);
143 * @param allocation Allocation
144 * @return nativeWindow NativeWindow object associated with allocation
147 allocationGetNativeWindow(Allocation allocation)
153 * Sets the NativeWindow of an Allocation. This operation is only valid
156 * @param allocation Allocation to be modified
157 * @pram nativeWindow NativeWindow to associate with allocation
160 allocationSetNativeWindow(Allocation allocation, NativeWindow nativewindow);
165 * @param alloc Allocation
169 allocationSetupBufferQueue(Allocation alloc, uint32_t numBuffer);
174 * Shares the BufferQueue with another Allocation. Both must be
177 * @param baseAlloc Base Allocation
178 * @param subAlloc Allocation to use the same buffer queue as the Base
179 * Allocation
182 allocationShareBufferQueue(Allocation baseAlloc, Allocation subAlloc);
185 * Copies from the Allocation into a Bitmap. The bitmap must match the
186 * dimensions of the Allocation.
191 * @param allocation Allocation
196 allocationCopyToBitmap(Allocation allocation, Ptr data, Size sizeBytes);
205 * Copies data into a 1D region of this Allocation.
212 * @param allocation Allocation to be modified
216 * @param data Source data to be copied to Allocation
219 allocation1DWrite(Allocation allocation, uint32_t offset, uint32_t lod,
223 * Copies a value into a single sub-Element of this Allocation.
225 * @param allocation Allocation to be updated
226 * @param x X position of the first element in the Allocation to be updated
227 * @param y Y position of the first element in the Allocation to be
228 * updated; for a 1D Allocation, this value must be 0
229 * @param z Z position of the first element in the Allocation to be
230 * updated; for a 1D or 2D Allocation, this value must be 0
236 allocationElementWrite(Allocation allocation, uint32_t x, uint32_t y,
241 * Copies from an array into a rectangular region in this Allocation.
248 * @param allocation Allocation to be modified
249 * @param xoff X offset of the region to update in this Allocation
250 * @param yoff Y offset of the region to update in this Allocation
255 * @param data Data to be placed into the Allocation
256 * @param stride For 1D Allocation, the stride must be the number of bytes
257 * of this Allocation. For 2D and 3D Allocations, the stride
261 allocation2DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff,
266 * Copies from an array into a 3D region in this Allocation.
273 * @param allocation Allocation to be modified
274 * @param xoff X offset of the region to update in this Allocation
275 * @param yoff Y offset of the region to update in this Allocation
276 * @param zoff Z offset of the region to update in this Allocation
281 * @param data Data to be placed in the Allocation
282 * @param stride For 1D Allocation, the stride must be the number of bytes
283 * of this Allocation. For 2D and 3D Allocations, the stride
287 allocation3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff,
293 * Allocation includes mipmaps.
298 * If the Allocation is also using other memory spaces, a call to
299 * allocationSyncAll(context, allocation, usage) is required.
301 * @param allocation Allocation which has its top LOD read and lower LOD
305 allocationGenerateMipmaps(Allocation allocation);
308 * Copies all of an Allocation's data into an array.
310 * All Vec3 elements of an Allocation are padded to be Vec4, so the data
316 * @param allocation Allocation to be read
321 allocationRead(Allocation allocation, Ptr data, Size sizeBytes);
324 * Copies a 1D region of this Allocation into an array.
326 * All Vec3 elements of an Allocation are padded to be Vec4, so the data
334 * @param allocation Allocation to be read
342 allocation1DRead(Allocation allocation, uint32_t xoff, uint32_t lod,
346 * Returns the value of a single sub-Element of this Allocation.
351 * @param allocation Allocation to be read
352 * @param x X position of the first element in the Allocation to be read
353 * @param y Y position of the first element in the Allocation to be read
354 * @param z Z position of the first element in the Allocation to be read
361 allocationElementRead(Allocation allocation, uint32_t x, uint32_t y,
366 * Copies from a rectangular region in this Allocation to an array.
368 * All Vec3 elements of an Allocation are padded to be Vec4, so the data
376 * @param allocation Allocation to be read
385 * @param stride For 1D Allocation, the stride must be the number of bytes
386 * of this Allocation. For 2D and 3D Allocations, the stride
390 allocation2DRead(Allocation allocation, uint32_t xoff, uint32_t yoff,
395 * Copies from a rectangular cuboid region in this Allocation to an array.
397 * All Vec3 elements of an Allocation are padded to be Vec4, so the data
405 * @param allocation Allocation to be read
415 * @param stride For 1D Allocation, the stride must be the number of bytes
416 * of this Allocation. For 2D and 3D Allocations, the stride
420 allocation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff,
425 * Propagates changes from one usage of the Allocation to the other usages
426 * of the Allocation.
428 * @param allocation First usage of the Allocation
429 * @param usageType Allocation usage type
432 allocationSyncAll(Allocation allocation, AllocationUsageType usageType);
441 * allocation different than the type before resizing?
443 * Resizes a 1D allocation. The contents of the allocation are preserved.
452 * @param allocation Allocation to be resized
453 * @param dimX New size along the x dimension of the Allocation
456 allocationResize1D(Allocation allocation, uint32_t dimX);
462 * Copies a rectangular region from an Allocation into a rectangular region
463 * in this Allocation.
465 * @param dstAlloc Allocation to be updated
468 * @param dstMip Selected mipmap level of the Allocation to update
472 * @param srcAlloc Source Allocation, to be read
473 * @param srcXoff X offset of the region in the source Allocation
474 * @param srcYoff Y offset of the region in the source Allocation
475 * @param srcMip Selected mipmap level of the source Allocation
479 allocationCopy2DRange(Allocation dstAlloc, uint32_t dstXoff,
482 uint32_t height, Allocation srcAlloc,
487 * Copies a rectangular cuboid region into the allocation from another
488 * Allocation.
490 * @param dstAlloc Allocation to be updated
494 * @param dstMip Selected mipmap level of the Allocation to update
498 * @param srcAlloc Source Allocation, to be read
499 * @param srcXoff Source X offset of the region in the source Allocation
500 * @param srcYoff Source Y offset of the region in the source Allocation
501 * @param srcZoff Source Z offset of the region in the souce Allocation
502 * @param srcMip Selected mipmap level of the Allocation to read
505 allocationCopy3DRange(Allocation dstAlloc, uint32_t dstXoff,
508 Allocation srcAlloc, uint32_t srcXoff,
514 * Sends a buffer to the output stream. The contents of the Allocation may
516 * USAGE_IO_OUTPUT is set on the Allocation.
518 * @param allocation Allocation to be sent
521 allocationIoSend(Allocation allocation);
524 * Receives the latest input into the Allocation. This operation is only
525 * valid if USAGE_IO_INPUT is set on the Allocation, otherwise an error
528 * @param allocation Allocation to be updated
531 allocationIoReceive(Allocation allocation);
539 * Retrieves the pointer to the actual data an Allocation contains as well
542 * If Allocation lacks the corresponding dimension for lod, face, or z, an
547 * @param allocation Allocation
554 * @return stride For 1D Allocation, the stride must be the number of bytes
555 * of this Allocation. For 2D and 3D Allocations, the stride
559 allocationGetPointer(Allocation allocation, uint32_t lod,
730 * allocation or RS script executions) to complete.
798 * @param returnValue Allocation used in output of Closure
807 closureCreate(ScriptKernelID kernelID, Allocation
929 * Sets an output of the ScriptGroup. This specifies an Allocation to be
930 * used for the kernels that require an output Allocation visible after the
935 * @param alloc Allocation to be filled by output
938 scriptGroupSetOutput(ScriptGroup sg, ScriptKernelID kid, Allocation alloc);
941 * Sets an input of the Script Group. This specifies an Allocation to be
942 * used for kernels that require an input Allocation provided from outside
947 * @param alloc Allocation to be read as input
950 scriptGroupSetInput(ScriptGroup sg, ScriptKernelID kid, Allocation alloc);
988 * Binds an Allocation to a global pointer in the Script.
991 * @param allocation Allocation to be bound
995 scriptBindAllocation(Script script, Allocation allocation, uint32_t slot);
1038 * @param vaout Output Allocation or null
1043 scriptForEach(Script vs, uint32_t slot, vec<Allocation> vains,
1044 Allocation vaout, vec<uint8_t> params, Ptr sc);
1052 * @param vaout Output Allocation
1056 scriptReduce(Script vs, uint32_t slot, vec<Allocation> vains,
1057 Allocation vaout, Ptr sc);