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
simplyWiri
d2e3856724
Add WASD panning/zooming functionality to timeline.
2022-08-22 17:23:57 +10:00
Bartosz Taudul
655d8a01ea
Move vis data to timeline controller.
2022-08-20 17:02:29 +02:00
Bartosz Taudul
4d974da290
Add shorten name accessor.
2022-08-15 21:21:50 +02:00
Bartosz Taudul
8531ef6591
Extract ShortenZoneName() function to a separate file.
2022-08-15 16:34:37 +02:00
Bartosz Taudul
07a1383304
Expose zone name normalization as a separate setting.
2022-08-15 16:24:44 +02:00
Bartosz Taudul
47a2512957
Change namespace shortening to zone name shortening.
...
Namespace shortening was kinda ok for function names produced by MSVC, which
are generally clean looking. However, gcc/clang like to produce function names
which include template arguments, function parameters, return values, etc. In
such cases the old algorithm simply didn't work, because removal of everything
before the last :: could as well happen in midst of function parameters list.
The result was certainly not an usable function name.
With this new approach namespaces are no longer explicitly mentioned and this
functionality is simply called zone name shortening.
The user-selectable options were changed to make the shortening always
enabled, disabled, or to apply as needed. Note that the "as needed" approach
will be dynamic, trying to gradually remove more and more from the name, until
it fits in the requested area.
Current implementation is only the first step into making this work. In this
first step the function parameters are reduced to () and the template
arguments are reduced to <>. This alone greatly improves readability of the
zone names.
The option to reduce namespaces to one letter (i.e. std::tr1::hash would
become s:t:hash) will no longer be present, now or in the future.
2022-08-15 14:19:57 +02:00
Bartosz Taudul
c01ad38d46
Start extracting timeline height control logic.
2022-08-15 13:29:45 +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
27a98a3cc2
Make user plot color depend on its name.
2022-07-24 01:26:20 +02:00
Bartosz Taudul
f7598d2431
Implement direct children search.
2022-07-23 13:31:41 +02:00
Bartosz Taudul
57f03dfe9a
Implement children messages filtering in zone tooltip.
2022-07-23 13:19:30 +02:00
Bartosz Taudul
edad2d7e35
Monitor send queue size.
2022-07-03 14:52:18 +02:00
Bartosz Taudul
2331ee04d2
Cleanup TracyView includes.
2022-07-02 17:00:08 +02:00
Bartosz Taudul
d9ce848bb0
Also extract (and rename) timeline mouse handling.
2022-07-02 15:42:01 +02:00
Bartosz Taudul
9fb618c12d
Rename DrawZone* -> DrawTimeline*.
2022-07-02 15:38:10 +02:00