mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add background tasks icon.
This commit is contained in:
parent
4d4190c825
commit
0944eab707
@ -1158,7 +1158,7 @@ The frame information block consists of four elements: the current frame set nam
|
||||
|
||||
The next two items show the \faEye{}~view time range and \faDatabase{}~time span of the whole capture.
|
||||
|
||||
The notification area is used to display informational notices, for example how long it took to load a trace from disk. A pulsating dot indicates that some background tasks are being performed, that may need to be completed before full capabilities of the profiler are available.
|
||||
The notification area is used to display informational notices, for example how long it took to load a trace from disk. A pulsating dot next to the \faTasks~icon indicates that some background tasks are being performed, that may need to be completed before full capabilities of the profiler are available.
|
||||
|
||||
\subsubsection{Frame time graph}
|
||||
|
||||
|
@ -598,9 +598,17 @@ bool View::DrawImpl()
|
||||
if( !m_worker.IsBackgroundDone() )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
#ifdef TRACY_EXTENDED_FONT
|
||||
TextDisabledUnformatted( ICON_FA_TASKS );
|
||||
ImGui::SameLine();
|
||||
const auto pos = ImGui::GetCursorPos();
|
||||
ImGui::TextUnformatted( " " );
|
||||
ImGui::GetWindowDrawList()->AddCircleFilled( pos + ImVec2( 0, ty * 0.75f ), ty * ( 0.2f + ( sin( s_time * 8 ) + 1 ) * 0.125f ), 0xFF888888, 10 );
|
||||
#else
|
||||
const auto pos = ImGui::GetCursorPos();
|
||||
ImGui::TextUnformatted( " " );
|
||||
ImGui::GetWindowDrawList()->AddCircleFilled( pos + ImVec2( 0, ty * 0.75f ), ty * ( 0.2f + ( sin( s_time * 8 ) + 1 ) * 0.125f ), 0xFF888888, 10 );
|
||||
#endif
|
||||
}
|
||||
if( m_saveThreadState.load( std::memory_order_relaxed ) == SaveThreadState::Saving )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user