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

Method initWindow

cpp/5_Domain_Specific/simpleVulkanMMAP/VulkanBaseApp.cpp:224–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void VulkanBaseApp::initWindow()
225{
226 glfwInit();
227
228 glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
229 glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
230
231 m_window = glfwCreateWindow(1280, 800, m_appName.c_str(), nullptr, nullptr);
232 glfwSetWindowUserPointer(m_window, this);
233 glfwSetFramebufferSizeCallback(m_window, resizeCallback);
234}
235
236std::vector<const char *> VulkanBaseApp::getRequiredExtensions() const { return std::vector<const char *>(); }
237

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected