MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / demo_main

Function demo_main

cube/cube.c:5013–5021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5011#endif
5012#if defined(VK_USE_PLATFORM_METAL_EXT)
5013static void demo_main(struct demo *demo, void *caMetalLayer, int argc, const char *argv[]) {
5014 demo_init(demo, argc, (char **)argv);
5015 demo->caMetalLayer = caMetalLayer;
5016 demo_create_surface(demo);
5017 demo_select_physical_device(demo);
5018 demo_init_vk_swapchain(demo);
5019 demo_prepare(demo);
5020 demo->spin_angle = 0.4f;
5021}
5022
5023#endif
5024#if defined(VK_USE_PLATFORM_ANDROID_KHR)

Callers

nothing calls this directly

Calls 5

demo_initFunction · 0.85
demo_create_surfaceFunction · 0.85
demo_init_vk_swapchainFunction · 0.85
demo_prepareFunction · 0.85

Tested by

no test coverage detected