/hardware/google/gfxstream/guest/mesa/src/util/tests/vma/ |
D | vma_random_test.cpp | 53 struct allocation { struct 59 bool operator()(const allocation& lhs, const allocation& rhs) const in operator ()() 66 constexpr uint64_t allocation_end_page(const allocation& a) { in allocation_end_page() 76 : heap_holes{allocation{MEM_START_PAGE, MEM_PAGES}}, rand{seed} in random_test() 127 allocation a{addr_page, size_pages}; in alloc() 130 allocation hole = *i; in alloc() 137 heap_holes.emplace(allocation{hole.start_page, in alloc() 141 heap_holes.emplace(allocation{allocation_end_page(a), in alloc() 159 allocation a = allocations.back(); in dealloc() 169 allocation x {a.start_page, a.num_pages + next->num_pages}; in dealloc() [all …]
|
/hardware/interfaces/renderscript/1.0/vts/functional/ |
D | VtsCopyTests.cpp | 40 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() local 43 ASSERT_NE(Allocation(0), allocation); in TEST_P() 49 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P() 50 context->allocation1DRead(allocation, 0, 0, (uint32_t)dataOut.size(), (Ptr)dataOut.data(), in TEST_P() 76 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() local 79 ASSERT_NE(Allocation(0), allocation); in TEST_P() 85 context->allocation2DWrite(allocation, 0, 0, 0, AllocationCubemapFace::POSITIVE_X, 128, 128, in TEST_P() 87 context->allocation2DRead(allocation, 0, 0, 0, AllocationCubemapFace::POSITIVE_X, 128, 128, in TEST_P() 113 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() local 116 ASSERT_NE(Allocation(0), allocation); in TEST_P() [all …]
|
D | VtsScriptTests.cpp | 214 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() local 217 ASSERT_NE(Allocation(0), allocation); in TEST_P() 224 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P() 226 vains.setToExternal(&allocation, 1); in TEST_P() 262 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() local 265 ASSERT_NE(Allocation(0), allocation); in TEST_P() 272 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P() 274 vains.setToExternal(&allocation, 1); in TEST_P() 306 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() local 309 ASSERT_NE(Allocation(0), allocation); in TEST_P() [all …]
|
D | VtsMiscellaneousTests.cpp | 56 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() local 60 ASSERT_NE(Allocation(0), allocation); in TEST_P() 63 Type type2 = context->allocationGetType(allocation); in TEST_P() 120 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() local 123 ASSERT_NE(Allocation(0), allocation); in TEST_P() 127 context->allocationGetPointer(allocation, 0, AllocationCubemapFace::POSITIVE_X, 0, in TEST_P() 132 context->allocationResize1D(allocation, 1024*1024); in TEST_P() 133 context->allocationGetPointer(allocation, 0, AllocationCubemapFace::POSITIVE_X, 0, in TEST_P()
|
/hardware/interfaces/renderscript/1.0/default/ |
D | Context.h | 58 Return<Type> allocationGetType(Allocation allocation) override; 62 Return<NativeWindow> allocationGetNativeWindow(Allocation allocation) override; 63 … Return<void> allocationSetNativeWindow(Allocation allocation, NativeWindow nativewindow) override; 66 Return<void> allocationCopyToBitmap(Allocation allocation, Ptr data, Size sizeBytes) override; 67 …Return<void> allocation1DWrite(Allocation allocation, uint32_t offset, uint32_t lod, uint32_t coun… 68 …Return<void> allocationElementWrite(Allocation allocation, uint32_t x, uint32_t y, uint32_t z, uin… 69 …Return<void> allocation2DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, … 70 …Return<void> allocation3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff,… 71 Return<void> allocationGenerateMipmaps(Allocation allocation) override; 72 Return<void> allocationRead(Allocation allocation, Ptr data, Size sizeBytes) override; [all …]
|
D | Context.cpp | 96 Return<Type> Context::allocationGetType(Allocation allocation) { in allocationGetType() argument 97 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation); in allocationGetType() 129 Return<NativeWindow> Context::allocationGetNativeWindow(Allocation allocation) { in allocationGetNativeWindow() argument 130 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation); in allocationGetNativeWindow() 135 Return<void> Context::allocationSetNativeWindow(Allocation allocation, NativeWindow nativewindow) { in allocationSetNativeWindow() argument 136 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation); in allocationSetNativeWindow() 156 Return<void> Context::allocationCopyToBitmap(Allocation allocation, Ptr data, Size sizeBytes) { in allocationCopyToBitmap() argument 157 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation); in allocationCopyToBitmap() 164 Return<void> Context::allocation1DWrite(Allocation allocation, uint32_t offset, uint32_t lod, uint3… in allocation1DWrite() argument 165 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation); in allocation1DWrite() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_KHR_dedicated_allocation.adoc | 21 This extension enables resources to be bound to a dedicated allocation, 24 allocation is recommended, in which case using a dedicated allocation may: 27 allocation, memory aliasing and sparse binding, which could interfere with 29 Applications should query the implementation for when a dedicated allocation 39 and memory allocation: a new structure that flags whether an image/buffer 40 should have a dedicated allocation, and a structure indicating the image or 41 buffer that an allocation will be bound to. 56 // Create an image with a dedicated allocation based on the 130 // Take the normal memory sub-allocation path
|
D | VK_EXT_external_memory_host.adoc | 36 heap that is otherwise not usable for regular memory object allocation and 39 2) Can the application still access the contents of the host allocation 45 3) Can the application free the host allocation? 48 Using the memory object imported from a host allocation that is already 58 allocation, although the same physical pages will be used. 68 6) Can the same host allocation be imported multiple times into a given
|
D | VK_NV_dedicated_allocation.adoc | 29 allocation: a new structure that flags whether am image/buffer will have a 30 dedicated allocation, and a structure indicating the image or buffer that an 31 allocation will be bound to.
|
D | VK_KHR_maintenance3.adoc | 27 * A limit on the maximum size of a single memory allocation. 29 allocation.
|
D | VK_EXT_device_memory_report.adoc | 44 2) Can we extend and use the existing internal allocation callbacks instead 88 allocation reporting design (which is essentially what this extension is 125 along with a dlink:VK_NULL_HANDLE for this bulk allocation. 126 Instead, this bulk allocation is considered as a layer below what this 129 from the bulk allocation, we ask the implementation to report the valid 144 7) Should we add an additional "`allocation failed`" event type with things 153 Right now the allocation failure could have happened anywhere during
|
D | VK_EXT_global_priority.adoc | 28 The driver implementation will attempt to skew hardware resource allocation 44 The driver implementation may fail the queue allocation request if resources
|
D | VK_NV_dedicated_allocation_image_aliasing.adoc | 22 image for which the allocation was created, and every other image parameter
|
D | VK_EXT_memory_priority.adoc | 17 This extension adds a pname:priority value specified at memory allocation
|
/hardware/interfaces/renderscript/1.0/ |
D | IContext.hal | 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 80 * @param allocation Allocation 84 allocationGetType(Allocation allocation) generates (Type type); 88 * or if the data can outlive the allocation. [all …]
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/ |
D | vk_cmd_queue_gen.py | 462 …allocation = "%s = vk_zalloc(queue->alloc, %s * (%s), 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);\n i… 465 return "%s\n %s" % (allocation, copy) 473 …allocation = "%s = vk_zalloc(queue->alloc, %s, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);\n if (%s =… 476 return "if (%s->%s) {\n %s\n %s\n}\n" % (src_name, member.name, allocation, copy) 510 …allocation = "%s = vk_zalloc(queue->alloc, %s, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);\n if (%… 527 … %s\n %s\n %s \n %s } else {\n %s\n }" % (if_stmt, allocation, copy, tmp_dst, …
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_cuda_kernel_launch/ |
D | module.adoc | 31 * pname:pAllocator controls host memory allocation as described in the 32 <<memory-allocation, Memory Allocation>> chapter. 88 * pname:pAllocator controls host memory allocation as described in the 89 <<memory-allocation, Memory Allocation>> chapter. 125 * pname:pAllocator controls host memory allocation as described in the 126 <<memory-allocation, Memory Allocation>> chapter. 143 * pname:pAllocator controls host memory allocation as described in the 144 <<memory-allocation, Memory Allocation>> chapter.
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_display_control/ |
D | fence_events.adoc | 23 * pname:pAllocator controls host memory allocation as described in the 24 <<memory-allocation, Memory Allocation>> chapter. 75 * pname:pAllocator controls host memory allocation as described in the 76 <<memory-allocation, Memory Allocation>> chapter.
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | memory.adoc | 25 [[memory-allocation]] 29 Support for application-provided memory allocation, as supported in Base 41 memory allocation logging. 44 …backs',desc='Structure containing callback function pointers for memory allocation',type='structs'] 84 application-defined memory allocation function. 128 [open,refpage='PFN_vkAllocationFunction',desc='Application-defined memory allocation function',type… 137 * pname:size is the size in bytes of the requested allocation. 138 * pname:alignment is the requested alignment of the allocation in bytes 141 specifying the allocation scope of the lifetime of the allocation, as 142 described <<memory-host-allocation-scope,here>>. [all …]
|
D | VK_EXT_private_data.adoc | 12 A private data slot represents a storage allocation for one data item for 55 * pname:pAllocator controls host memory allocation as described in the 56 <<memory-allocation, Memory Allocation>> chapter. 127 * pname:pAllocator controls host memory allocation as described in the 128 <<memory-allocation, Memory Allocation>> chapter.
|
/hardware/interfaces/media/c2/1.2/ |
D | IComponent.hal | 34 * extension is to add blocking allocation of output buffer from surface. 45 * @param syncObject synchronization object for buffer allocation between
|
/hardware/interfaces/atrace/1.0/default/ |
D | android.hardware.atrace@1.0-service.rc | 9 # ion allocation trace point
|
/hardware/interfaces/bluetooth/audio/utils/aidl_session/ |
D | BluetoothLeAudioAseConfigurationSettingProvider.cpp | 293 for (auto [allocation, bitmask] : audio_channel_allocation_map) { in populateAudioChannelAllocation() 294 if (audio_location & allocation) in populateAudioChannelAllocation() 424 allocation = std::nullopt; in populateAseQosConfiguration() local 437 allocation = in populateAseQosConfiguration() 448 if (allocation.has_value() && octet.has_value()) { in populateAseQosConfiguration() 449 auto channel_count = std::bitset<32>(allocation.value().bitmask).count(); in populateAseQosConfiguration()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/ |
D | bind_image_common.adoc | 16 If pname:image requires a dedicated allocation (as reported by 47 original image for which the allocation was created; and the 49 or smaller than the original image for which the allocation was created
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_external_memory/ |
D | allocate_memory.adoc | 22 Multiple handle types may: be requested for the same allocation as long
|