1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Draw messages using precalculated list.

This commit is contained in:
Bartosz Taudul
2023-03-23 22:16:47 +01:00
parent 6c21edd509
commit 40e08e9594
3 changed files with 31 additions and 46 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ void TimelineItemThread::HeaderTooltip( const char* label ) const
void TimelineItemThread::HeaderExtraContents( const TimelineContext& ctx, int offset, float labelWidth )
{
m_view.DrawThreadMessages( ctx, *m_thread, offset );
m_view.DrawThreadMessagesList( ctx, m_msgDraw, offset, m_thread->id );
#ifndef TRACY_NO_STATISTICS
const bool hasGhostZones = m_worker.AreGhostZonesReady() && !m_thread->ghostZones.empty();