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

Split data handling code from the view.

This commit is contained in:
Bartosz Szreder
2018-02-13 14:57:47 +01:00
parent fbaf59c9a6
commit 9e3f18a62a
11 changed files with 2214 additions and 2099 deletions
-7
View File
@@ -155,8 +155,6 @@ struct ThreadData
{
uint64_t id;
uint64_t count;
bool showFull;
bool visible;
Vector<ZoneEvent*> timeline;
Vector<ZoneEvent*> stack;
Vector<MessageData*> messages;
@@ -178,8 +176,6 @@ struct GpuCtxData
Vector<GpuEvent*> queue;
Vector<GpuCtxResync> resync;
uint8_t accuracyBits;
bool showFull;
bool visible;
};
struct LockMap
@@ -189,7 +185,6 @@ struct LockMap
std::unordered_map<uint64_t, uint8_t> threadMap;
std::vector<uint64_t> threadList;
LockType type;
bool visible;
bool valid;
};
@@ -213,8 +208,6 @@ struct PlotData
uint64_t name;
double min;
double max;
bool showFull;
bool visible;
Vector<PlotItem> data;
Vector<PlotItem> postpone;
uint64_t postponeTime;