| 401 | void screenshotWriterThreadFunc(); |
| 402 | |
| 403 | void startScreenshotThread() { |
| 404 | if (screenshotThreadStarted || shutdownScreenshotThread) return; |
| 405 | screenshotThreadStarted = true; |
| 406 | screenshotWriterThread = std::thread(screenshotWriterThreadFunc); |
| 407 | } |
| 408 | |
| 409 | static void init_screenshot(const VkInstanceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator) { |
| 410 | std::lock_guard<std::mutex> lg(globalLock); |
no outgoing calls
no test coverage detected