MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / initVulkan

Function initVulkan

deps/SDL2/test/testvulkan.c:988–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986}
987
988static void initVulkan(void)
989{
990 SDL_Vulkan_LoadLibrary(NULL);
991 SDL_memset(&vulkanContext, 0, sizeof(VulkanContext));
992 loadGlobalFunctions();
993 createInstance();
994 loadInstanceFunctions();
995 createSurface();
996 findPhysicalDevice();
997 createDevice();
998 loadDeviceFunctions();
999 getQueues();
1000 createSemaphores();
1001 createNewSwapchainAndSwapchainSpecificStuff();
1002}
1003
1004static void shutdownVulkan(void)
1005{

Callers 1

mainFunction · 0.85

Calls 12

SDL_Vulkan_LoadLibraryFunction · 0.85
SDL_memsetFunction · 0.85
loadGlobalFunctionsFunction · 0.85
createInstanceFunction · 0.85
loadInstanceFunctionsFunction · 0.85
createSurfaceFunction · 0.85
findPhysicalDeviceFunction · 0.85
loadDeviceFunctionsFunction · 0.85
getQueuesFunction · 0.85
createSemaphoresFunction · 0.85
createDeviceFunction · 0.70

Tested by

no test coverage detected