mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Rename DrawZone* -> DrawTimeline*.
This commit is contained in:
parent
e3b11821c3
commit
9fb618c12d
@ -980,7 +980,7 @@ bool View::DrawImpl()
|
||||
#endif
|
||||
}
|
||||
|
||||
DrawZones();
|
||||
DrawTimeline();
|
||||
|
||||
ImGui::End();
|
||||
ImGui::End();
|
||||
|
@ -187,9 +187,9 @@ private:
|
||||
void DrawNotificationArea();
|
||||
bool DrawConnection();
|
||||
void DrawFrames();
|
||||
void DrawZoneFramesHeader();
|
||||
void DrawZoneFrames( const FrameData& frames );
|
||||
void DrawZones();
|
||||
void DrawTimelineFramesHeader();
|
||||
void DrawTimelineFrames( const FrameData& frames );
|
||||
void DrawTimeline();
|
||||
void DrawContextSwitches( const ContextSwitch* ctx, const Vector<SampleData>& sampleData, bool hover, double pxns, int64_t nspx, const ImVec2& wpos, int offset, int endOffset, bool isFiber );
|
||||
void DrawSamples( const Vector<SampleData>& vec, bool hover, double pxns, int64_t nspx, const ImVec2& wpos, int offset );
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
|
@ -22,7 +22,7 @@ static tracy_force_inline uint32_t GetColorMuted( uint32_t color, bool active )
|
||||
}
|
||||
}
|
||||
|
||||
void View::DrawZoneFramesHeader()
|
||||
void View::DrawTimelineFramesHeader()
|
||||
{
|
||||
const auto wpos = ImGui::GetCursorScreenPos();
|
||||
const auto dpos = wpos + ImVec2( 0.5f, 0.5f );
|
||||
@ -88,7 +88,7 @@ void View::DrawZoneFramesHeader()
|
||||
}
|
||||
}
|
||||
|
||||
void View::DrawZoneFrames( const FrameData& frames )
|
||||
void View::DrawTimelineFrames( const FrameData& frames )
|
||||
{
|
||||
const auto wpos = ImGui::GetCursorScreenPos();
|
||||
const auto dpos = wpos + ImVec2( 0.5f, 0.5f );
|
||||
|
@ -12,7 +12,7 @@ enum { MinVisSize = 3 };
|
||||
|
||||
extern double s_time;
|
||||
|
||||
void View::DrawZones()
|
||||
void View::DrawTimeline()
|
||||
{
|
||||
m_msgHighlight.Decay( nullptr );
|
||||
m_zoneSrcLocHighlight.Decay( 0 );
|
||||
@ -75,13 +75,13 @@ void View::DrawZones()
|
||||
}
|
||||
}
|
||||
|
||||
DrawZoneFramesHeader();
|
||||
DrawTimelineFramesHeader();
|
||||
auto& frames = m_worker.GetFrames();
|
||||
for( auto fd : frames )
|
||||
{
|
||||
if( Vis( fd ).visible )
|
||||
{
|
||||
DrawZoneFrames( *fd );
|
||||
DrawTimelineFrames( *fd );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user