class VmaGpuAllocator

Defined at line 20 of file ../../src/ui/lib/escher/vk/vma_gpu_allocator.h

This class implements the GpuAllocator interface on top of a vk_mem_alloc

instance.

Public Methods

void VmaGpuAllocator (const VulkanContext & context)

Defined at line 91 of file ../../src/ui/lib/escher/vk/vma_gpu_allocator.cc

void ~VmaGpuAllocator ()

Defined at line 107 of file ../../src/ui/lib/escher/vk/vma_gpu_allocator.cc

GpuMemPtr AllocateMemory (vk::MemoryRequirements reqs, vk::MemoryPropertyFlags flags)

|GpuAllocator|

Defined at line 109 of file ../../src/ui/lib/escher/vk/vma_gpu_allocator.cc

BufferPtr AllocateBuffer (ResourceManager * manager, vk::DeviceSize size, vk::BufferUsageFlags usage_flags, vk::MemoryPropertyFlags memory_property_flags, GpuMemPtr * out_ptr)

|GpuAllocator|

Defined at line 135 of file ../../src/ui/lib/escher/vk/vma_gpu_allocator.cc

ImagePtr AllocateImage (ResourceManager * manager, const escher::ImageInfo & info, GpuMemPtr * out_ptr)

|GpuAllocator|

Defined at line 183 of file ../../src/ui/lib/escher/vk/vma_gpu_allocator.cc

size_t GetTotalBytesAllocated ()

|GpuAllocator|

Defined at line 237 of file ../../src/ui/lib/escher/vk/vma_gpu_allocator.cc

size_t GetUnusedBytesAllocated ()

|GpuAllocator|

Defined at line 243 of file ../../src/ui/lib/escher/vk/vma_gpu_allocator.cc