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

4669 Commits

Author SHA1 Message Date
Bartosz Taudul 16aca7e6c8 Update NEWS. 2020-05-09 02:38:01 +02:00
Bartosz Taudul ad4387a0c0 Implement saving disassembly to a file. 2020-05-09 02:37:18 +02:00
Bartosz Taudul 8b56dd5468 Prevent division by zero. 2020-05-08 01:55:03 +02:00
Bartosz Taudul 70818b49b9 Force connection popup boolean should decay. 2020-05-08 01:49:15 +02:00
Bartosz Taudul 5b29e65bc5 Initial value of DecayValue might be active. 2020-05-08 01:48:37 +02:00
Bartosz Taudul 211dfd7f7e Bump imgui to ecf82ca8066. 2020-05-08 00:05:59 +02:00
Bartosz Taudul 2da6c6b6f5 Fix enforced connection popup position wrt viewports. 2020-05-07 15:27:11 +02:00
Bartosz Taudul b97b3700c3 Drop appveyor badge from README. 2020-05-07 02:36:34 +02:00
Bartosz Taudul 2ca6b6f2fe Implement display of grouped instruction pointer statistics. 2020-05-07 02:33:37 +02:00
Bartosz Taudul 15454d2253 Select microarchitecture basing on cpuid. 2020-05-07 00:53:31 +02:00
Bartosz Taudul eab3adfa1d Display CPU info. 2020-05-06 19:18:17 +02:00
Bartosz Taudul 6fda74e281 Save/load cpu id. 2020-05-06 19:18:17 +02:00
Bartosz Taudul a47c7d467f Send x86 processor info in welcome message. 2020-05-06 19:18:17 +02:00
Bartosz Taudul f13413922d Use one cpuid implementation. 2020-05-06 18:52:36 +02:00
Bartosz Taudul 322e39d9ad Terser CI names. 2020-05-06 13:30:01 +02:00
Bartosz Taudul 468d3d1077 Add missing include. 2020-05-06 12:50:09 +02:00
Bartosz Taudul aa7e5b87c4 Merge pull request #15 from rokups/rk/misc-fixes
Misc fixes
2020-05-06 11:08:08 +02:00
Bartosz Taudul bcaa07cdb4 Add latex manual CI job. 2020-05-06 02:05:53 +02:00
Bartosz Taudul 5dc20aaef3 Upload win32 artifacts. 2020-05-06 02:05:53 +02:00
Bartosz Taudul 14b9124a03 Add gcc-based CI script. 2020-05-06 01:16:39 +02:00
Rokas Kupstys e40f0c4f2e Fix MinGW build. 2020-05-05 13:23:46 +03:00
Rokas Kupstys 04eaf358d0 Fix linking error in some configurations. Unresolved CallTrace symbol was observed in static MSVC RelWithDebInfo build (but not in debug build). 2020-05-05 13:23:46 +03:00
Rokas Kupstys 6727cc2da4 Add empty TRACY_API instead of using dllexport for static builds on windows. Using dllexport is not correct, because it marks APIs in static lib for export and these APIs would get exported from a DLL that links to tracy.
Make API use TRACY_EXPORTS, and replace TRACYPROFILER_EXPORTS with TRACY_EXPORTS in vcxproj projects.

Swap dllimport with dllexport. Reason for this is a common idiom in CMake: target_compile_definitions(tracy PUBLIC -DTRACY_IMPORTS PRIVATE -DTRACY_EXPORTS). This idiom adds both defines in tracy target, but targets that link to tracy only get TRACY_IMPORTS. Swapped statements ensure that tracy always dllexports it's api and consuming targets always dllimport it.
2020-05-05 13:23:46 +03:00
Bartosz Taudul 3d8ebf9157 Add MSVC github actions config 2020-05-05 02:03:18 +02:00
Bartosz Taudul c87d8f017f Disable viewports. 2020-05-05 00:48:53 +02:00
Bartosz Taudul 57819055da Merge pull request #13 from ikrima/viewports-pr
ImGui Multiviewport fixes
2020-05-05 00:48:08 +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 1d74c400ac Update manual. 2020-05-03 21:29:18 +02:00
Bartosz Taudul f64e588094 Update NEWS. 2020-05-03 21:20:37 +02: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 74e55f584c Small toggle button. 2020-05-03 20:49:21 +02:00
Bartosz Taudul bb39913339 Cosmetics. 2020-05-03 20:49:13 +02:00
Bartosz Taudul d99129f0e4 Move ToggleButton() out of TracyView.cpp. 2020-05-03 20:40:53 +02:00
Bartosz Taudul 5ad1023088 Update manual. 2020-05-03 16:01:35 +02:00
Bartosz Taudul bdd6dc625e Update NEWS. 2020-05-03 14:39:04 +02:00
Bartosz Taudul 88b2b04b0d Display running threads in CPU usage tooltip. 2020-05-03 14:34:22 +02:00
Bartosz Taudul fb801fa484 Extract time value at mouse cursor to a variable. 2020-05-03 14:34:05 +02:00
Bartosz Taudul 9d94cdbb52 Parametrize color highlighting. 2020-05-03 14:33:47 +02:00
Bartosz Taudul 3aed0ba150 Unformatted colored text printing with uint32 color. 2020-05-03 14:33:11 +02:00
Bartosz Taudul b69bf49082 Separate thread context data getter. 2020-05-03 14:21:27 +02:00
Bartosz Taudul ad46f981f9 Update NEWS. 2020-05-03 13:55:09 +02:00
Bartosz Taudul 222d3d661e Change "go to frame" window to popup. 2020-05-03 13:54:37 +02:00
Bartosz Taudul d4e490f47e Keep frames graph at the top of the window (not in dock space). 2020-05-03 13:30:05 +02:00
Bartosz Taudul bb043f96ee Use internal NoTabBar flag for central node. 2020-05-03 13:29:51 +02:00
Bartosz Taudul e3acb635a3 Tune up work area window padding. 2020-05-03 13:27:58 +02:00
Bartosz Taudul 32aa23822b Disable docking in central node. 2020-05-03 13:23:48 +02:00
Bartosz Taudul 3350a78cd8 Put work area in center docking node. 2020-05-03 13:23:26 +02:00
Bartosz Taudul 73fda0b188 Disable docking in the main window. 2020-05-03 13:21:34 +02:00
Bartosz Taudul 476b809c4d Enable docking flag. 2020-05-03 13:21:04 +02:00