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

18 Commits

Author SHA1 Message Date
Bartosz Taudul 745ca83de6 PreprocessLocks() doesn't use yPos. 2023-04-26 00:47:50 +02:00
Bartosz Taudul 0217c06377 Cosmetics. 2023-04-24 23:28:28 +02:00
Bartosz Taudul 7f301dfec0 Precalculate draw lists for locks. 2023-04-15 22:56:44 +02:00
Bartosz Taudul f48415315a Build samples draw list only if visible. 2023-04-05 19:03:40 +02:00
Bartosz Taudul a9ee4c499e Build messages draw list only if visible. 2023-04-05 18:55:23 +02:00
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