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

Method createSurface

cpp/5_Domain_Specific/simpleVulkan/VulkanBaseApp.cpp:456–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456void VulkanBaseApp::createSurface()
457{
458 if (glfwCreateWindowSurface(m_instance, m_window, nullptr, &m_surface) != VK_SUCCESS) {
459 throw std::runtime_error("failed to create window surface!");
460 }
461}
462
463static bool findGraphicsQueueIndicies(VkPhysicalDevice device,
464 VkSurfaceKHR surface,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected