Commit Graph

2181 Commits

Author SHA1 Message Date
Bartosz Taudul
57bd63dab6 Show trace description/filename on titlebar. 2023-06-29 23:53:37 +02:00
Bartosz Taudul
bd2f903c08 Add persistent target FPS option. 2023-05-01 19:09:27 +02:00
Bartosz Taudul
331c2bd7c0 Configure number of threads in TimelineController. 2023-05-01 14:41:51 +02:00
Bartosz Taudul
a2d470690f Pass global config to View. 2023-05-01 14:41:38 +02:00
Bartosz Taudul
31b3fcd1fe View::InitTextEditor() doesn't need font parameter. 2023-04-16 17:21:03 +02:00
Bartosz Taudul
a0221c8660 Pass function objects through const references. 2023-04-16 16:44:18 +02:00
Bartosz Taudul
2434514a42 Make view mode heuristic work correctly in on demand mode. 2023-03-04 00:37:38 +01:00
Bartosz Taudul
2f49caaa6e Show only active time span in on-demand mode. 2023-03-03 22:12:33 +01:00
Bartosz Taudul
1f94ab32df Exclude missing on-demand frames from on-load zoom. 2023-03-03 21:48:34 +01:00
Bartosz Taudul
7727a17153 Request attention on disconnect. 2022-10-13 20:49:30 +02:00
Bartosz Taudul
1c5d90c98a Require attention after load / connect. 2022-10-13 20:47:02 +02:00
Bartosz Taudul
b66c3a0e30 Request attention when save finishes. 2022-10-13 20:42:32 +02:00
Bartosz Taudul
8dec765f5f Require attention on failure popups. 2022-10-13 20:39:43 +02:00
Bartosz Taudul
0a7ae94fcb View::Draw() is no longer static. 2022-10-13 19:50:35 +02:00
Bartosz Taudul
c89c4f46ea Hook up attention callback. 2022-10-13 19:31:47 +02:00
Bartosz Taudul
c9adadf86a When opening a new trace, set view to whole time span. 2022-10-10 22:55:56 +02:00
Bartosz Taudul
73fe208b97 Remove unused variable. 2022-09-29 21:02:05 +02:00
Bartosz Taudul
bc30786c05 Mark activity when playback is underway. 2022-09-28 01:17:08 +02:00
Bartosz Taudul
8117d7d4d4 Mark activity when buzz anim is enabled. 2022-09-28 01:12:04 +02:00
Bartosz Taudul
09d7b7336f Mark activity when notification area is in use. 2022-09-28 00:48:45 +02:00
Bartosz Taudul
1f8de433ec Mark activity when zoom animation is underway. 2022-09-28 00:43:12 +02:00
Bartosz Taudul
a8276c41c3 Allow checking whether View was active.
Currently this only checks if client connection is active.
2022-09-27 22:31:53 +02:00
Bartosz Taudul
c27bcc524c Store syntax colors as 32-bit uints. 2022-09-11 00:46:27 +02:00
Bartosz Taudul
5200ea2c84 Hide frame related information if no frame instrumentation. 2022-09-05 20:12:36 +02:00
Bartosz Taudul
44efb15df1 Remove VisData.
Its functionality is now incorporated into TimelineItem. For purposes of
maintaining visibility of frame sets and locks a much simpler ptr -> bool map
is now used.
2022-09-04 14:46:51 +02:00
Bartosz Taudul
0c4ca4cd69 Add function for highlighting a thread. 2022-09-03 19:25:02 +02:00
Bartosz Taudul
449dff0eca Store View and Worker in TimelineController. 2022-09-03 17:51:30 +02:00
Bartosz Taudul
655d8a01ea Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
Bartosz Taudul
4bcb59bbe6 Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
Bartosz Taudul
fa0322f6b4 Push big font to source view. 2022-08-15 22:48:00 +02:00
Bartosz Taudul
7dbfed9aea Drop access to native window.
The new NFD library is not using this information, and the old one was using
it only on Windows. Oh well.

Removal of this functionality also removes some build-time decisions.
2022-08-12 21:44:24 +02:00
Bartosz Taudul
b19f9e1f4d Use common functionality to get frame set name. 2022-07-30 19:32:25 +02:00
Bartosz Taudul
06c7984a16 Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
Bartosz Taudul
2331ee04d2 Cleanup TracyView includes. 2022-07-02 17:00:08 +02:00
Bartosz Taudul
a46d3992a2 Thread view adjustment is timeline handling. 2022-07-02 15:44:00 +02:00
Bartosz Taudul
d9ce848bb0 Also extract (and rename) timeline mouse handling. 2022-07-02 15:42:01 +02:00
Bartosz Taudul
889e643d2a Extract ranges UI from View. 2022-07-02 15:40:51 +02:00
Bartosz Taudul
9fb618c12d Rename DrawZone* -> DrawTimeline*. 2022-07-02 15:38:10 +02:00
Bartosz Taudul
e3b11821c3 Extract zone timeline rendering from View. 2022-07-02 15:36:36 +02:00
Bartosz Taudul
7b04d8c0b3 Extract frames timeline UI from View. 2022-07-02 15:31:03 +02:00
Bartosz Taudul
0d41a6c48b Move DrawHistogramMinMaxLabel() to TracyImGui.cpp. 2022-07-02 15:27:08 +02:00
Bartosz Taudul
5ed7d71927 DrawAllocList() is memory. 2022-07-02 15:24:59 +02:00
Bartosz Taudul
c2728fde04 Extract locks UI from View. 2022-07-02 15:24:09 +02:00
Bartosz Taudul
10205f90b4 Also extract timeline CPU data. 2022-07-02 15:20:47 +02:00
Bartosz Taudul
c6b6cb47da Also move timeline samples. 2022-07-02 15:16:52 +02:00
Bartosz Taudul
e005d4ff36 Extract messages UI from View. 2022-07-02 15:15:24 +02:00
Bartosz Taudul
c427214f46 Move DrawHelpMarker to TracyImGui.hpp. 2022-07-02 15:07:40 +02:00
Bartosz Taudul
358148920a Extract annotations UI from View. 2022-07-02 15:04:54 +02:00
Bartosz Taudul
5b451c3557 Extract samples UI from View. 2022-07-02 15:04:53 +02:00
Bartosz Taudul
06a840c19a Wait stacks are context switches. 2022-07-02 15:01:23 +02:00