1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Draw plots using preprocessed draw lists.

This commit is contained in:
Bartosz Taudul
2023-04-24 23:26:09 +02:00
parent 96800a2753
commit def30228c9
3 changed files with 126 additions and 174 deletions
+1
View File
@@ -191,6 +191,7 @@ void TimelineItemPlot::Preprocess( const TimelineContext& ctx, TaskDispatch& td,
}
else
{
// Sync with View::DrawPlot()!
constexpr int NumSamples = 1024;
uint32_t samples[NumSamples];
uint32_t cnt = 0;