Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
allocator_vk.cc File Reference
#include "impeller/renderer/backend/vulkan/allocator_vk.h"
#include <memory>
#include "flutter/fml/memory/ref_ptr.h"
#include "flutter/fml/trace_event.h"
#include "impeller/core/formats.h"
#include "impeller/renderer/backend/vulkan/device_buffer_vk.h"
#include "impeller/renderer/backend/vulkan/formats_vk.h"
#include "impeller/renderer/backend/vulkan/texture_vk.h"
#include "vulkan/vulkan_enums.hpp"

Go to the source code of this file.

Classes

class  impeller::AllocatedTextureSourceVK
 

Namespaces

namespace  impeller
 

Macros

#define BIND_VMA_PROC(x)   proc_table.x = VULKAN_HPP_DEFAULT_DISPATCHER.x;
 
#define BIND_VMA_PROC_KHR(x)
 

Functions

static constexpr vk::Flags< vk::MemoryPropertyFlagBits > impeller::ToVKBufferMemoryPropertyFlags (StorageMode mode)
 
static VmaAllocationCreateFlags impeller::ToVmaAllocationBufferCreateFlags (StorageMode mode, bool readback)
 
static PoolVMA impeller::CreateBufferPool (VmaAllocator allocator)
 
static constexpr VmaMemoryUsage impeller::ToVMAMemoryUsage ()
 
static constexpr vk::Flags< vk::MemoryPropertyFlagBits > impeller::ToVKTextureMemoryPropertyFlags (StorageMode mode, bool supports_memoryless_textures)
 
static VmaAllocationCreateFlags impeller::ToVmaAllocationCreateFlags (StorageMode mode)
 

Macro Definition Documentation

◆ BIND_VMA_PROC

#define BIND_VMA_PROC (   x)    proc_table.x = VULKAN_HPP_DEFAULT_DISPATCHER.x;

◆ BIND_VMA_PROC_KHR

#define BIND_VMA_PROC_KHR (   x)
Value:
proc_table.x##KHR = VULKAN_HPP_DEFAULT_DISPATCHER.x \
? VULKAN_HPP_DEFAULT_DISPATCHER.x \
: VULKAN_HPP_DEFAULT_DISPATCHER.x##KHR;