Bartosz Taudul
a0221c8660
Pass function objects through const references.
2023-04-16 16:44:18 +02:00
Bartosz Taudul
5aaa4fcaf7
Use draw list data to draw locks.
2023-04-15 22:56:44 +02:00
Bartosz Taudul
f7a8998663
Push locks draw lists to DrawThread().
2023-04-15 22:56:44 +02:00
Bartosz Taudul
f0acb73d09
Add accessor for active lock info window lock id.
2023-04-15 22:56:43 +02:00
Bartosz Taudul
d737b911e9
Make View::Vis() public.
2023-04-15 22:56:43 +02:00
Bartosz Taudul
f2a2669ca8
Decouple CPU graph availability from having the draw data.
2023-04-05 18:21:12 +02:00
Bartosz Taudul
2b7b79352b
Parallelize calculation of per-CPU context switches.
2023-04-02 22:10:22 +02:00
Bartosz Taudul
5eebc5d7cf
Preprocess CPU usage.
...
Things of note: Worker::GetCpuUsage() functionality was moved to
TimelineItemCpuData::PreprocessCpuUsage().
2023-03-25 17:55:15 +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
efa095e25f
Simplify context switch precalculation.
2023-03-25 00:30:44 +01:00
Bartosz Taudul
40e08e9594
Draw messages using precalculated list.
2023-03-23 22:16:47 +01:00
Bartosz Taudul
e321e91c7d
TimelineItemThread can now determine visibility internally.
2023-03-23 21:56:04 +01:00
Bartosz Taudul
fbc87275e7
Add highlighted message accessor to View.
2023-03-23 21:47:22 +01:00
Bartosz Taudul
80c15c0f9b
Draw samples using precalculated data.
2023-03-22 22:26:20 +01:00
Bartosz Taudul
50ccdc1ef4
Draw thread context switches using precalculated data.
2023-03-22 19:38:58 +01:00
Bartosz Taudul
66d3c2a472
Draw CPU zones using a precalculated list.
2023-03-19 18:37:27 +01:00
Bartosz Taudul
6ab4180b5b
Use TimelineContext to draw CPU zones.
2023-03-19 01:14:36 +01:00
Bartosz Taudul
ee5d6f1adb
Use TimelineContext for drawing GPU zones.
2023-03-19 00:28:14 +01:00
Bartosz Taudul
5743bff0af
Use TimelineContext when drawing CPU data.
2023-03-19 00:23:33 +01:00
Bartosz Taudul
26791f55d1
Use TimelineContext data for drawing plots.
2023-03-18 17:11:24 +01:00
Bartosz Taudul
0ecdcbc13c
Move TimelineContext struct definition to a separate header.
2023-03-18 17:03:23 +01:00
Bartosz Taudul
f9449bc938
Only retrieve frame offset internally in GetFrameNumber().
2023-03-04 00:32:15 +01:00
Bartosz Taudul
8164b776fd
Don't pass GetFrameOffset() results to GetFrameText().
...
Frame offset can be retrieved internally.
2023-03-04 00:29:00 +01:00
Bartosz Taudul
b8029f7448
Show diff direction and allow reversal.
2022-12-30 20:33:17 +01:00
Bartosz Taudul
5a442f123e
Calculate diff between source files.
2022-12-23 19:40:58 +01:00
Bartosz Taudul
bd06d4e104
Build lists of unique source files in comparison menu.
2022-12-23 19:40:58 +01:00
Bartosz Taudul
0eef0a8313
Fix window focus issues when navigating with WSAD.
2022-10-26 19:33:04 +02:00
Bartosz Taudul
27ab25709d
Update imgui to f87e891f.
2022-10-14 19:48:38 +02: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
8dec765f5f
Require attention on failure popups.
2022-10-13 20:39:43 +02:00
Bartosz Taudul
94fd3b664e
Add attention callback helper.
2022-10-13 20:36:54 +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
575f627136
All View ctor parameters need to be explicitly stated.
2022-10-13 19:30:15 +02:00
Bartosz Taudul
c0c3b58955
Remove dead code.
2022-10-13 19:25:36 +02:00
Bartosz Taudul
8117d7d4d4
Mark activity when buzz anim is enabled.
2022-09-28 01:12:04 +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
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
ad2fc03125
Migrate CPU data to timeline item system.
2022-09-04 14:31:02 +02:00
Bartosz Taudul
827b390e34
Add mutable ViewData accessor.
2022-09-04 14:31:01 +02:00
Bartosz Taudul
60579d6334
Migrate drawing GPU data to the new timeline item system.
2022-09-04 13:39:20 +02:00
Bartosz Taudul
ec3e88ce53
Manage GPU index counter in View.
2022-09-04 13:37:19 +02:00
Bartosz Taudul
ec3dcaeef3
Migrate drawing CPU threads to the new timeline item system.
2022-09-03 23:28:54 +02:00
Bartosz Taudul
0e94ed8fc6
DrawContents reports if anything was drawn.
2022-09-03 21:41:38 +02:00
Bartosz Taudul
0c4ca4cd69
Add function for highlighting a thread.
2022-09-03 19:25:02 +02:00
Bartosz Taudul
b481bb367c
Switch plot drawing to the timeline items system.
2022-09-03 17:51:33 +02:00
Bartosz Taudul
427dc4fffa
Make View::ZoomToRange() public.
2022-09-03 17:51:26 +02:00
Bartosz Taudul
c2d527e2e7
Cosmetics.
2022-08-28 13:17:29 +02:00
Bartosz Taudul
74789d1049
Merge pull request #446 from simplyWiri/master
...
Add WASD panning/zooming functionality to timeline.
2022-08-28 13:13:21 +02:00