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

Function DefaultAllocator

tests/framework/binding.cpp:2578–2587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2576};
2577
2578const VkAllocationCallbacks* DefaultAllocator() {
2579 static const VkAllocationCallbacks alloc = {nullptr,
2580 DummyAlloc::allocFunction,
2581 DummyAlloc::realloc,
2582 DummyAlloc::freeFunction,
2583 DummyAlloc::internalAlloc,
2584 DummyAlloc::internalFree};
2585
2586 return &alloc;
2587}
2588
2589} // namespace vkt

Callers 2

TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected