Home
last modified time | relevance | path

Searched refs:pAllocateInfo (Results 1 – 25 of 66) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemory.cpp85 …(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemor… in Allocate() argument
90 VkResult result = vk::DeviceMemory::ParseAllocationInfo(pAllocateInfo, &extendedAllocationInfo); in Allocate()
96 result = Allocate(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
106 …(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemor… in Allocate() argument
112 …return AHardwareBufferExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocatio… in Allocate()
118 …return OpaqueFdExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, … in Allocate()
124 …return zircon::VmoExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInf… in Allocate()
129 …return ExternalMemoryHost::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, devi… in Allocate()
132 …return vk::DeviceMemoryInternal::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo… in Allocate()
135 DeviceMemory::DeviceMemory(const VkMemoryAllocateInfo *pAllocateInfo, Device *pDevice) in DeviceMemory() argument
[all …]
DVkDeviceMemory.hpp52 …(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemor…
126 …static VkResult ParseAllocationInfo(const VkMemoryAllocateInfo *pAllocateInfo, DeviceMemory::Exten…
127 …(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemor…
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRefUtil.cpp76 …ffer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo) in allocateCommandBuffer() argument
79 DE_ASSERT(pAllocateInfo->commandBufferCount == 1u); in allocateCommandBuffer()
80 VK_CHECK(vk.allocateCommandBuffers(device, pAllocateInfo, &object)); in allocateCommandBuffer()
81 …(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffer()
84 …rSet (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo) in allocateDescriptorSet() argument
87 DE_ASSERT(pAllocateInfo->descriptorSetCount == 1u); in allocateDescriptorSet()
88 VK_CHECK(vk.allocateDescriptorSets(device, pAllocateInfo, &object)); in allocateDescriptorSet()
89 …(check<VkDescriptorSet>(object), Deleter<VkDescriptorSet>(vk, device, pAllocateInfo->descriptorPoo… in allocateDescriptorSet()
189 const VkAllocationCallbacks* pAllocateInfo) in createEvent() argument
199 return createEvent(vk, device, &createInfo, pAllocateInfo); in createEvent()
DvkRefUtil.hpp55 …fer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo);
56 …Set (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo);
89 const VkAllocationCallbacks* pAllocateInfo = DE_NULL);
DvkNullDriver.cpp1270 …API_CALL allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAlloc… in allocateMemory() argument
1272 …locateInfo* const exportInfo = findStructure<VkExportMemoryAllocateInfo>(pAllocateInfo->pNext); in allocateMemory()
1273 …* const importInfo = findStructure<VkImportAndroidHardwareBufferInfoANDROID>(pAllocateInfo->pNext); in allocateMemory()
1279 …le<ExternalDeviceMemoryAndroid, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1286 …DispHandle<PrivateDeviceMemory, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1330 … allocateDescriptorSets (VkDevice, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorS… in allocateDescriptorSets() argument
1332 …DescriptorPool* const poolImpl = reinterpret_cast<DescriptorPool*>((deUintptr)pAllocateInfo->descr… in allocateDescriptorSets()
1334 for (deUint32 ndx = 0; ndx < pAllocateInfo->descriptorSetCount; ++ndx) in allocateDescriptorSets()
1338 pDescriptorSets[ndx] = poolImpl->allocate(pAllocateInfo->pSetLayouts[ndx]); in allocateDescriptorSets()
1376 …teCommandBuffers (VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuff… in allocateCommandBuffers() argument
[all …]
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_descriptor_set.h497 …ateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorS… in vn_sizeof_vkAllocateDescriptorSets() argument
504 cmd_size += vn_sizeof_simple_pointer(pAllocateInfo); in vn_sizeof_vkAllocateDescriptorSets()
505 if (pAllocateInfo) in vn_sizeof_vkAllocateDescriptorSets()
506 cmd_size += vn_sizeof_VkDescriptorSetAllocateInfo(pAllocateInfo); in vn_sizeof_vkAllocateDescriptorSets()
508 cmd_size += vn_sizeof_array_size((pAllocateInfo ? pAllocateInfo->descriptorSetCount : 0)); in vn_sizeof_vkAllocateDescriptorSets()
509 for (uint32_t i = 0; i < (pAllocateInfo ? pAllocateInfo->descriptorSetCount : 0); i++) in vn_sizeof_vkAllocateDescriptorSets()
518 …agsEXT cmd_flags, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorS… in vn_encode_vkAllocateDescriptorSets() argument
526 if (vn_encode_simple_pointer(enc, pAllocateInfo)) in vn_encode_vkAllocateDescriptorSets()
527 vn_encode_VkDescriptorSetAllocateInfo(enc, pAllocateInfo); in vn_encode_vkAllocateDescriptorSets()
529 vn_encode_array_size(enc, (pAllocateInfo ? pAllocateInfo->descriptorSetCount : 0)); in vn_encode_vkAllocateDescriptorSets()
[all …]
Dvn_protocol_driver_device_memory.h538 …_sizeof_vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAlloc… in vn_sizeof_vkAllocateMemory() argument
545 cmd_size += vn_sizeof_simple_pointer(pAllocateInfo); in vn_sizeof_vkAllocateMemory()
546 if (pAllocateInfo) in vn_sizeof_vkAllocateMemory()
547 cmd_size += vn_sizeof_VkMemoryAllocateInfo(pAllocateInfo); in vn_sizeof_vkAllocateMemory()
558 …mmandFlagsEXT cmd_flags, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAlloc… in vn_encode_vkAllocateMemory() argument
566 if (vn_encode_simple_pointer(enc, pAllocateInfo)) in vn_encode_vkAllocateMemory()
567 vn_encode_VkMemoryAllocateInfo(enc, pAllocateInfo); in vn_encode_vkAllocateMemory()
574 …f_vkAllocateMemory_reply(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAlloc… in vn_sizeof_vkAllocateMemory_reply() argument
591 …ruct vn_cs_decoder *dec, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAlloc… in vn_decode_vkAllocateMemory_reply() argument
945 …mmandFlagsEXT cmd_flags, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAlloc… in vn_submit_vkAllocateMemory() argument
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c74 const VkCommandBufferAllocateInfo* pAllocateInfo, in lvp_AllocateCommandBuffers() argument
78 LVP_FROM_HANDLE(lvp_cmd_pool, pool, pAllocateInfo->commandPool); in lvp_AllocateCommandBuffers()
83 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) { in lvp_AllocateCommandBuffers()
95 pAllocateInfo->level); in lvp_AllocateCommandBuffers()
101 result = lvp_create_cmd_buffer(device, pool, pAllocateInfo->level, in lvp_AllocateCommandBuffers()
109 lvp_FreeCommandBuffers(_device, pAllocateInfo->commandPool, in lvp_AllocateCommandBuffers()
112 sizeof(*pCommandBuffers) * pAllocateInfo->commandBufferCount); in lvp_AllocateCommandBuffers()
Dlvp_descriptor_set.c361 const VkDescriptorSetAllocateInfo* pAllocateInfo, in lvp_AllocateDescriptorSets() argument
365 LVP_FROM_HANDLE(lvp_descriptor_pool, pool, pAllocateInfo->descriptorPool); in lvp_AllocateDescriptorSets()
370 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in lvp_AllocateDescriptorSets()
372 pAllocateInfo->pSetLayouts[i]); in lvp_AllocateDescriptorSets()
383 lvp_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in lvp_AllocateDescriptorSets()
Dlvp_device.c1625 const VkMemoryAllocateInfo* pAllocateInfo, in lvp_AllocateMemory() argument
1635 assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO); in lvp_AllocateMemory()
1637 if (pAllocateInfo->allocationSize == 0) { in lvp_AllocateMemory()
1643 vk_foreach_struct_const(ext, pAllocateInfo->pNext) { in lvp_AllocateMemory()
1691 if(size < pAllocateInfo->allocationSize) { in lvp_AllocateMemory()
1705 …mem->pmem = device->pscreen->allocate_memory_fd(device->pscreen, pAllocateInfo->allocationSize, &m… in lvp_AllocateMemory()
1713 mem->pmem = device->pscreen->allocate_memory(device->pscreen, pAllocateInfo->allocationSize); in lvp_AllocateMemory()
1719 memset(mem->pmem, UINT8_MAX / 2 + 1, pAllocateInfo->allocationSize); in lvp_AllocateMemory()
1722 mem->type_index = pAllocateInfo->memoryTypeIndex; in lvp_AllocateMemory()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_device_memory.c404 const VkMemoryAllocateInfo *pAllocateInfo, in vn_AllocateMemory() argument
416 mem_props->memoryTypes[pAllocateInfo->memoryTypeIndex].propertyFlags; in vn_AllocateMemory()
423 vk_foreach_struct_const(pnext, pAllocateInfo->pNext) { in vn_AllocateMemory()
451 mem->size = pAllocateInfo->allocationSize; in vn_AllocateMemory()
457 result = vn_android_device_import_ahb(dev, mem, pAllocateInfo, alloc, in vn_AllocateMemory()
460 result = vn_android_device_allocate_ahb(dev, mem, pAllocateInfo, alloc); in vn_AllocateMemory()
462 result = vn_device_memory_import_dma_buf(dev, mem, pAllocateInfo, false, in vn_AllocateMemory()
465 result = vn_device_memory_alloc(dev, mem, pAllocateInfo, in vn_AllocateMemory()
467 } else if (vn_device_memory_should_suballocate(dev, pAllocateInfo, in vn_AllocateMemory()
470 dev, mem, pAllocateInfo->memoryTypeIndex); in vn_AllocateMemory()
[all …]
Dvn_descriptor_set.c481 const VkDescriptorSetAllocateInfo *pAllocateInfo, in vn_AllocateDescriptorSets() argument
487 vn_descriptor_pool_from_handle(pAllocateInfo->descriptorPool); in vn_AllocateDescriptorSets()
499 pAllocateInfo->pNext, in vn_AllocateDescriptorSets()
505 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in vn_AllocateDescriptorSets()
507 vn_descriptor_set_layout_from_handle(pAllocateInfo->pSetLayouts[i]); in vn_AllocateDescriptorSets()
567 vn_async_vkAllocateDescriptorSets(dev->instance, device, pAllocateInfo, in vn_AllocateDescriptorSets()
571 dev->instance, device, pAllocateInfo, pDescriptorSets); in vn_AllocateDescriptorSets()
579 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in vn_AllocateDescriptorSets()
592 sizeof(*pDescriptorSets) * pAllocateInfo->descriptorSetCount); in vn_AllocateDescriptorSets()
Dvn_command_buffer.c536 const VkCommandBufferAllocateInfo *pAllocateInfo, in vn_AllocateCommandBuffers() argument
542 vn_command_pool_from_handle(pAllocateInfo->commandPool); in vn_AllocateCommandBuffers()
545 for (uint32_t i = 0; i < pAllocateInfo->commandBufferCount; i++) { in vn_AllocateCommandBuffers()
558 sizeof(*pCommandBuffers) * pAllocateInfo->commandBufferCount); in vn_AllocateCommandBuffers()
566 cmd->level = pAllocateInfo->level; in vn_AllocateCommandBuffers()
579 vn_async_vkAllocateCommandBuffers(dev->instance, device, pAllocateInfo, in vn_AllocateCommandBuffers()
/third_party/mesa3d/src/intel/vulkan/
Danv_android_stubs.c60 const VkMemoryAllocateInfo *pAllocateInfo) in anv_create_ahw_memory() argument
Danv_android.h56 const VkMemoryAllocateInfo *pAllocateInfo);
Danv_android.c419 const VkMemoryAllocateInfo *pAllocateInfo) in anv_create_ahw_memory() argument
423 vk_find_struct_const(pAllocateInfo->pNext, in anv_create_ahw_memory()
447 w = pAllocateInfo->allocationSize; in anv_create_ahw_memory()
Danv_cmd_buffer.c150 const VkCommandBufferAllocateInfo* pAllocateInfo, in anv_AllocateCommandBuffers() argument
154 VK_FROM_HANDLE(vk_command_pool, pool, pAllocateInfo->commandPool); in anv_AllocateCommandBuffers()
159 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) { in anv_AllocateCommandBuffers()
160 result = anv_create_cmd_buffer(device, pool, pAllocateInfo->level, in anv_AllocateCommandBuffers()
171 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) in anv_AllocateCommandBuffers()
Danv_descriptor_set.c1276 const VkDescriptorSetAllocateInfo* pAllocateInfo, in anv_AllocateDescriptorSets() argument
1280 ANV_FROM_HANDLE(anv_descriptor_pool, pool, pAllocateInfo->descriptorPool); in anv_AllocateDescriptorSets()
1287 vk_find_struct_const(pAllocateInfo->pNext, in anv_AllocateDescriptorSets()
1290 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in anv_AllocateDescriptorSets()
1292 pAllocateInfo->pSetLayouts[i]); in anv_AllocateDescriptorSets()
1296 assert(vdcai->descriptorSetCount == pAllocateInfo->descriptorSetCount); in anv_AllocateDescriptorSets()
1309 anv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in anv_AllocateDescriptorSets()
1318 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) in anv_AllocateDescriptorSets()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_descriptor_set.c351 const VkDescriptorSetAllocateInfo *pAllocateInfo, in panvk_per_arch()
355 VK_FROM_HANDLE(panvk_descriptor_pool, pool, pAllocateInfo->descriptorPool); in panvk_per_arch()
359 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in panvk_per_arch()
361 pAllocateInfo->pSetLayouts[i]); in panvk_per_arch()
374 panvk_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, i, pDescriptorSets); in panvk_per_arch()
375 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) in panvk_per_arch()
Dpanvk_vX_cmd_buffer.c1171 const VkCommandBufferAllocateInfo *pAllocateInfo, in panvk_per_arch()
1175 VK_FROM_HANDLE(panvk_cmd_pool, pool, pAllocateInfo->commandPool); in panvk_per_arch()
1180 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) { in panvk_per_arch()
1191 result = vk_command_buffer_init(&cmdbuf->vk, &pool->vk, pAllocateInfo->level); in panvk_per_arch()
1193 result = panvk_create_cmdbuf(device, pool, pAllocateInfo->level, &cmdbuf); in panvk_per_arch()
1205 panvk_per_arch(FreeCommandBuffers)(_device, pAllocateInfo->commandPool, i, in panvk_per_arch()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c801 const VkDescriptorSetAllocateInfo *pAllocateInfo, in tu_AllocateDescriptorSets() argument
805 TU_FROM_HANDLE(tu_descriptor_pool, pool, pAllocateInfo->descriptorPool); in tu_AllocateDescriptorSets()
812 …vk_find_struct_const(pAllocateInfo->pNext, DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO); in tu_AllocateDescriptorSets()
816 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in tu_AllocateDescriptorSets()
818 pAllocateInfo->pSetLayouts[i]); in tu_AllocateDescriptorSets()
838 tu_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in tu_AllocateDescriptorSets()
840 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in tu_AllocateDescriptorSets()
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c764 unsigned priority, const VkMemoryAllocateInfo *pAllocateInfo) in radv_create_ahb_memory() argument
768 vk_find_struct_const(pAllocateInfo->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); in radv_create_ahb_memory()
790 w = pAllocateInfo->allocationSize; in radv_create_ahb_memory()
Dradv_descriptor_set.c947 radv_AllocateDescriptorSets(VkDevice _device, const VkDescriptorSetAllocateInfo *pAllocateInfo, in radv_AllocateDescriptorSets() argument
951 RADV_FROM_HANDLE(radv_descriptor_pool, pool, pAllocateInfo->descriptorPool); in radv_AllocateDescriptorSets()
958 pAllocateInfo->pNext, DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO); in radv_AllocateDescriptorSets()
962 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in radv_AllocateDescriptorSets()
963 RADV_FROM_HANDLE(radv_descriptor_set_layout, layout, pAllocateInfo->pSetLayouts[i]); in radv_AllocateDescriptorSets()
983 radv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, i, pDescriptorSets); in radv_AllocateDescriptorSets()
984 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in radv_AllocateDescriptorSets()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_descriptor_set.c1231 const VkDescriptorSetAllocateInfo *pAllocateInfo, in pvr_AllocateDescriptorSets() argument
1234 PVR_FROM_HANDLE(pvr_descriptor_pool, pool, pAllocateInfo->descriptorPool); in pvr_AllocateDescriptorSets()
1239 vk_foreach_struct_const (ext, pAllocateInfo->pNext) { in pvr_AllocateDescriptorSets()
1243 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in pvr_AllocateDescriptorSets()
1246 pAllocateInfo->pSetLayouts[i]); in pvr_AllocateDescriptorSets()
1260 pAllocateInfo->descriptorPool, in pvr_AllocateDescriptorSets()
1264 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) in pvr_AllocateDescriptorSets()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c921 const VkDescriptorSetAllocateInfo *pAllocateInfo, in v3dv_AllocateDescriptorSets() argument
925 V3DV_FROM_HANDLE(v3dv_descriptor_pool, pool, pAllocateInfo->descriptorPool); in v3dv_AllocateDescriptorSets()
931 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in v3dv_AllocateDescriptorSets()
933 pAllocateInfo->pSetLayouts[i]); in v3dv_AllocateDescriptorSets()
943 v3dv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in v3dv_AllocateDescriptorSets()
945 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in v3dv_AllocateDescriptorSets()

123