mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Add a note why context switches only have coarse visibility check.
This commit is contained in:
parent
51f832c031
commit
1ff9e0012b
@ -309,6 +309,8 @@ void TimelineItemThread::Preprocess( const TimelineContext& ctx, TaskDispatch& t
|
||||
auto ctxSwitch = m_worker.GetContextSwitchData( m_thread->id );
|
||||
if( ctxSwitch )
|
||||
{
|
||||
// There is no yPos passed here to enable more granular visibility check,
|
||||
// as context switch shadows will usually be projected down onto zones.
|
||||
td.Queue( [this, &ctx, ctxSwitch, visible] {
|
||||
PreprocessContextSwitches( ctx, *ctxSwitch, visible );
|
||||
} );
|
||||
|
Loading…
Reference in New Issue
Block a user