MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / UnmapMemory

Function UnmapMemory

tests/icd/test_icd.cpp:660–666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658}
659
660static VKAPI_ATTR void VKAPI_CALL UnmapMemory(VkDevice device, VkDeviceMemory memory) {
661 unique_lock_t lock(global_lock);
662 for (auto map_addr : mapped_memory_map[memory]) {
663 ::operator delete(map_addr, std::align_val_t(memory_alignment));
664 }
665 mapped_memory_map.erase(memory);
666}
667
668static VKAPI_ATTR void VKAPI_CALL GetBufferMemoryRequirements(VkDevice device, VkBuffer buffer,
669 VkMemoryRequirements* pMemoryRequirements) {

Callers 8

UnmapMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
FreeMemoryFunction · 0.85
UnmapMemory2Function · 0.85

Calls 2

operator deleteFunction · 0.85
eraseMethod · 0.45

Tested by

no test coverage detected