/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_device_memory.c | 193 const VkMemoryAllocateInfo *alloc_info, in vn_device_memory_should_suballocate() 213 if (alloc_info->allocationSize > 64 * 1024) in vn_device_memory_should_suballocate() 219 if (alloc_info->pNext) { in vn_device_memory_should_suballocate() 220 const VkMemoryDedicatedAllocateInfo *dedicated = alloc_info->pNext; in vn_device_memory_should_suballocate() 245 const VkMemoryAllocateInfo *alloc_info, in vn_device_memory_import_dma_buf() 254 mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags; in vn_device_memory_import_dma_buf() 262 dev->renderer, alloc_info->allocationSize, fd, mem_flags, &bo); in vn_device_memory_import_dma_buf() 271 .pNext = alloc_info->pNext, in vn_device_memory_import_dma_buf() 277 .allocationSize = alloc_info->allocationSize, in vn_device_memory_import_dma_buf() 278 .memoryTypeIndex = alloc_info in vn_device_memory_import_dma_buf() 192 vn_device_memory_should_suballocate(const struct vn_device *dev, const VkMemoryAllocateInfo *alloc_info, const VkMemoryPropertyFlags flags) vn_device_memory_should_suballocate() argument 243 vn_device_memory_import_dma_buf(struct vn_device *dev, struct vn_device_memory *mem, const VkMemoryAllocateInfo *alloc_info, bool force_unmappable, int fd) vn_device_memory_import_dma_buf() argument 295 vn_device_memory_alloc_guest_vram( struct vn_device *dev, struct vn_device_memory *mem, const VkMemoryAllocateInfo *alloc_info, VkExternalMemoryHandleTypeFlags external_handles) vn_device_memory_alloc_guest_vram() argument 348 vn_device_memory_alloc_generic( struct vn_device *dev, struct vn_device_memory *mem, const VkMemoryAllocateInfo *alloc_info, VkExternalMemoryHandleTypeFlags external_handles) vn_device_memory_alloc_generic() argument 385 vn_device_memory_alloc(struct vn_device *dev, struct vn_device_memory *mem, const VkMemoryAllocateInfo *alloc_info, VkExternalMemoryHandleTypeFlags external_handles) vn_device_memory_alloc() argument [all...] |
H A D | vn_android.h | 59 const VkMemoryAllocateInfo *alloc_info, 67 const VkMemoryAllocateInfo *alloc_info, 141 UNUSED const VkMemoryAllocateInfo *alloc_info, in vn_android_device_import_ahb() 152 UNUSED const VkMemoryAllocateInfo *alloc_info, in vn_android_device_allocate_ahb() 139 vn_android_device_import_ahb(UNUSED struct vn_device *dev, UNUSED struct vn_device_memory *mem, UNUSED const VkMemoryAllocateInfo *alloc_info, UNUSED const VkAllocationCallbacks *alloc, UNUSED struct AHardwareBuffer *ahb, UNUSED bool internal_ahb) vn_android_device_import_ahb() argument 150 vn_android_device_allocate_ahb(UNUSED struct vn_device *dev, UNUSED struct vn_device_memory *mem, UNUSED const VkMemoryAllocateInfo *alloc_info, UNUSED const VkAllocationCallbacks *alloc) vn_android_device_allocate_ahb() argument
|
H A D | vn_android.c | 1135 const VkMemoryAllocateInfo *alloc_info, in vn_android_device_import_ahb() 1141 vk_find_struct_const(alloc_info->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); in vn_android_device_import_ahb() 1147 uint32_t mem_type_index = alloc_info->memoryTypeIndex; in vn_android_device_import_ahb() 1268 const VkMemoryAllocateInfo *alloc_info, in vn_android_device_allocate_ahb() 1272 vk_find_struct_const(alloc_info->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); in vn_android_device_allocate_ahb() 1293 assert(alloc_info->memoryTypeIndex < mem_props->memoryTypeCount); in vn_android_device_allocate_ahb() 1295 width = alloc_info->allocationSize; in vn_android_device_allocate_ahb() 1298 if (mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags & in vn_android_device_allocate_ahb() 1310 vn_android_device_import_ahb(dev, mem, alloc_info, alloc, ahb, true); in vn_android_device_allocate_ahb() 1133 vn_android_device_import_ahb(struct vn_device *dev, struct vn_device_memory *mem, const VkMemoryAllocateInfo *alloc_info, const VkAllocationCallbacks *alloc, struct AHardwareBuffer *ahb, bool internal_ahb) vn_android_device_import_ahb() argument 1266 vn_android_device_allocate_ahb(struct vn_device *dev, struct vn_device_memory *mem, const VkMemoryAllocateInfo *alloc_info, const VkAllocationCallbacks *alloc) vn_android_device_allocate_ahb() argument
|
H A D | vn_device_memory.h | 53 const VkMemoryAllocateInfo *alloc_info,
|
/third_party/vulkan-loader/tests/live_verification/ |
H A D | dynamic_rendering_get_proc_addr.cpp | 72 VkCommandBufferAllocateInfo alloc_info{}; in main() 73 alloc_info.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in main() 74 alloc_info.commandBufferCount = 1; in main() 75 alloc_info.commandPool = command_pool; in main() 76 funcs.vkAllocateCommandBuffers(dev, &alloc_info, &command_buffer); in main()
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | resource.cc | 143 VkMemoryAllocateInfo alloc_info = VkMemoryAllocateInfo(); in AllocateMemory() local 144 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in AllocateMemory() 145 alloc_info.allocationSize = size; in AllocateMemory() 146 alloc_info.memoryTypeIndex = memory_type_index; in AllocateMemory() 147 if (device_->GetPtrs()->vkAllocateMemory(device_->GetVkDevice(), &alloc_info, in AllocateMemory()
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_vulkan.cpp | 362 VkMemoryAllocateInfo alloc_info = {}; in CreateOrResizeBuffer() local 363 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in CreateOrResizeBuffer() 364 alloc_info.allocationSize = req.size; in CreateOrResizeBuffer() 365 alloc_info.memoryTypeIndex = ImGui_ImplVulkan_MemoryType(VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, req.memoryTypeBits); in CreateOrResizeBuffer() 366 err = vkAllocateMemory(v->Device, &alloc_info, v->Allocator, &buffer_memory); in CreateOrResizeBuffer() 575 VkMemoryAllocateInfo alloc_info = {}; in ImGui_ImplVulkan_CreateFontsTexture() local 576 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImGui_ImplVulkan_CreateFontsTexture() 577 alloc_info.allocationSize = req.size; in ImGui_ImplVulkan_CreateFontsTexture() 578 alloc_info.memoryTypeIndex = ImGui_ImplVulkan_MemoryType(VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, req.memoryTypeBits); in ImGui_ImplVulkan_CreateFontsTexture() 579 err = vkAllocateMemory(v->Device, &alloc_info, in ImGui_ImplVulkan_CreateFontsTexture() 626 VkMemoryAllocateInfo alloc_info = {}; ImGui_ImplVulkan_CreateFontsTexture() local 931 VkDescriptorSetAllocateInfo alloc_info = {}; ImGui_ImplVulkan_CreateDeviceObjects() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
H A D | vulkan_command_buffer_utils.cpp | 1140 VkMemoryAllocateInfo alloc_info = {}; in init_uniform_buffer() local 1141 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_uniform_buffer() 1142 alloc_info.pNext = NULL; in init_uniform_buffer() 1143 alloc_info.memoryTypeIndex = 0; in init_uniform_buffer() 1145 alloc_info.allocationSize = mem_reqs.size; in init_uniform_buffer() 1149 &alloc_info.memoryTypeIndex); in init_uniform_buffer() 1152 res = vkAllocateMemory(info.device, &alloc_info, NULL, &(info.uniform_data.mem)); in init_uniform_buffer() 1343 VkMemoryAllocateInfo alloc_info = {}; in init_vertex_buffer() local 1344 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_vertex_buffer() 1345 alloc_info in init_vertex_buffer() 1418 VkDescriptorSetAllocateInfo alloc_info[1]; init_descriptor_set() local [all...] |
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | overlay.cpp | 1151 VkMemoryAllocateInfo alloc_info = {}; in CreateOrResizeBuffer() local 1152 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in CreateOrResizeBuffer() 1153 alloc_info.allocationSize = req.size; in CreateOrResizeBuffer() 1154 alloc_info.memoryTypeIndex = in CreateOrResizeBuffer() 1156 VK_CHECK(data->vtable.AllocateMemory(data->device, &alloc_info, NULL, buffer_memory)); in CreateOrResizeBuffer() 1488 VkDescriptorSetAllocateInfo alloc_info = {}; in setup_swapchain_data_pipeline() local 1489 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in setup_swapchain_data_pipeline() 1490 alloc_info.descriptorPool = data->descriptor_pool; in setup_swapchain_data_pipeline() 1491 alloc_info.descriptorSetCount = 1; in setup_swapchain_data_pipeline() 1492 alloc_info in setup_swapchain_data_pipeline() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | vulkan.c | 145 VkMemoryAllocateInfo alloc_info = { in vk_alloc_mem() local 154 alloc_info.allocationSize = req->size; in vk_alloc_mem() 178 alloc_info.memoryTypeIndex = index; in vk_alloc_mem() 180 ret = vk->AllocateMemory(s->hwctx->act_dev, &alloc_info, in vk_alloc_mem() 1144 VkDescriptorSetAllocateInfo alloc_info = { in ff_vk_init_pipeline_layout() local 1155 ret = vk->AllocateDescriptorSets(s->hwctx->act_dev, &alloc_info, in ff_vk_init_pipeline_layout()
|
H A D | hwcontext_vulkan.c | 1668 VkMemoryAllocateInfo alloc_info = { in alloc_mem() local 1702 alloc_info.memoryTypeIndex = index; in alloc_mem() 1704 ret = vk->AllocateMemory(dev_hwctx->act_dev, &alloc_info, in alloc_mem()
|
/third_party/vulkan-loader/tests/ |
H A D | loader_unknown_ext_tests.cpp | 609 VkCommandBufferAllocateInfo alloc_info{}; in get_dispatch_handle() 610 alloc_info.commandBufferCount = 1; in get_dispatch_handle() 611 alloc_info.commandPool = command_pool; in get_dispatch_handle() 612 funcs.vkAllocateCommandBuffers(dev, &alloc_info, &command_buffer); in get_dispatch_handle()
|
/third_party/glfw/tests/ |
H A D | triangle-vulkan.c | 1382 VkDescriptorSetAllocateInfo alloc_info = { in demo_prepare_descriptor_set() local 1388 err = vkAllocateDescriptorSets(demo->device, &alloc_info, &demo->desc_set); in demo_prepare_descriptor_set()
|
/third_party/node/src/ |
H A D | node_http2.cc | 504 nghttp2_mem alloc_info = MakeAllocator(); in Http2Session() local 517 &alloc_info), 0); in Http2Session()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_meta_copy.c | 2345 VkMemoryAllocateInfo alloc_info = { in copy_buffer_to_image_blit() local 2350 result = v3dv_AllocateMemory(_device, &alloc_info, &device->vk.alloc, &mem); in copy_buffer_to_image_blit()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_device.c | 3103 VkMemoryAllocateInfo alloc_info = { in radv_device_init_vrs_state() local 3108 result = radv_AllocateMemory(radv_device_to_handle(device), &alloc_info, in radv_device_init_vrs_state()
|