Commit Graph

272 Commits

Author SHA1 Message Date
Bartosz Taudul
1ddd395aad Properly setup View, when using command line parameters. 2020-05-23 16:49:27 +02:00
Bartosz Taudul
b166451750 Keep viewShutdown in atomic. 2020-05-13 19:20:20 +02:00
Bartosz Taudul
884de148c9 Target native architecture. 2020-05-13 18:35:56 +02:00
Bartosz Taudul
211dfd7f7e Bump imgui to ecf82ca8066. 2020-05-08 00:05:59 +02:00
Bartosz Taudul
c87d8f017f Disable viewports. 2020-05-05 00:48:53 +02:00
ikrima
1b5879e176 ImGui Multiviewport fixes
- set ImGuiConfigFlags_ViewportsEnable
- correct render loop logic with viewport api calls, SetNextWindowViewport(), UpdatePlatformWindows(), RenderPlatformWindowsDefault()
- Fix: coords in abs space now, SetNextWindowPos()

NOTE:
- I have viewports turned on by default so you can easy test (comment out io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; and you get old behavior)
- Jankiness with multiviewports isn't bc perf hit; it's bc profiler reduces it's tick rate when it's not in focus. So, that bit of logic needs to be updated if you really care
- I haven't encountered any issues over past week but discount that by 50% since i'm new to tracy. No promises some UI wasn't regresssed
- Key things to watch out for is enabling viewports turns ImGui into using absolute monitor coords instead of window coords (ie SetPosition(0,0) => monitor top left, not window top/left
2020-05-04 02:17:15 -07:00
Bartosz Taudul
d896e51c5d Save/load discovered clients filters. 2020-05-03 21:19:40 +02:00
Bartosz Taudul
9c56626bdb Implement filtering of discovered clients. 2020-05-03 21:10:25 +02:00
Bartosz Taudul
bb39913339 Cosmetics. 2020-05-03 20:49:13 +02:00
Bartosz Taudul
476b809c4d Enable docking flag. 2020-05-03 13:21:04 +02:00
Bartosz Taudul
c5f1128209 Switch imgui to docking branch. 2020-05-03 13:20:50 +02:00
Bartosz Taudul
3f00f3f605 Add 'less-than of equal to' character to font. 2020-04-27 00:59:49 +02:00
Bartosz Taudul
800f740fd5 Add micro architecture data. 2020-04-27 00:59:49 +02:00
Bartosz Taudul
c2d84fa288 Mute selectable colors. 2020-04-25 13:22:45 +02:00
Bartosz Taudul
747f26ef74 Display used CPUs as range, if possible. 2020-04-24 02:02:16 +02:00
David Farrell
80fdf7517a Use debug vcpkg libraries 2020-04-21 15:17:11 -07:00
David Farrell
a4a20ddc42 Updated Visual Studio project files to use vcpkg directory for dependencies
This modifies all of the include and lib paths to point to vcpkg/vcpkg/installed/x64-windows-static/include and lib.

With these changes, all executables in Tracy build out of the box in all configurations (assuming you have run the install_vcpkg_depencies.bat script first).

Perhaps it would be better to use a single Visual Studio .props file that all of the .vcxproj files point to so that the include and lib paths are set in a single place, but for now the paths are set separately in each .vcxproj.
2020-04-21 10:59:08 -07:00
Bartosz Taudul
01d7fefe52 Perform source file name substitution. 2020-04-17 19:28:39 +02:00
Bartosz Taudul
aa8b84aa6c Update to ImGui 1.76. 2020-04-13 00:01:53 +02:00
Bartosz Taudul
fd027c65e7 Remove -fomit-frame-pointer. 2020-04-12 21:55:47 +02:00
Bartosz Taudul
0a8287c72d Link to manual at github releases page. 2020-04-11 01:41:03 +02:00
Bartosz Taudul
f8231bb109 Change main repository to github. 2020-04-10 17:48:59 +02:00
Bartosz Taudul
436bd6b9ff Smaller fixed font size. 2020-04-09 01:15:06 +02:00
Carsten Juttner
fbc7a1e452 Since the name is just the IP address it is not unique in case the difference is only in the port number.
So make it unique for selection to work not just for the first element in this case.
2020-04-05 16:19:43 +02:00
Bartosz Taudul
b2c2bfc2aa Move HSV color conversion to a separate source file. 2020-04-02 01:04:59 +02:00
Bartosz Taudul
ddfd755ddc Add sponsor button to welcome dialog. 2020-03-29 14:06:54 +02:00
Bartosz Taudul
2a54f2df5d Reverse the fileselector compile option. 2020-03-26 23:11:26 +01:00
Bartosz Taudul
d495431f24 Reverse the root window compile option. 2020-03-26 23:08:29 +01:00
Bartosz Taudul
58bb5d40c5 Remove support for non-extended font builds. 2020-03-26 23:04:44 +01:00
Bartosz Taudul
a49638e9a6 Link with capstone on unix. 2020-03-26 00:18:38 +01:00
Bartosz Taudul
9672dba765 Replace source file viewer with one that actually works.
This is much simpler, custom implementation of a text file viewer. It is
able to perform these two tasks as intended:
- center source view on the selected line,
- highlight that line.
2020-03-22 20:53:59 +01:00
Bartosz Taudul
59e859e59a Remove benaphore, use std::mutex on cygwin. 2020-03-19 02:06:54 +01:00
Bartosz Taudul
e30161c34e Add IP/port tooltip to discovered clients list. 2020-03-08 16:19:58 +01:00
Bartosz Taudul
a6deabaeee Allow port entry in address field. 2020-03-08 15:02:20 +01:00
Bartosz Taudul
ff37ab7bc6 Handle discovery of multiple clients on the same IP. 2020-03-08 14:51:56 +01:00
Bartosz Taudul
3c22134f78 Reconnect to client, if requested. 2020-03-06 22:11:29 +01:00
Bartosz Taudul
aa0bf47ec3 Extract texture compression functionality. 2020-03-02 02:00:35 +01:00
Bartosz Taudul
64d6caf695 Add Int24, Int48 natvis. 2020-02-22 18:52:38 +01:00
Bartosz Taudul
1492536bdb Handle FileReadError. 2020-02-12 19:53:37 +01:00
Bartosz Taudul
cc805b7b74 Add mmap() wrapper. 2020-02-12 19:24:30 +01:00
Bartosz Taudul
f3bb4030f6 Fix ContextSwitchData natvis. 2020-02-11 23:45:04 +01:00
Bartosz Taudul
f149f353eb Update ImGui to 1.75. 2020-02-10 16:26:04 +01:00
Bartosz Taudul
64cfad317d Add zstd to project files. 2020-02-08 15:42:08 +01:00
Bartosz Taudul
022528bb47 Use Martin Ankerl's robin hood unordered map.
ska::flat_hash_map has bugs and its development is dead.
2020-01-28 21:49:36 +01:00
Bartosz Taudul
7d78923967 Move parallel sort header mumbo jumbo to a separate file. 2020-01-20 23:21:43 +01:00
Bartosz Taudul
727ac634a9 Redraw window contents during resize. 2020-01-10 02:13:44 +01:00
Bartosz Taudul
5f48b08215 Move profiler render to a separate function. 2020-01-10 02:13:44 +01:00
Bartosz Taudul
3a460d3183 Use _mm_pause() instead of std::this_thread::yield() if possible. 2019-12-31 14:59:54 +01:00
Bartosz Taudul
c6b8c6a3a6 Update ImGui to 1.74. 2019-11-25 22:36:54 +01:00
Bartosz Taudul
31b6ff4bae Release 0.6.0. 2019-11-17 19:56:42 +01:00
Bartosz Taudul
5df7444cbb Replace djb hash with xxh3. 2019-11-07 23:52:52 +01:00
Bartosz Taudul
a62c4135ad Add context switch usage struct. 2019-11-05 01:28:44 +01:00
Bartosz Taudul
654f54d877 Add short pointer class, storing 6 bytes. 2019-11-02 15:43:32 +01:00
Bartosz Taudul
5956366118 Need to explicitly specify gl3w as OpenGL loader. 2019-10-27 12:45:31 +01:00
Bartosz Taudul
a20c6604c3 Add natvis for ContextSwitchData and ContextSwitchCpu. 2019-10-15 14:11:02 +02:00
Bartosz Taudul
e7578777c3 Update ImGui to 1.73. 2019-09-24 23:32:03 +02:00
Bartosz Taudul
82cd667b30 Allow specifying network port in server. 2019-09-21 15:43:01 +02:00
Bartosz Taudul
feddd58b46 Better way to scale ImGui style. 2019-09-21 00:52:13 +02:00
Bartosz Taudul
6f5a23a198 Add task dispatcher to server. 2019-09-20 22:58:12 +02:00
Bartosz Taudul
adfc4eb59b Store UdpListen instance in an unique ptr. 2019-08-29 18:36:55 +02:00
Bartosz Taudul
949c9cb121 Move some view data to a separate structure. 2019-08-28 19:35:54 +02:00
Bartosz Taudul
21e7a4bb16 Extract thread compression into a separate class. 2019-08-19 22:56:58 +02:00
Bartosz Taudul
cef7e4b8d0 Save/load per-cpu context switches. 2019-08-16 16:51:18 +02:00
Bartosz Taudul
9e0fe226df Add small font. 2019-08-16 16:02:57 +02:00
Bartosz Taudul
9417ad994d Save/load context switch data. 2019-08-13 13:10:37 +02:00
Bartosz Taudul
154c902e03 Handle legacy file versions. 2019-08-12 12:36:37 +02:00
Bartosz Taudul
54076e717c Update font awesome to 5.10.1. 2019-08-12 12:36:37 +02:00
Bartosz Taudul
a9b41eb657 Rework processing bad files. 2019-08-12 12:04:27 +02:00
Bartosz Taudul
9b6328f962 Release 0.5.0. 2019-08-10 22:14:14 +02:00
Rokas Kupstys
b391e4c21a Fix multiple build errors when compiling with MinGW. 2019-08-04 15:49:46 +03:00
Bartosz Taudul
526f3a55bc Update imgui to 1.72. 2019-07-30 22:53:52 +02:00
Bartosz Taudul
3e74d041c9 Link with Thread Building Blocks, if available. 2019-07-28 01:53:39 +02:00
Bartosz Taudul
27965e8690 Add user data storage handler. 2019-07-26 23:15:12 +02:00
Bartosz Taudul
16a40f2e1f Revert "Explicitly link with required libraries."
This reverts commit abaa0e8f6e.
2019-07-25 20:41:58 +02:00
Bartosz Taudul
abaa0e8f6e Explicitly link with required libraries.
This fixed clang-cl build.
2019-07-25 18:30:34 +02:00
Bartosz Taudul
7074b8ed8f Display notification popup during trace cleanup. 2019-07-24 23:54:47 +02:00
Bartosz Taudul
57615775ea Migrate to VS2019, vcpkg. 2019-07-24 22:24:17 +02:00
Bartosz Taudul
7fb9bde9e9 Pass big font to TracyView. 2019-07-12 19:16:56 +02:00
Bartosz Taudul
64980a1e6f Use async resolv service. 2019-06-26 18:49:21 +02:00
Bartosz Taudul
5e97e83401 Address can't change. 2019-06-26 18:46:51 +02:00
Bartosz Taudul
913c1e57a6 Add threaded resolv service. 2019-06-26 18:46:51 +02:00
Bartosz Taudul
fadf8e3e0a Can't read negative number of bytes.
This completely ignores error handling, which probably should be added.
The code behavior doesn't change, as the existing comparisons and
asserts already promoted the signed value to unsigned.
2019-06-22 14:08:48 +02:00
Bartosz Taudul
323f0e1ae3 Don't create variable for exception in catch block. 2019-06-22 13:41:24 +02:00
Bartosz Taudul
3fcd73680c Simulate client activity time advancement. 2019-06-18 20:56:42 +02:00
Bartosz Taudul
800d95c089 Display discovered clients activity times. 2019-06-18 20:51:12 +02:00
Bartosz Taudul
1a32edebf2 Extract text printing functions. 2019-06-18 20:43:28 +02:00
Bartosz Taudul
aa5259b20a Use the same port (8086) for both TCP and UDP traffic. 2019-06-18 20:28:03 +02:00
Bartosz Taudul
0e5a7263d9 Define broadcast message, add versioning. 2019-06-18 20:26:40 +02:00
Bartosz Taudul
2d3e7ee796 More aggressive broadcast repeat timeout. 2019-06-18 00:54:58 +02:00
Bartosz Taudul
b8b1fae900 Don't confuse user by suggesting the list is complete. 2019-06-17 20:24:47 +02:00
Bartosz Taudul
11dc8e67e5 Change broadcast rate from 5s to 3s. 2019-06-17 19:57:17 +02:00
Bartosz Taudul
5a359aa376 Allow connecting to broadcasting clients. 2019-06-17 19:50:34 +02:00
Bartosz Taudul
67daff1452 Display list of broadcasting clients. 2019-06-17 19:45:47 +02:00
Bartosz Taudul
36989da2c6 Also store client address. 2019-06-17 19:45:36 +02:00
Bartosz Taudul
265913d969 Process client broadcasts. 2019-06-17 19:34:48 +02:00
Bartosz Taudul
60f0b81faf More compact welcome dialog. 2019-06-17 01:21:55 +02:00
Bartosz Taudul
796ca57067 Update imgui to 1.71. 2019-06-12 22:53:23 +02:00
Bartosz Taudul
84a52c5d62 Add join discord button. 2019-06-11 02:12:34 +02:00
Bartosz Taudul
2cf50427be Add FastVector to natvis. 2019-06-10 01:50:26 +02:00
Bartosz Taudul
646e7327b8 Show loading progress of frame images. 2019-06-06 23:40:37 +02:00
Bartosz Taudul
82d4fe7236 Add texture wrapper. 2019-06-06 22:14:51 +02:00
Bartosz Taudul
76ed1e666f Remove unused variable. 2019-06-02 20:01:19 +02:00
Bartosz Taudul
d5b3ec9503 Locale keeps being changed by system libraries... 2019-06-02 19:59:31 +02:00
Bartosz Taudul
83b838f783 Use C locale for decimal point character. 2019-06-02 19:39:07 +02:00
Bartosz Taudul
7c7e32d49e Set window icon. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
9e3cf3d387 Add 64x64 embedded png icon. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
c0326b9ba0 Add stb_image. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
8ae33fbb1e Add icon to win32 profiler executable. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
273a874de9 Update imgui to 1.70. 2019-05-09 18:53:31 +02:00
Bartosz Taudul
cffc6e21d3 Use open to open webpage on osx. 2019-04-04 13:58:13 +02:00
Bartosz Taudul
b43d962194 Set labels for input text fields. 2019-03-15 02:35:27 +01:00
Bartosz Taudul
6a36bb2fc2 Add hints to input text fields. 2019-03-15 01:31:06 +01:00
Bartosz Taudul
98b4b69386 Update imgui to 1.69. 2019-03-15 00:55:53 +01:00
Bartosz Taudul
d3fdd6b1d1 Display standard deviation. 2019-03-14 01:14:06 +01:00
Bartosz Taudul
f69f9d4660 Disable window transparency. 2019-03-07 01:18:24 +01:00
Bartosz Taudul
d5914d2e7b Extract drawing waiting dots. 2019-03-06 18:16:21 +01:00
Bartosz Taudul
a4740c1b1c Add animation to loading progress window. 2019-03-06 02:49:21 +01:00
Bartosz Taudul
2ee86ef126 Display bigger program name in welcome dialog. 2019-02-22 02:44:41 +01:00
Bartosz Taudul
9bd13b02e9 Small string changes in the welcome dialog. 2019-02-22 02:41:13 +01:00
Bartosz Taudul
b33c61cead Update imgui to 1.68. 2019-02-21 18:40:27 +01:00
Bartosz Taudul
8717fe5730 Window position may be negative. 2019-02-12 01:26:14 +01:00
Bartosz Taudul
48c721c4b9 Fix natvis display of exact reserved vector's capacity. 2019-02-10 16:36:09 +01:00
Bartosz Taudul
96e38501b6 Use unformatted text drawing where possible. 2019-02-10 02:50:34 +01:00
Bartosz Taudul
ecdb672130 Add simple checks against invalid window position. 2019-02-10 02:11:59 +01:00
Bartosz Taudul
b7fd0bdc9c Use proper type. 2019-01-29 21:53:56 +01:00
Bartosz Taudul
ac791fd19f Update imgui to 1.67. Also update imguicolortextedit. 2019-01-19 14:05:54 +01:00
Bartosz Taudul
e1bd5c092b Pressing enter key when entering client address automatically connects. 2018-12-22 17:14:22 +01:00
Bartosz Taudul
6fefffe8a5 Implement automated connection to a given IP address. 2018-12-20 17:07:15 +01:00
Bartosz Taudul
dc4c8ef343 Statically link with freetype. 2018-10-27 20:06:54 +02:00
Bartosz Taudul
78beb7bd81 Allow removal of addresses from connection history. 2018-10-23 19:59:11 +02:00
Bartosz Taudul
2af941eadc Allow selection from the 5 most commonly used addresses. 2018-10-23 19:50:09 +02:00
Bartosz Taudul
1eb46042be Track connection history. 2018-10-23 19:50:09 +02:00
Bartosz Taudul
ec50d16076 Add new feature videos to tutorial button. 2018-10-09 19:28:24 +02:00
Bartosz Taudul
28c176d3aa Fix loss of window size and position, if it was maximized. 2018-10-05 20:23:54 +02:00
Bartosz Taudul
9eb04ea817 Update to ImGui 1.65. 2018-09-08 20:31:38 +02:00
Bartosz Taudul
0f72461c3e Fix for GLFW 3.1. 2018-08-31 20:06:38 +02:00
Bartosz Taudul
00fb98ed64 Only show window when it's ready. 2018-08-31 19:40:08 +02:00
Bartosz Taudul
a9dd70251b Save window position, size, maximized state. 2018-08-31 19:38:19 +02:00
Bartosz Taudul
bc886e4287 Save path is not persistent. 2018-08-31 19:38:05 +02:00
Bartosz Taudul
fca71e6e0d Update to imgui 1.64. 2018-08-31 18:37:29 +02:00
Bartosz Taudul
d977fa004d Enable keyboard navigation. 2018-08-30 02:08:08 +02:00
Bartosz Taudul
f1e4d949a0 Update bindings. 2018-08-30 02:01:12 +02:00
Bartosz Taudul
d287250e25 Also update imgui_freetype. 2018-08-30 01:01:23 +02:00
Bartosz Taudul
411f956db2 Save imgui.ini in a common location. 2018-08-29 23:22:54 +02:00
Bartosz Taudul
204cc019ea Add file storage helpers. 2018-08-29 23:22:44 +02:00
Bartosz Taudul
b3b12f76f3 Add LZ4HC support to FileWrite. 2018-08-26 16:25:43 +02:00
Bartosz Taudul
aefa2a9573 Display dialog when CPU doesn't support AVX/AVX2. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
7fc1729f3b Reduce required instruction set to SSE2 in winmain.cpp. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
ddf889e8bc Move WinMain entry point to a separate source file. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
ddbc7d5ac2 Add hourglass icon to loading pop-up. 2018-08-17 23:29:32 +02:00