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

Store pointers to PlotItems.

This commit is contained in:
Bartosz Taudul
2017-10-19 21:04:11 +02:00
parent 7329eb6e99
commit 44cc0827d4
2 changed files with 43 additions and 29 deletions
+2 -1
View File
@@ -87,7 +87,7 @@ private:
double min;
double max;
bool enabled;
Vector<PlotItem> data;
Vector<PlotItem*> data;
};
void Worker();
@@ -130,6 +130,7 @@ private:
void UpdateLockCount( LockMap& lockmap, size_t pos );
void InsertPlot( PlotData* plot, int64_t time, double val );
void InsertPlot( PlotData* plot, PlotItem* item );
void HandlePlotName( uint64_t name, std::string&& str );
uint64_t GetFrameTime( size_t idx ) const;