Home
last modified time | relevance | path

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

123

/external/swiftshader/src/Vulkan/
DVkDeviceMemory.cpp36 void (*instanceInit)(void *external, const VkMemoryAllocateInfo *pAllocateInfo);
44 static bool parseCreateInfo(const VkMemoryAllocateInfo *pAllocateInfo, in parseCreateInfo() argument
47 if(T::SupportsAllocateInfo(pAllocateInfo)) in parseCreateInfo()
52 const VkMemoryAllocateInfo *pAllocateInfo) { in parseCreateInfo() argument
53 new(external) T(pAllocateInfo); in parseCreateInfo()
69 static bool SupportsAllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in SupportsAllocateInfo() argument
74 DeviceMemoryHostExternalBase(const VkMemoryAllocateInfo *pAllocateInfo) {} in DeviceMemoryHostExternalBase() argument
123 AllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in AllocateInfo()
125 const auto *createInfo = reinterpret_cast<const VkBaseInStructure *>(pAllocateInfo->pNext); in AllocateInfo()
152 static bool SupportsAllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in SupportsAllocateInfo() argument
[all …]
DVkDeviceMemoryExternalFuchsia.hpp39 AllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in AllocateInfo()
41 const auto *extInfo = reinterpret_cast<const VkBaseInStructure *>(pAllocateInfo->pNext); in AllocateInfo()
85 static bool supportsAllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in supportsAllocateInfo() argument
87 AllocateInfo info(pAllocateInfo); in supportsAllocateInfo()
91 explicit VmoExternalMemory(const VkMemoryAllocateInfo *pAllocateInfo) in VmoExternalMemory() argument
92 : allocateInfo(pAllocateInfo) in VmoExternalMemory()
DVkDeviceMemoryExternalLinux.hpp27 static bool SupportsAllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in SupportsAllocateInfo() argument
29 OpaqueFdAllocateInfo info(pAllocateInfo); in SupportsAllocateInfo()
33 explicit OpaqueFdExternalMemory(const VkMemoryAllocateInfo *pAllocateInfo) in OpaqueFdExternalMemory() argument
34 : allocateInfo(pAllocateInfo) in OpaqueFdExternalMemory()
DVkDeviceMemoryExternalAndroid.hpp43 AllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo);
48 static bool SupportsAllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in SupportsAllocateInfo() argument
50 AllocateInfo info(pAllocateInfo); in SupportsAllocateInfo()
54 explicit AHardwareBufferExternalMemory(const VkMemoryAllocateInfo *pAllocateInfo);
DVkDeviceMemoryExternalMac.hpp63 static bool SupportsAllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in SupportsAllocateInfo() argument
65 OpaqueFdAllocateInfo info(pAllocateInfo); in SupportsAllocateInfo()
69 explicit OpaqueFdExternalMemory(const VkMemoryAllocateInfo *pAllocateInfo) in OpaqueFdExternalMemory() argument
70 : allocateInfo(pAllocateInfo) in OpaqueFdExternalMemory()
DVkDeviceMemoryExternalAndroid.cpp167 AHardwareBufferExternalMemory::AllocateInfo::AllocateInfo(const VkMemoryAllocateInfo *pAllocateInfo) in AllocateInfo() argument
169 const auto *createInfo = reinterpret_cast<const VkBaseInStructure *>(pAllocateInfo->pNext); in AllocateInfo()
212 …dwareBufferExternalMemory::AHardwareBufferExternalMemory(const VkMemoryAllocateInfo *pAllocateInfo) in AHardwareBufferExternalMemory() argument
213 : allocateInfo(pAllocateInfo) in AHardwareBufferExternalMemory()
DlibVulkan.cpp1025 …PI_CALL vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAlloc… in vkAllocateMemory() argument
1028 device, pAllocateInfo, pAllocator, pMemory); in vkAllocateMemory()
1030 …aseInStructure *allocationInfo = reinterpret_cast<const VkBaseInStructure *>(pAllocateInfo->pNext); in vkAllocateMemory()
1114 VkResult result = vk::DeviceMemory::Create(pAllocator, pAllocateInfo, pMemory, vk::Cast(device)); in vkAllocateMemory()
2246 …ateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorS… in vkAllocateDescriptorSets() argument
2249 device, pAllocateInfo, pDescriptorSets); in vkAllocateDescriptorSets()
2251 auto extInfo = reinterpret_cast<VkBaseInStructure const *>(pAllocateInfo->pNext); in vkAllocateDescriptorSets()
2258 …return vk::Cast(pAllocateInfo->descriptorPool)->allocateSets(pAllocateInfo->descriptorSetCount, pA… in vkAllocateDescriptorSets()
2374 …ateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo *pAllocateInfo, VkCommandBuff… in vkAllocateCommandBuffers() argument
2377 device, pAllocateInfo, pCommandBuffers); in vkAllocateCommandBuffers()
[all …]
/external/deqp/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.cpp1249 …API_CALL allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAlloc… in allocateMemory() argument
1251 …locateInfo* const exportInfo = findStructure<VkExportMemoryAllocateInfo>(pAllocateInfo->pNext); in allocateMemory()
1252 …* const importInfo = findStructure<VkImportAndroidHardwareBufferInfoANDROID>(pAllocateInfo->pNext); in allocateMemory()
1258 …le<ExternalDeviceMemoryAndroid, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1265 …DispHandle<PrivateDeviceMemory, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1309 … allocateDescriptorSets (VkDevice, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorS… in allocateDescriptorSets() argument
1311 …DescriptorPool* const poolImpl = reinterpret_cast<DescriptorPool*>((deUintptr)pAllocateInfo->descr… in allocateDescriptorSets()
1313 for (deUint32 ndx = 0; ndx < pAllocateInfo->descriptorSetCount; ++ndx) in allocateDescriptorSets()
1317 pDescriptorSets[ndx] = poolImpl->allocate(pAllocateInfo->pSetLayouts[ndx]); in allocateDescriptorSets()
1355 …teCommandBuffers (VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuff… in allocateCommandBuffers() argument
[all …]
/external/vulkan-validation-layers/layers/
Dobject_tracker_utils.cpp565 …llValidateAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo *pAllocateInfo, in PreCallValidateAllocateCommandBuffers() argument
570 skip |= ValidateObject(device, pAllocateInfo->commandPool, kVulkanObjectTypeCommandPool, false, in PreCallValidateAllocateCommandBuffers()
575 …CallRecordAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo *pAllocateInfo, in PostCallRecordAllocateCommandBuffers() argument
578 for (uint32_t i = 0; i < pAllocateInfo->commandBufferCount; i++) { in PostCallRecordAllocateCommandBuffers()
579 …AllocateCommandBuffer(device, pAllocateInfo->commandPool, pCommandBuffers[i], pAllocateInfo->level… in PostCallRecordAllocateCommandBuffers()
583 …llValidateAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, in PreCallValidateAllocateDescriptorSets() argument
589 …skip |= ValidateObject(device, pAllocateInfo->descriptorPool, kVulkanObjectTypeDescriptorPool, fal… in PreCallValidateAllocateDescriptorSets()
592 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in PreCallValidateAllocateDescriptorSets()
593 …skip |= ValidateObject(device, pAllocateInfo->pSetLayouts[i], kVulkanObjectTypeDescriptorSetLayout… in PreCallValidateAllocateDescriptorSets()
600 …CallRecordAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, in PostCallRecordAllocateDescriptorSets() argument
[all …]
Dbest_practices.h48 bool PreCallValidateAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo,
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c272 const VkDescriptorSetAllocateInfo* pAllocateInfo, in lvp_AllocateDescriptorSets() argument
276 LVP_FROM_HANDLE(lvp_descriptor_pool, pool, pAllocateInfo->descriptorPool); in lvp_AllocateDescriptorSets()
281 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in lvp_AllocateDescriptorSets()
283 pAllocateInfo->pSetLayouts[i]); in lvp_AllocateDescriptorSets()
294 lvp_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in lvp_AllocateDescriptorSets()
Dlvp_cmd_buffer.c79 const VkCommandBufferAllocateInfo* pAllocateInfo, in lvp_AllocateCommandBuffers() argument
83 LVP_FROM_HANDLE(lvp_cmd_pool, pool, pAllocateInfo->commandPool); in lvp_AllocateCommandBuffers()
88 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) { in lvp_AllocateCommandBuffers()
97 cmd_buffer->level = 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()
/external/mesa3d/src/intel/vulkan/
Danv_android_stubs.c54 const VkMemoryAllocateInfo *pAllocateInfo) in anv_create_ahw_memory() argument
Danv_android.h56 const VkMemoryAllocateInfo *pAllocateInfo);
Danv_android.c330 const VkMemoryAllocateInfo *pAllocateInfo) in anv_create_ahw_memory() argument
336 vk_find_struct_const(pAllocateInfo->pNext, in anv_create_ahw_memory()
360 w = pAllocateInfo->allocationSize; in anv_create_ahw_memory()
Danv_cmd_buffer.c287 const VkCommandBufferAllocateInfo* pAllocateInfo, in anv_AllocateCommandBuffers() argument
291 ANV_FROM_HANDLE(anv_cmd_pool, pool, pAllocateInfo->commandPool); in anv_AllocateCommandBuffers()
296 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) { in anv_AllocateCommandBuffers()
297 result = anv_create_cmd_buffer(device, pool, pAllocateInfo->level, in anv_AllocateCommandBuffers()
304 anv_FreeCommandBuffers(_device, pAllocateInfo->commandPool, in anv_AllocateCommandBuffers()
306 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) in anv_AllocateCommandBuffers()
Danv_descriptor_set.c1182 const VkDescriptorSetAllocateInfo* pAllocateInfo, in anv_AllocateDescriptorSets() argument
1186 ANV_FROM_HANDLE(anv_descriptor_pool, pool, pAllocateInfo->descriptorPool); in anv_AllocateDescriptorSets()
1193 vk_find_struct_const(pAllocateInfo->pNext, in anv_AllocateDescriptorSets()
1196 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in anv_AllocateDescriptorSets()
1198 pAllocateInfo->pSetLayouts[i]); in anv_AllocateDescriptorSets()
1202 assert(vdcai->descriptorSetCount == pAllocateInfo->descriptorSetCount); in anv_AllocateDescriptorSets()
1215 anv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in anv_AllocateDescriptorSets()
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c652 const VkDescriptorSetAllocateInfo *pAllocateInfo, in tu_AllocateDescriptorSets() argument
656 TU_FROM_HANDLE(tu_descriptor_pool, pool, pAllocateInfo->descriptorPool); in tu_AllocateDescriptorSets()
663 …vk_find_struct_const(pAllocateInfo->pNext, DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_… in tu_AllocateDescriptorSets()
667 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in tu_AllocateDescriptorSets()
669 pAllocateInfo->pSetLayouts[i]); in tu_AllocateDescriptorSets()
689 tu_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in tu_AllocateDescriptorSets()
691 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in tu_AllocateDescriptorSets()
Dtu_device.c1413 const VkMemoryAllocateInfo *pAllocateInfo, in tu_AllocateMemory() argument
1421 assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO); in tu_AllocateMemory()
1423 if (pAllocateInfo->allocationSize == 0) { in tu_AllocateMemory()
1435 vk_find_struct_const(pAllocateInfo->pNext, IMPORT_MEMORY_FD_INFO_KHR); in tu_AllocateMemory()
1451 pAllocateInfo->allocationSize, fd_info->fd); in tu_AllocateMemory()
1458 tu_bo_init_new(device, &mem->bo, pAllocateInfo->allocationSize, false); in tu_AllocateMemory()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c859 const VkDescriptorSetAllocateInfo *pAllocateInfo, in v3dv_AllocateDescriptorSets() argument
863 V3DV_FROM_HANDLE(v3dv_descriptor_pool, pool, pAllocateInfo->descriptorPool); in v3dv_AllocateDescriptorSets()
869 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in v3dv_AllocateDescriptorSets()
871 pAllocateInfo->pSetLayouts[i]); in v3dv_AllocateDescriptorSets()
881 v3dv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in v3dv_AllocateDescriptorSets()
883 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in v3dv_AllocateDescriptorSets()
Dv3dv_device.c1636 const VkMemoryAllocateInfo *pAllocateInfo, in v3dv_AllocateMemory() argument
1644 assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO); in v3dv_AllocateMemory()
1647 assert(pAllocateInfo->allocationSize > 0); in v3dv_AllocateMemory()
1654 assert(pAllocateInfo->memoryTypeIndex < pdevice->memory.memoryTypeCount); in v3dv_AllocateMemory()
1655 mem->type = &pdevice->memory.memoryTypes[pAllocateInfo->memoryTypeIndex]; in v3dv_AllocateMemory()
1661 vk_foreach_struct_const(ext, pAllocateInfo->pNext) { in v3dv_AllocateMemory()
1678 pAllocateInfo->allocationSize); in v3dv_AllocateMemory()
1683 fd_info->fd, pAllocateInfo->allocationSize, in v3dv_AllocateMemory()
1689 result = device_alloc(device, mem, pAllocateInfo->allocationSize); in v3dv_AllocateMemory()
/external/mesa3d/src/amd/vulkan/
Dradv_android.c790 const VkMemoryAllocateInfo *pAllocateInfo) in radv_create_ahb_memory() argument
794 vk_find_struct_const(pAllocateInfo->pNext, in radv_create_ahb_memory()
818 w = pAllocateInfo->allocationSize; in radv_create_ahb_memory()
Dradv_descriptor_set.c806 const VkDescriptorSetAllocateInfo* pAllocateInfo, in radv_AllocateDescriptorSets() argument
810 RADV_FROM_HANDLE(radv_descriptor_pool, pool, pAllocateInfo->descriptorPool); in radv_AllocateDescriptorSets()
817 …vk_find_struct_const(pAllocateInfo->pNext, DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO); in radv_AllocateDescriptorSets()
821 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in radv_AllocateDescriptorSets()
823 pAllocateInfo->pSetLayouts[i]); in radv_AllocateDescriptorSets()
843 radv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in radv_AllocateDescriptorSets()
845 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in radv_AllocateDescriptorSets()

123