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

13 Commits

Author SHA1 Message Date
Bartosz Taudul 9500add83b Push yPos to TimelineItem::Preprocess(). 2023-04-05 18:07:09 +02:00
Bartosz Taudul c0136dbdcc Don't do unnecessary work if items are not visible. 2023-03-25 16:54:38 +01:00
Bartosz Taudul e3ec455aba Decouple check for existence from building draw lists.
We need to know if samples, context switches and messages are present to be
able to correctly calculate thread height. However, if the thread is not
visible, it is not necessary to provide a list of items to draw.
2023-03-25 16:52:27 +01:00
Bartosz Taudul 7ec68f8b52 Push item visibility to Preprocess(). 2023-03-25 15:10:58 +01:00
Bartosz Taudul a141aafaab Preprocess thread messages. 2023-03-23 21:47:40 +01:00
Bartosz Taudul da6ea47541 Preprocess samples. 2023-03-22 22:26:19 +01:00
Bartosz Taudul 88f0b9c754 Preprocess thread context switch data. 2023-03-22 19:38:36 +01:00
Bartosz Taudul 1e1833edc2 Parallelize timeline item preprocessing. 2023-03-19 18:54:32 +01:00
Bartosz Taudul 1d7afbd07e Calculate which CPU zones to draw beforehand. 2023-03-19 18:23:04 +01:00
Bartosz Taudul 0a32929b0b Move hover flag to TimelineContext. 2023-03-18 16:07:56 +01:00
Bartosz Taudul 9538fa99ca Pass yMin, yMax through TimelineContext. 2023-03-15 23:56:57 +01:00
Bartosz Taudul c81ef177ab Push timline context to Draw and DrawContents functions. 2023-03-14 02:25:15 +01:00
Bartosz Taudul ec3dcaeef3 Migrate drawing CPU threads to the new timeline item system. 2022-09-03 23:28:54 +02:00