Make View::DrawSourceTooltip() public.

This commit is contained in:
Bartosz Taudul
2026-01-31 19:10:31 +01:00
parent 9d33668c9d
commit d1ae380cc2

View File

@@ -174,6 +174,7 @@ public:
bool DrawGpu( const TimelineContext& ctx, const GpuCtxData& gpu, int& offset );
bool DrawCpuData( const TimelineContext& ctx, const std::vector<CpuUsageDraw>& cpuDraw, const std::vector<std::vector<CpuCtxDraw>>& ctxDraw, int& offset, bool hasCpuData );
void DrawThreadMigrations( const TimelineContext& ctx, const int origOffset, uint64_t thread );
void DrawSourceTooltip( const char* filename, uint32_t line, int before = 3, int after = 3, bool separateTooltip = true );
bool IsBackgroundDone() const { return m_worker.IsBackgroundDone(); }
@@ -296,7 +297,6 @@ private:
void DrawSampleParents();
void DrawRanges();
void DrawRangeEntry( Range& range, const char* label, uint32_t color, const char* popupLabel, int id );
void DrawSourceTooltip( const char* filename, uint32_t line, int before = 3, int after = 3, bool separateTooltip = true );
void DrawWaitStacks();
void DrawManual();
void DrawFlameGraph();