ngscopeclient 0.1-dev+51fbda87c
Functions | Variables
WaveformThread.cpp File Reference

Implementation of WaveformThread. More...

#include "ngscopeclient.h"
#include "pthread_compat.h"
#include "Session.h"
#include "WaveformArea.h"
Include dependency graph for WaveformThread.cpp:

Functions

void RenderAllWaveforms (vk::raii::CommandBuffer &cmdbuf, Session *session, shared_ptr< QueueHandle > queue)
 
void WaveformThread (Session *session, atomic< bool > *shuttingDown)
 

Variables

Event g_rerenderRequestedEvent
 
Event g_rerenderDoneEvent
 
Event g_refilterRequestedEvent
 
Event g_partialRefilterRequestedEvent
 
Event g_refilterDoneEvent
 
Event g_waveformReadyEvent
 
Event g_waveformProcessedEvent
 
atomic< int64_t > g_lastWaveformRenderTime
 Time spent on the last cycle of waveform rendering shaders.
 
std::shared_mutex g_vulkanActivityMutex
 Mutex for controlling access to background Vulkan activity. More...
 

Detailed Description

Implementation of WaveformThread.

Author
Andrew D. Zonenberg

Variable Documentation

◆ g_vulkanActivityMutex

std::shared_mutex g_vulkanActivityMutex

Mutex for controlling access to background Vulkan activity.

Arbitrarily many threads can own this mutex at once, but recreating the swapchain conflicts with any and all uses