mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Migrate drawing CPU threads to the new timeline item system.
This commit is contained in:
@@ -116,6 +116,9 @@ public:
|
||||
void HighlightThread( uint64_t thread );
|
||||
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
|
||||
bool DrawPlot( PlotData& plot, double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax );
|
||||
bool DrawThread( const ThreadData& thread, double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax, bool ghostMode );
|
||||
void DrawThreadMessages( const ThreadData& thread, double pxns, int offset, const ImVec2& wpos, bool hover );
|
||||
void DrawThreadOverlays( const ThreadData& thread, const ImVec2& ul, const ImVec2& dr );
|
||||
|
||||
bool m_showRanges = false;
|
||||
Range m_statRange;
|
||||
@@ -401,6 +404,7 @@ private:
|
||||
const ZoneEvent* m_zoneHighlight;
|
||||
DecayValue<int16_t> m_zoneSrcLocHighlight = 0;
|
||||
LockHighlight m_lockHighlight { -1 };
|
||||
LockHighlight m_nextLockHighlight;
|
||||
DecayValue<const MessageData*> m_msgHighlight = nullptr;
|
||||
DecayValue<uint32_t> m_lockHoverHighlight = InvalidId;
|
||||
DecayValue<const MessageData*> m_msgToFocus = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user