From 69185555f4da66d291a88c665f7241ae98a58278 Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Mon, 18 Nov 2019 17:03:34 +0100 Subject: [PATCH] Add VMA_MEMORY_USAGE_GPU_LAZILY_ALLOCATED Closes #84 --- docs/html/allocation_annotation.html | 14 +- docs/html/choosing_memory_type.html | 14 +- docs/html/custom_memory_pools.html | 14 +- docs/html/defragmentation.html | 20 +- docs/html/globals.html | 5 +- docs/html/globals_eval.html | 3 + docs/html/lost_allocations.html | 10 +- docs/html/memory_mapping.html | 18 +- docs/html/quick_start.html | 4 +- docs/html/search/all_11.js | 179 +- docs/html/search/classes_0.js | 36 +- docs/html/search/defines_0.js | 2 +- docs/html/search/defines_1.js | 10 +- docs/html/search/enums_0.js | 12 +- docs/html/search/enumvalues_0.js | 75 +- docs/html/search/files_0.js | 2 +- docs/html/search/functions_0.js | 94 +- docs/html/search/pages_0.js | 2 +- docs/html/search/pages_1.js | 6 +- docs/html/search/pages_2.js | 6 +- docs/html/search/pages_3.js | 2 +- docs/html/search/pages_4.js | 2 +- docs/html/search/pages_5.js | 2 +- docs/html/search/pages_6.js | 2 +- docs/html/search/pages_7.js | 4 +- docs/html/search/pages_8.js | 4 +- docs/html/search/pages_9.js | 4 +- docs/html/search/typedefs_0.js | 4 +- docs/html/search/typedefs_1.js | 50 +- docs/html/search/variables_0.js | 12 +- docs/html/search/variables_1.js | 12 +- docs/html/search/variables_2.js | 2 +- docs/html/search/variables_3.js | 6 +- docs/html/search/variables_4.js | 4 +- docs/html/search/variables_5.js | 2 +- docs/html/search/variables_6.js | 24 +- docs/html/search/variables_7.js | 2 +- docs/html/search/variables_8.js | 36 +- docs/html/search/variables_9.js | 2 +- docs/html/search/variables_a.js | 2 +- docs/html/search/variables_b.js | 2 +- docs/html/search/variables_c.js | 16 +- docs/html/search/variables_d.js | 34 +- docs/html/vk__mem__alloc_8h.html | 5 + docs/html/vk__mem__alloc_8h_source.html | 28392 +++++++++++----------- src/Tests.cpp | 3 +- src/VmaReplay/Constants.cpp | 2 + src/vk_mem_alloc.h | 16 + 48 files changed, 14608 insertions(+), 14566 deletions(-) diff --git a/docs/html/allocation_annotation.html b/docs/html/allocation_annotation.html index 61a2a30..872c361 100644 --- a/docs/html/allocation_annotation.html +++ b/docs/html/allocation_annotation.html @@ -111,18 +111,18 @@ Allocation names

That string is also printed in JSON report created by vmaBuildStatsString().

-
Definition: vk_mem_alloc.h:2349
-
void * pUserData
Custom general-purpose pointer that will be stored in VmaAllocation, can be read as VmaAllocationInfo...
Definition: vk_mem_alloc.h:2443
+
Definition: vk_mem_alloc.h:2357
+
void * pUserData
Custom general-purpose pointer that will be stored in VmaAllocation, can be read as VmaAllocationInfo...
Definition: vk_mem_alloc.h:2451
void vmaGetAllocationInfo(VmaAllocator allocator, VmaAllocation allocation, VmaAllocationInfo *pAllocationInfo)
Returns current information about specified allocation and atomically marks it as used in current fra...
Represents single memory allocation.
Definition: vk_mem_alloc.h:2254
VkResult vmaCreateImage(VmaAllocator allocator, const VkImageCreateInfo *pImageCreateInfo, const VmaAllocationCreateInfo *pAllocationCreateInfo, VkImage *pImage, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo)
Function similar to vmaCreateBuffer().
-
VmaMemoryUsage usage
Intended usage of memory.
Definition: vk_mem_alloc.h:2412
-
void * pUserData
Custom general-purpose pointer that was passed as VmaAllocationCreateInfo::pUserData or set using vma...
Definition: vk_mem_alloc.h:2779
+
VmaMemoryUsage usage
Intended usage of memory.
Definition: vk_mem_alloc.h:2420
+
void * pUserData
Custom general-purpose pointer that was passed as VmaAllocationCreateInfo::pUserData or set using vma...
Definition: vk_mem_alloc.h:2787
VkResult vmaCreateBuffer(VmaAllocator allocator, const VkBufferCreateInfo *pBufferCreateInfo, const VmaAllocationCreateInfo *pAllocationCreateInfo, VkBuffer *pBuffer, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo)
-
VmaAllocationCreateFlags flags
Use VmaAllocationCreateFlagBits enum.
Definition: vk_mem_alloc.h:2406
-
Definition: vk_mem_alloc.h:2403
-
Parameters of VmaAllocation objects, that can be retrieved using function vmaGetAllocationInfo().
Definition: vk_mem_alloc.h:2741
+
VmaAllocationCreateFlags flags
Use VmaAllocationCreateFlagBits enum.
Definition: vk_mem_alloc.h:2414
+
Definition: vk_mem_alloc.h:2411
+
Parameters of VmaAllocation objects, that can be retrieved using function vmaGetAllocationInfo().
Definition: vk_mem_alloc.h:2749