5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_VMA_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_VMA_H_
21 static bool IsValid(
const VmaAllocator& value) {
25 static void Free(VmaAllocator allocator) {
27 ::vmaDestroyAllocator(allocator);
48 return value.allocator != VmaAllocator{};
74 return !(*
this == other);
82 return value.allocator != VmaAllocator{};
87 ::vmaDestroyBuffer(buffer.allocator,
static_cast<VkBuffer
>(buffer.buffer),
109 return !(*
this == other);
117 return value.allocator != VmaAllocator{};
FlutterVulkanImage * image
FlutterVulkanImageHandle image
static VmaAllocator InvalidValue()
static bool IsValid(const VmaAllocator &value)
static void Free(VmaAllocator allocator)
constexpr bool operator==(const BufferVMA &other) const
constexpr bool operator!=(const BufferVMA &other) const
static BufferVMA InvalidValue()
static bool IsValid(const BufferVMA &value)
static void Free(const BufferVMA &buffer)
constexpr bool operator!=(const ImageVMA &other) const
constexpr bool operator==(const ImageVMA &other) const
static ImageVMA InvalidValue()
static bool IsValid(const ImageVMA &value)
static void Free(const ImageVMA &image)
constexpr bool operator==(const PoolVMA &other) const =default
static PoolVMA InvalidValue()
static void Free(const PoolVMA &pool)
static bool IsValid(const PoolVMA &value)
#define TRACE_EVENT0(category_group, name)