MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / createSurface

Method createSurface

cpp/5_Domain_Specific/simpleVulkanMMAP/VulkanBaseApp.cpp:450–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450void VulkanBaseApp::createSurface()
451{
452 if (glfwCreateWindowSurface(m_instance, m_window, nullptr, &m_surface) != VK_SUCCESS) {
453 throw std::runtime_error("failed to create window surface!");
454 }
455}
456
457static bool findGraphicsQueueIndicies(VkPhysicalDevice device,
458 VkSurfaceKHR surface,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected