MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / startScreenshotThread

Function startScreenshotThread

layersvt/screenshot.cpp:403–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

init_screenshotFunction · 0.85
onQueuePresentKHRFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected