mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Different color for kernel frames in callstacks.
This commit is contained in:
parent
0c13889589
commit
f773e18375
@ -13559,6 +13559,10 @@ void View::DrawCallstackWindow()
|
||||
{
|
||||
TextDisabledUnformatted( txt );
|
||||
}
|
||||
else if( m_worker.GetCanonicalPointer( entry ) >> 63 != 0 )
|
||||
{
|
||||
TextColoredUnformatted( 0xFF8888FF, txt );
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui::TextUnformatted( txt );
|
||||
@ -15678,6 +15682,10 @@ void View::DrawSampleParents()
|
||||
{
|
||||
TextDisabledUnformatted( txt );
|
||||
}
|
||||
else if( m_worker.GetCanonicalPointer( entry ) >> 63 != 0 )
|
||||
{
|
||||
TextColoredUnformatted( 0xFF8888FF, txt );
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui::TextUnformatted( txt );
|
||||
@ -17445,6 +17453,10 @@ void View::CallstackTooltip( uint32_t idx )
|
||||
{
|
||||
TextDisabledUnformatted( txt );
|
||||
}
|
||||
else if( m_worker.GetCanonicalPointer( entry ) >> 63 != 0 )
|
||||
{
|
||||
TextColoredUnformatted( 0xFF8888FF, txt );
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui::TextUnformatted( txt );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user