nngn
Loading...
Searching...
No Matches
memory.cpp File Reference
#include "os/platform.h"
#include "memory.h"
#include <cassert>
Include dependency graph for memory.cpp:

Namespaces

namespace  anonymous_namespace{memory.cpp}
 
namespace  nngn
 

Functions

bool anonymous_namespace{memory.cpp}::init_allocator (VkInstance inst, VkPhysicalDevice physical_dev, VkDevice dev, void **p)
 
void anonymous_namespace{memory.cpp}::destroy_allocator (void *p)
 
bool anonymous_namespace{memory.cpp}::allocate (void *p, std::uint32_t type, const VkMemoryRequirements *req, nngn::MemoryAllocation *alloc, VkDeviceMemory *mem, VkDeviceSize *offset)
 
void anonymous_namespace{memory.cpp}::dealloc (void *p, nngn::MemoryAllocation alloc)