Flutter Engine
The Flutter Engine
|
Typedefs | |
using | CheckResult = bool(VkResult) |
using skgpu::VulkanMemory::CheckResult = typedef bool(VkResult) |
Definition at line 21 of file VulkanMemory.h.
bool skgpu::VulkanMemory::AllocBufferMemory | ( | VulkanMemoryAllocator * | allocator, |
VkBuffer | buffer, | ||
skgpu::VulkanMemoryAllocator::BufferUsage | usage, | ||
bool | shouldPersistentlyMapCpuToGpu, | ||
const std::function< CheckResult > & | checkResult, | ||
VulkanAlloc * | alloc | ||
) |
Definition at line 21 of file VulkanMemory.cpp.
bool skgpu::VulkanMemory::AllocImageMemory | ( | VulkanMemoryAllocator * | allocator, |
VkImage | image, | ||
skgpu::Protected | isProtected, | ||
bool | forceDedicatedMemory, | ||
bool | useLazyAllocation, | ||
const std::function< CheckResult > & | checkResult, | ||
VulkanAlloc * | alloc | ||
) |
Definition at line 51 of file VulkanMemory.cpp.
void skgpu::VulkanMemory::FlushMappedAlloc | ( | VulkanMemoryAllocator * | allocator, |
const skgpu::VulkanAlloc & | alloc, | ||
VkDeviceSize | offset, | ||
VkDeviceSize | size, | ||
const std::function< CheckResult > & | checkResult | ||
) |
Definition at line 138 of file VulkanMemory.cpp.
void skgpu::VulkanMemory::FreeBufferMemory | ( | VulkanMemoryAllocator * | allocator, |
const VulkanAlloc & | alloc | ||
) |
Definition at line 46 of file VulkanMemory.cpp.
void skgpu::VulkanMemory::FreeImageMemory | ( | VulkanMemoryAllocator * | allocator, |
const VulkanAlloc & | alloc | ||
) |
Definition at line 88 of file VulkanMemory.cpp.
void skgpu::VulkanMemory::GetNonCoherentMappedMemoryRange | ( | const VulkanAlloc & | alloc, |
VkDeviceSize | offset, | ||
VkDeviceSize | size, | ||
VkDeviceSize | alignment, | ||
VkMappedMemoryRange * | range | ||
) |
Definition at line 113 of file VulkanMemory.cpp.
void skgpu::VulkanMemory::InvalidateMappedAlloc | ( | VulkanMemoryAllocator * | allocator, |
const VulkanAlloc & | alloc, | ||
VkDeviceSize | offset, | ||
VkDeviceSize | size, | ||
const std::function< CheckResult > & | checkResult | ||
) |
Definition at line 152 of file VulkanMemory.cpp.
void * skgpu::VulkanMemory::MapAlloc | ( | VulkanMemoryAllocator * | allocator, |
const VulkanAlloc & | alloc, | ||
const std::function< CheckResult > & | checkResult | ||
) |
Definition at line 94 of file VulkanMemory.cpp.
void skgpu::VulkanMemory::UnmapAlloc | ( | VulkanMemoryAllocator * | allocator, |
const VulkanAlloc & | alloc | ||
) |
Definition at line 107 of file VulkanMemory.cpp.