From faaf9f1008cf62663f55e608243c8c28e78f48d3 Mon Sep 17 00:00:00 2001 From: Jean-Sebastien Bevilacqua Date: Thu, 5 Oct 2017 08:20:05 +0200 Subject: [PATCH] First example of xml file --- src/vk_mem_alloc.xml | 70 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 src/vk_mem_alloc.xml diff --git a/src/vk_mem_alloc.xml b/src/vk_mem_alloc.xml new file mode 100644 index 0000000..e892b50 --- /dev/null +++ b/src/vk_mem_alloc.xml @@ -0,0 +1,70 @@ + + + + + + void vmaAllocateDeviceMemoryFunction + VmaAllocator allocator + uint32_t memoryType + VkDeviceMemory memory + VkDeviceSize size + + + void vmaFreeDeviceMemoryFunction + VmaAllocator allocator + uint32_t memoryType + VkDeviceMemory memory + VkDeviceSize size + + + + + + + VK_DEFINE_HANDLE(VmaAllocator) + + + typedef VkFlags VmaAllocatorFlags; + + + + + VmaAllocatorFlags flags + VkPhysicalDevice physicalDevice + VkDevice device + VkDeviceSize preferredLargeHeapBlockSize + VkDeviceSize preferredSmallHeapBlockSize + const VkAllocationCallbacks* pAllocationCallbacks + const VmaDeviceMemoryCallbacks* pDeviceMemoryCallbacks + uint32_t frameInUseCount + const VkDeviceSize* pHeapSizeLimit + const VmaVulkanFunctions* pVulkanFunctions + + + PFN_vmaAllocateDeviceMemoryFunction pfnAllocate + PFN_vmaFreeDeviceMemoryFunction pfnFree + + + PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties + PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties + PFN_vkAllocateMemory vkAllocateMemory + PFN_vkFreeMemory vkFreeMemory + PFN_vkMapMemory vkMapMemory + PFN_vkUnmapMemory vkUnmapMemory + PFN_vkBindBufferMemory vkBindBufferMemory + PFN_vkBindImageMemory vkBindImageMemory + PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements + PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements + PFN_vkCreateBuffer vkCreateBuffer + PFN_vkDestroyBuffer vkDestroyBuffer + PFN_vkCreateImage vkCreateImage + PFN_vkDestroyImage vkDestroyImage + + + + + + + + +