Bartosz Taudul
f6e8eb32ec
Sort includes.
2017-09-22 00:36:36 +02:00
Bartosz Taudul
0c0b18615a
Use winapi function to set thread name.
...
Fairly recent Windows SDK is required, unfortunately.
2017-09-21 22:54:44 +02:00
Bartosz Taudul
8a30e1c937
Properly clip function names in zones.
2017-09-21 22:12:19 +02:00
Bartosz Taudul
e3f85d6d74
Display zone source location data.
2017-09-21 22:01:18 +02:00
Bartosz Taudul
5065743bf0
Store zone source location.
2017-09-21 21:57:40 +02:00
Bartosz Taudul
7446e27e60
Display per-frame program execution time.
2017-09-21 02:30:05 +02:00
Bartosz Taudul
bd382fe2b5
Wrap imgui stb into a namespace.
2017-09-21 02:16:27 +02:00
Bartosz Taudul
a5000924a5
Zone display skeleton.
2017-09-21 02:16:01 +02:00
Bartosz Taudul
6217c830a9
64K indices is not enough.
2017-09-21 02:15:48 +02:00
Bartosz Taudul
9da7e58ec5
String getter.
2017-09-21 02:10:20 +02:00
Bartosz Taudul
0b2a98d6b2
Mark frame drawing code segment.
2017-09-21 01:49:01 +02:00
Bartosz Taudul
155c9de767
Fix crash.
2017-09-21 01:41:52 +02:00
Bartosz Taudul
2f645c589d
Zoom in/out in zone view.
2017-09-21 01:39:07 +02:00
Bartosz Taudul
a353a7601d
Add frame info tooltip.
2017-09-21 01:18:24 +02:00
Bartosz Taudul
b725be87c7
Scrolling zone view.
2017-09-21 01:13:23 +02:00
Bartosz Taudul
c3df475de7
Draw frames in zone view.
2017-09-21 00:57:26 +02:00
Bartosz Taudul
43dc12ca39
Select 3 frames, not 2.
2017-09-20 22:41:05 +02:00
Bartosz Taudul
ee273934e3
Const variables.
2017-09-20 22:35:10 +02:00
Bartosz Taudul
ef317fa2be
Add frame time accessors.
2017-09-20 22:34:56 +02:00
Bartosz Taudul
edb7fac230
Display zone view span.
2017-09-20 21:28:03 +02:00
Bartosz Taudul
7bc730ab73
Use pool of buffers in TimeToString().
2017-09-20 21:25:00 +02:00
Bartosz Taudul
1fef4f9202
Add a representation of displayed zone area to frame view.
2017-09-20 21:21:29 +02:00
Bartosz Taudul
efc7958ae0
Calculate zone area to display.
2017-09-20 21:21:21 +02:00
Bartosz Taudul
c9aaa03b28
Frames will never be empty anymore.
2017-09-20 20:39:08 +02:00
Bartosz Taudul
fc01be2138
Don't show profiler window before connection is established.
2017-09-20 20:38:12 +02:00
Bartosz Taudul
2761c719de
Update glfw to 3.2.1, vs2015.
2017-09-20 20:36:17 +02:00
Bartosz Taudul
e2ec143893
Don't access frame data if nothing there.
2017-09-20 18:42:44 +02:00
Bartosz Taudul
792843d34e
Use invisible button to fake frames widget.
...
This handles both positioning and prevents window from being moved by
mouse.
2017-09-20 02:19:39 +02:00
Bartosz Taudul
de9fbf4c2c
Check if window is not under another window.
2017-09-20 00:53:39 +02:00
Bartosz Taudul
c402bd43b3
Add slight rounding to UI items.
2017-09-20 00:46:30 +02:00
Bartosz Taudul
1cb19a56eb
Zoom in and out at mouse position.
2017-09-20 00:08:15 +02:00
Bartosz Taudul
9b93fea0f5
Calc frame width and grouping in separate functions.
2017-09-20 00:05:45 +02:00
Bartosz Taudul
ab16b66265
Analytic calculation of frame hovered by mouse.
2017-09-19 21:10:31 +02:00
Bartosz Taudul
623c32a7a0
Add one more frame zoom level.
2017-09-19 21:10:11 +02:00
Bartosz Taudul
36ecf16d59
Add comments to the constant merging assert.
2017-09-19 02:19:27 +02:00
Bartosz Taudul
36fa5af728
Missing header.
2017-09-19 02:19:20 +02:00
Bartosz Taudul
a2fa7dd0ed
Frame list can be now scrolled using right mouse button.
2017-09-19 01:24:31 +02:00
Bartosz Taudul
0fe0f1d095
Fix on-screen frames calculation.
2017-09-19 01:24:14 +02:00
Bartosz Taudul
3ee4a72076
Fit frames to frames rect.
2017-09-19 00:36:28 +02:00
Bartosz Taudul
2ba44bc0bc
Allow pausing frame updates.
2017-09-19 00:26:40 +02:00
Bartosz Taudul
f9b9735392
Display global frame information.
2017-09-18 22:59:39 +02:00
Bartosz Taudul
df3cd193e5
Improve time to string conversion.
...
- Make sure comparison doesn't overflow.
- Time is not base-2 (doh!).
- Use doubles instead of floats for better precision.
- Support displaying minutes.
2017-09-18 22:56:17 +02:00
Bartosz Taudul
73f1a39928
Display frame information.
2017-09-18 22:12:39 +02:00
Bartosz Taudul
9a38302d4a
Conversion of nanoseconds to string.
2017-09-18 22:11:38 +02:00
Bartosz Taudul
05c8c1fa40
Allow further zoom-out.
2017-09-18 21:32:26 +02:00
Bartosz Taudul
da36ddd1c6
Refactor drawing frames.
2017-09-18 21:26:22 +02:00
Bartosz Taudul
0331d548d2
Automatically create profiler instance.
2017-09-18 19:08:54 +02:00
Bartosz Taudul
de66ec5332
Adjust frame colors.
2017-09-18 19:03:29 +02:00
Bartosz Taudul
4ce7f77cd9
Static initialization order is implementation specific.
2017-09-18 18:55:25 +02:00
Bartosz Taudul
9d2fef2f11
Hide implementation details wrt concurrent queue.
2017-09-18 18:51:45 +02:00