Support queuing serial items with callstack.

This commit is contained in:
Bartosz Taudul 2021-01-15 21:39:50 +01:00
parent d4c0d4fbb7
commit 90de2d2f73

View File

@ -171,6 +171,14 @@ public:
return p.m_serialQueue.prepare_next();
}
static tracy_force_inline QueueItem* QueueSerialCallstack( void* ptr )
{
auto& p = GetProfiler();
p.m_serialLock.lock();
p.SendCallstackSerial( ptr );
return p.m_serialQueue.prepare_next();
}
static tracy_force_inline void QueueSerialFinish()
{
auto& p = GetProfiler();