Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Functions
VulkanMemory.h File Reference
#include "include/gpu/vk/VulkanMemoryAllocator.h"
#include "include/private/gpu/vk/SkiaVulkan.h"
#include <functional>

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::VulkanMemory
 

Typedefs

using skgpu::VulkanMemory::CheckResult = bool(VkResult)
 

Functions

bool skgpu::VulkanMemory::AllocBufferMemory (VulkanMemoryAllocator *, VkBuffer buffer, skgpu::VulkanMemoryAllocator::BufferUsage, bool shouldPersistentlyMapCpuToGpu, const std::function< CheckResult > &, VulkanAlloc *alloc)
 
void skgpu::VulkanMemory::FreeBufferMemory (VulkanMemoryAllocator *, const VulkanAlloc &alloc)
 
bool skgpu::VulkanMemory::AllocImageMemory (VulkanMemoryAllocator *, VkImage image, skgpu::Protected isProtected, bool forceDedicatedMemory, bool useLazyAllocation, const std::function< CheckResult > &, VulkanAlloc *alloc)
 
void skgpu::VulkanMemory::FreeImageMemory (VulkanMemoryAllocator *, const VulkanAlloc &alloc)
 
void * skgpu::VulkanMemory::MapAlloc (VulkanMemoryAllocator *, const VulkanAlloc &, const std::function< CheckResult > &)
 
void skgpu::VulkanMemory::UnmapAlloc (VulkanMemoryAllocator *, const VulkanAlloc &alloc)
 
void skgpu::VulkanMemory::FlushMappedAlloc (VulkanMemoryAllocator *, const skgpu::VulkanAlloc &, VkDeviceSize offset, VkDeviceSize size, const std::function< CheckResult > &)
 
void skgpu::VulkanMemory::InvalidateMappedAlloc (VulkanMemoryAllocator *, const VulkanAlloc &alloc, VkDeviceSize offset, VkDeviceSize size, const std::function< CheckResult > &)
 
void skgpu::VulkanMemory::GetNonCoherentMappedMemoryRange (const VulkanAlloc &, VkDeviceSize offset, VkDeviceSize size, VkDeviceSize alignment, VkMappedMemoryRange *)