Home
last modified time | relevance | path

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

1234

/device/generic/vulkan-cereal/third-party/angle/src/common/
DPoolAlloc_unittest.cpp23 void *allocation = poolAllocator.allocate(numBytes); in TEST() local
25 EXPECT_NE(nullptr, allocation); in TEST()
27 uint32_t *writePtr = static_cast<uint32_t *>(allocation); in TEST()
31 allocation = poolAllocator.allocate(numBytes); in TEST()
32 EXPECT_NE(nullptr, allocation); in TEST()
34 allocation = poolAllocator.allocate(10 * 1024); in TEST()
43 allocation = poolAllocator.allocate(numBytes); in TEST()
44 EXPECT_NE(nullptr, allocation); in TEST()
47 memset(allocation, 0xb8, numBytes); in TEST()
67 void *allocation = poolAllocator.allocate((rand() % (1024 * 4)) + 1); in TEST_P() local
[all …]
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/vulkan/
Dvk_mem_alloc_wrapper.cpp67 void FreeMemory(VmaAllocator allocator, VmaAllocation allocation) in FreeMemory() argument
69 vmaFreeMemory(allocator, allocation); in FreeMemory()
118 VkResult MapMemory(VmaAllocator allocator, VmaAllocation allocation, void **ppData) in MapMemory() argument
120 return vmaMapMemory(allocator, allocation, ppData); in MapMemory()
123 void UnmapMemory(VmaAllocator allocator, VmaAllocation allocation) in UnmapMemory() argument
125 return vmaUnmapMemory(allocator, allocation); in UnmapMemory()
129 VmaAllocation allocation, in FlushAllocation() argument
133 vmaFlushAllocation(allocator, allocation, offset, size); in FlushAllocation()
137 VmaAllocation allocation, in InvalidateAllocation() argument
141 vmaInvalidateAllocation(allocator, allocation, offset, size); in InvalidateAllocation()
Dvk_mem_alloc_wrapper.h28 void FreeMemory(VmaAllocator allocator, VmaAllocation allocation); in VK_DEFINE_HANDLE()
50 VkResult MapMemory(VmaAllocator allocator, VmaAllocation allocation, void **ppData); in VK_DEFINE_HANDLE()
52 void UnmapMemory(VmaAllocator allocator, VmaAllocation allocation); in VK_DEFINE_HANDLE()
55 VmaAllocation allocation, in VK_DEFINE_HANDLE()
60 VmaAllocation allocation, in VK_DEFINE_HANDLE()
Dvk_utils.cpp447 Allocation *allocation, in InitMappableAllocation() argument
453 allocation->map(allocator, &mapPointer); in InitMappableAllocation()
458 allocation->flush(allocator, 0, size); in InitMappableAllocation()
461 allocation->unmap(allocator); in InitMappableAllocation()
/device/generic/vulkan-cereal/protocols/vulkan/appendices/
DVK_KHR_dedicated_allocation.txt21 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.
57 // Create an image with a dedicated allocation based on the
131 // Take the normal memory sub-allocation path
DVK_EXT_external_memory_host.txt36 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
DVK_EXT_device_memory_report.txt44 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
DVK_NV_dedicated_allocation.txt29 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.
DVK_KHR_maintenance3.txt27 * A limit on the maximum size of a single memory allocation.
29 allocation.
DVK_EXT_global_priority.txt28 The driver implementation will attempt to skew hardware resource allocation
44 The driver implementation may fail the queue allocation request if resources
DVK_EXT_pageable_device_local_memory.txt37 at the time memory consumption was queried, and a device-local allocation
46 memory and the application should adjust its memory allocation strategy
DVK_ANDROID_external_memory_android_hardware_buffer.txt62 allocation size reported by flink:vkGetImageMemoryRequirements to be
65 *RESOLVED*: Allow the allocation size to be unspecified when allocating the
68 basetype:AHardwareBuffer allocation happens in flink:vkAllocateMemory, and
DVK_EXT_image_drm_format_modifier.txt293 - *Undedicated allocation by default.* When importing or exporting a set
306 - *Separation of image creation and memory allocation.* When importing a
311 In Vulkan, image creation and memory allocation are independent unless a
312 dedicated allocation is used (as in `VK_KHR_dedicated_allocation`).
313 Therefore, without requiring dedicated allocation, Vulkan cannot query
316 Even if dedication allocation were required, Vulkan cannot calculate the
DVK_NV_dedicated_allocation_image_aliasing.txt22 image for which the allocation was created, and every other image parameter
DVK_EXT_memory_priority.txt17 This extension adds a pname:priority value specified at memory allocation
/device/generic/vulkan-cereal/protocols/vulkan/chapters/
Dmemory.txt25 [[memory-allocation]]
34 memory allocation logging.
36 …backs',desc='Structure containing callback function pointers for memory allocation',type='structs']
51 application-defined memory allocation function.
83 [open,refpage='PFN_vkAllocationFunction',desc='Application-defined memory allocation function',type…
92 * pname:size is the size in bytes of the requested allocation.
93 * pname:alignment is the requested alignment of the allocation in bytes
96 specifying the allocation scope of the lifetime of the allocation, as
97 described <<memory-host-allocation-scope,here>>.
102 If the allocation was successful, it must: return a valid pointer to memory
[all …]
DVK_EXT_private_data.txt40 * pname:pAllocator controls host memory allocation as described in the
41 <<memory-allocation, Memory Allocation>> chapter.
90 * pname:pAllocator controls host memory allocation as described in the
91 <<memory-allocation, Memory Allocation>> chapter.
DVK_EXT_debug_report.txt32 * pname:pAllocator controls host memory allocation as described in the
33 <<memory-allocation, Memory Allocation>> chapter.
283 * pname:pAllocator controls host memory allocation as described in the
284 <<memory-allocation, Memory Allocation>> chapter.
Dinitialization.txt231 ename:VK_ERROR_OUT_OF_HOST_MEMORY in the case of a failed memory allocation.
246 * pname:pAllocator controls host memory allocation as described in the
247 <<memory-allocation, Memory Allocation>> chapter.
487 * pname:pAllocator controls host memory allocation as described in the
488 <<memory-allocation, Memory Allocation>> chapter.
/device/generic/vulkan-cereal/protocols/vulkan/chapters/commonvalidity/
Dbind_image_common.txt16 If pname:image requires a dedicated allocation (as reported by
33 If the <<features-dedicatedAllocationImageAliasing,dedicated allocation
42 If the <<features-dedicatedAllocationImageAliasing,dedicated allocation
54 original image for which the allocation was created; and the
56 or smaller than the original image for which the allocation was created
/device/generic/vulkan-cereal/protocols/vulkan/chapters/VK_EXT_display_control/
Dfence_events.txt21 * pname:pAllocator controls host memory allocation as described in the
22 <<memory-allocation, Memory Allocation>> chapter.
69 * pname:pAllocator controls host memory allocation as described in the
70 <<memory-allocation, Memory Allocation>> chapter.
/device/generic/vulkan-cereal/protocols/vulkan/chapters/VK_NVX_device_generated_commands/
Dobjecttable.txt38 * pname:pAllocator controls host memory allocation as described in the
39 <<memory-allocation, Memory Allocation>> chapter.
172 * pname:pAllocator controls host memory allocation as described in the
173 <<memory-allocation, Memory Allocation>> chapter.
Dindirectcommands.txt238 * pname:pAllocator controls host memory allocation as described in the
239 <<memory-allocation, Memory Allocation>> chapter.
359 * pname:pAllocator controls host memory allocation as described in the
360 <<memory-allocation, Memory Allocation>> chapter.
/device/generic/vulkan-cereal/protocols/vulkan/chapters/VK_KHR_deferred_host_operations/
Ddeferred_host_operations.txt102 * pname:pAllocator controls host memory allocation as described in the
103 <<memory-allocation,Memory Allocation>> chapter.
175 * pname:pAllocator controls host memory allocation as described in the
176 <<memory-allocation,Memory Allocation>> chapter.
/device/generic/vulkan-cereal/protocols/vulkan/chapters/VK_NV_external_memory/
Dallocate_memory.txt22 Multiple handle types may: be requested for the same allocation as long

1234