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

Optimize drawing plots.

This commit is contained in:
Bartosz Taudul
2017-10-18 22:29:59 +02:00
parent e7c582bb4d
commit 4f3a64be9d
2 changed files with 61 additions and 10 deletions
+3 -1
View File
@@ -153,7 +153,7 @@ private:
int DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, int offset, LockHighlight& highlight );
void DrawZoneInfoWindow();
int DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover );
void DrawPlotPoint( const ImVec2& wpos, float x, float y, int offset, uint32_t color, bool hover, bool hasPrev, double val, double prev );
void DrawPlotPoint( const ImVec2& wpos, float x, float y, int offset, uint32_t color, bool hover, bool hasPrev, double val, double prev, bool merged );
void DrawOptions();
void DrawMessages();
@@ -250,6 +250,8 @@ private:
bool m_drawPlots;
bool m_terminate;
std::vector<PlotItem*> m_tmpVec;
};
}