Draw CPU zones using a precalculated list.

This commit is contained in:
Bartosz Taudul
2023-03-19 18:22:23 +01:00
parent 85d541124e
commit 66d3c2a472
3 changed files with 233 additions and 468 deletions

View File

@@ -258,7 +258,7 @@ void TimelineItemThread::HeaderExtraContents( const TimelineContext& ctx, int of
bool TimelineItemThread::DrawContents( const TimelineContext& ctx, int& offset )
{
const auto res = m_view.DrawThread( ctx, *m_thread, offset, m_ghost );
const auto res = m_view.DrawThread( ctx, *m_thread, m_draw, offset, m_depth );
if( !res )
{
auto& crash = m_worker.GetCrashEvent();