Commit Graph

1720 Commits

Author SHA1 Message Date
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
Bartosz Taudul
2f7fa20e34 Draw frame graph. 2017-09-18 02:37:25 +02:00
Bartosz Taudul
b259dc94f8 Retrieval of last recorded event's time. 2017-09-18 02:22:59 +02:00
Bartosz Taudul
3eb17e9969 Add ImVec2 operator-. 2017-09-18 02:16:35 +02:00
Bartosz Taudul
11e9327e02 Show whether server is recording data. 2017-09-18 00:31:38 +02:00
Bartosz Taudul
76aad0d2a4 Track server connection status. 2017-09-18 00:31:09 +02:00
Bartosz Taudul
8f29976237 Auto resize, add borders to connect... window. 2017-09-18 00:30:35 +02:00
Bartosz Taudul
0643fc436d Bring standalone msvc solution up-to-date. 2017-09-18 00:30:16 +02:00
Bartosz Taudul
35032413ef Define ImVec2 operator+. 2017-09-18 00:18:36 +02:00
Bartosz Taudul
bf6cbaefd1 Make sure there's enough space for lz4 stream buffer. 2017-09-17 13:24:50 +02:00
Bartosz Taudul
d7914439e9 Use stream compression.
Previously each data packet was compressed independently. After this
change all new packets reference the previously sent data, which
achieves better compression.
2017-09-17 13:10:58 +02:00
Bartosz Taudul
4c2bd7d9df Fine tune connection window. 2017-09-17 01:41:18 +02:00
Bartosz Taudul
447f042c9a Track server memory usage. 2017-09-17 01:22:46 +02:00
Bartosz Taudul
ab033188d8 Add more methods to tracy::Vector. 2017-09-17 01:05:47 +02:00
Bartosz Taudul
2789cc346f Proper throughput calculation. 2017-09-16 01:47:04 +02:00
Bartosz Taudul
1dd723e3ed Display remote FPS and frame time. 2017-09-16 00:57:50 +02:00
Bartosz Taudul
3d0ddb960a Process frame marks. 2017-09-16 00:40:51 +02:00
Bartosz Taudul
03ece0ac48 Send frame markers. 2017-09-16 00:30:27 +02:00
Bartosz Taudul
90cdda8542 Ignore imgui.ini files. 2017-09-15 22:50:36 +02:00
Bartosz Taudul
b36c894fe7 Unix build files. 2017-09-15 22:45:23 +02:00
Bartosz Taudul
f8c4364e78 Move bytes initialization before goto. 2017-09-15 22:45:03 +02:00
Bartosz Taudul
0a7d413e83 select() may update timeval. 2017-09-15 22:44:50 +02:00
Bartosz Taudul
f29669152e Handle closed socket on win32. 2017-09-15 21:43:57 +02:00
Bartosz Taudul
a2fa319a42 Allow connecting to remote client. 2017-09-15 21:37:28 +02:00
Bartosz Taudul
1955d50ff8 Standalone tracy server skeleton.
Copy pasta of imgui opengl3 example.
2017-09-15 21:25:47 +02:00
Bartosz Taudul
01f63c8d7c Can't declare variable after goto. 2017-09-15 21:09:19 +02:00
Bartosz Taudul
19f67504b1 Throughput data is not related to event data. 2017-09-15 20:31:59 +02:00
Bartosz Taudul
2947fb6563 Initialize allocated memory. 2017-09-15 20:24:15 +02:00