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

Function AppCreateGgpSurface

vulkaninfo/vulkaninfo.h:1132–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1130#ifdef VK_USE_PLATFORM_GGP
1131static void AppCreateGgpWindow(AppInstance &inst) {}
1132static VkSurfaceKHR AppCreateGgpSurface(AppInstance &inst) {
1133 VkStreamDescriptorSurfaceCreateInfoGGP createInfo;
1134 createInfo.sType = VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP;
1135 createInfo.pNext = NULL;
1136 createInfo.flags = 0;
1137 createInfo.streamDescriptor = 1;
1138
1139 VkSurfaceKHR surface;
1140 VkResult err = vkCreateStreamDescriptorSurfaceGGP(inst.instance, &createInfo, NULL, &surface);
1141 if (err) THROW_VK_ERR("vkCreateStreamDescriptorSurfaceGGP", err);
1142 return surface;
1143}
1144static void AppDestroyGgpWindow(AppInstance &inst) {}
1145#endif
1146//-----------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected