1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

193 Commits

Author SHA1 Message Date
Bartosz Taudul 25c751c45a Add NativeWindow.hpp to MSVC project. 2020-08-15 17:15:36 +02:00
Bartosz Taudul 52039e80f2 Add native window retrieval on Linux.
Functionality had to be moved to a separate source file due to namespace
pollution from X11 headers.

Note that this doesn't set proper parent of file dialogs on Linux, as
GTK is broken and requires passing a GtkWindow parent.
2020-08-15 16:53:07 +02:00
Bartosz Taudul 046df82ccc Always set proper numeric locale. 2020-08-15 16:19:36 +02:00
Bartosz Taudul a3d8b5d225 Allow running specific tasks on main thread. 2020-08-15 14:59:16 +02:00
Thales Sabino 6e3f19d0c9 Update build requirement from GTK2 to GTK3 2020-08-14 14:05:00 +01:00
Bartosz Taudul ea9475dfdf Add Tracy's name to window title. 2020-08-11 21:07:28 +02:00
Bartosz Taudul 6836014caa Capture ImGui mouse state. 2020-08-01 12:02:11 +02:00
Bartosz Taudul 733b9c4048 Add wrapper for ImGui mouse handling. 2020-08-01 11:49:43 +02:00
Jim Blandy 7bc8c6283a Factor out Unix build logic into shared files. 2020-07-31 11:08:36 -07:00
Jim Blandy 652582b119 Factor out makefile TBB detection, apply to all tools. 2020-07-31 09:14:12 -07:00
Jim Blandy a12bf2d753 Fancier TBB (Threaded Building Blocks) detection.
Update documentation to mention that it's needed.
2020-07-30 18:24:42 -07:00
Bartosz Taudul 6866d8f429 Update stb_image to 2.26. 2020-07-31 01:42:57 +02:00
Bartosz Taudul 402bfd3ba4 Properly cleanup View. 2020-07-19 14:50:09 +02:00
Bartosz Taudul aa2757526a Join loading thread on exit. 2020-07-19 14:39:50 +02:00
Bartosz Taudul 4881f7aa54 Bump ImGui to ~1.77. 2020-06-30 18:48:47 +02:00
Bartosz Taudul 25c7245566 Revert "Use pkg-config to link with TBB, but silence errors."
This reverts commit b4d6833231.

pkg-config setup for TBB is debian-specific.
2020-06-19 20:07:06 +02:00
Bartosz Taudul b4d6833231 Use pkg-config to link with TBB, but silence errors. 2020-06-19 02:17:10 +02:00
Bartosz Taudul cbcf393332 Release 0.7.0. 2020-06-11 14:30:34 +02:00
Bartosz Taudul d1ef8ea90b Set owner of file dialogs on windows. 2020-06-10 01:52:17 +02:00
Bartosz Taudul de357b6193 Update ImGui to docking@5d472c489. 2020-06-05 19:21:07 +02:00
Bartosz Taudul 0891245b49 Describe incompatible protocol in the tooltip. 2020-06-04 02:15:21 +02:00
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