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

8026 Commits

Author SHA1 Message Date
Bartosz Taudul e85457815e Conditional framerate limiting on Wayland. 2024-03-29 21:56:54 +01:00
Bartosz Taudul c21170cc01 Add config option for reduced render rate. 2024-03-29 21:54:31 +01:00
Bartosz Taudul 547325f270 Reduce framerate on Wayland when profiler window has no focus. 2024-03-29 21:46:24 +01:00
Bartosz Taudul 767f7e4fd4 Track keyboard focus on Wayland. 2024-03-29 21:38:20 +01:00
Bartosz Taudul 2f8fe4180d Fix variable name. 2024-03-29 20:00:21 +01:00
Bartosz Taudul 565656b021 Merge pull request #762 from mcourteaux/master
Fix Ctrl-Shift-Alt-R bug
2024-03-28 18:26:28 +01:00
Martijn Courteaux aa66d0c286 Fix Ctrl-Shift-Alt-R bug 2024-03-28 18:07:27 +01:00
Bartosz Taudul 30d656070d Merge pull request #760 from Chekov2k/fix_python_clean
Do not use directories as by products when file are still present
2024-03-26 21:58:29 +01:00
Arnim Balzer 7a779ba03c Do not use directories as by products when file are still present
Unfortunately cmake does not support generator expressions in add_custom_command byproducts so can't remove all files
2024-03-26 20:55:04 +00:00
Bartosz Taudul e77224975d Update last time when callstack or hw samples arrive. 2024-03-26 20:48:52 +01:00
Bartosz Taudul e071b9043f Set busy cursor when the application is busy. 2024-03-24 17:40:30 +01:00
Bartosz Taudul 5b2cce0a02 Push IsBusy() callback to Backend. 2024-03-24 17:39:55 +01:00
Bartosz Taudul 9f9cd04761 Add function to determine if the program is busy. 2024-03-24 17:38:45 +01:00
Bartosz Taudul 630effe8fa Add support for different mouse cursors on Wayland. 2024-03-24 01:54:21 +01:00
Bartosz Taudul 87dcfbd84b Set mouse cursor with the cursor shape protocol. 2024-03-24 01:36:03 +01:00
Bartosz Taudul 3805727ee5 Generate cursor shape protocol. 2024-03-24 01:22:57 +01:00
Bartosz Taudul 6349d1ef0b Support fractional scaling.
Mouse cursor is broken, but the whole Wayland design of providing mouse
cursors as surfaces by the application is broken.
2024-03-24 01:17:40 +01:00
Bartosz Taudul cdfad41d68 Refresh screen after scale change. 2024-03-24 00:04:46 +01:00
Bartosz Taudul bf86eba59c Rescale scale to have 120 as a unit. 2024-03-24 00:02:13 +01:00
Bartosz Taudul 16554ed2ed Handle wayland window resizes the right way. 2024-03-23 23:57:08 +01:00
Bartosz Taudul aa4878bb8e Bind viewporter. 2024-03-23 22:27:49 +01:00
Bartosz Taudul 475b022ed8 Generate viewporter protocol. 2024-03-23 22:27:49 +01:00
Bartosz Taudul 0e458447ff Don't keep opening terminal on launch. 2024-03-23 22:27:49 +01:00
Bartosz Taudul 2bfa540656 Bind fractional scale manager. 2024-03-23 22:27:48 +01:00
Bartosz Taudul 3342254a0e Generate fractional-scale protocol. 2024-03-23 22:27:46 +01:00
Bartosz Taudul e10fc58bf5 Merge pull request #759 from Chekov2k/segfault
Fix segfault in Python bindings for TRACE_ENABLE=OFF case
2024-03-23 19:17:21 +01:00
Arnim Balzer 93be1d9343 Fix segfault in Python bindings for TRACE_ENABLE=OFF case 2024-03-23 17:51:16 +00:00
Bartosz Taudul 55be66cdf8 Update NEWS. 2024-03-23 13:56:25 +01:00
Bartosz Taudul 4c1b06034b Display program run time percentage in lines selection summary. 2024-03-23 13:54:39 +01:00
Bartosz Taudul ef9f2d247d Add display of per-line sample time as a program run time percentage. 2024-03-23 13:50:00 +01:00
Bartosz Taudul adbee2f820 Update NEWS. 2024-03-23 12:15:47 +01:00
Bartosz Taudul 828e52f5c4 Merge pull request #754 from Chekov2k/python
Added basic Python Support
2024-03-23 11:57:02 +01:00
Arnim Balzer 505afc8f77 Document other CMake options and fix tex errors 2024-03-23 06:45:12 +00:00
Arnim Balzer 059f1487af Option to disable use of external pybind11 2024-03-23 06:45:12 +00:00
Arnim Balzer d65d96191a Added basic Python Support
Supported:
 - FrameMarks
 - ScopedZones
 - Memory allocations
 - Plots
 - ThreadNames
 - Messages
 - AppConfig

Not supported:
 - GPU
2024-03-23 06:45:12 +00:00
Bartosz Taudul e38d9fa7ce Use mold linker if available. 2024-03-23 02:08:36 +01:00
Bartosz Taudul 8a411a72b8 Merge pull request #757 from JBurnWork/noCallstackUpdates
Updates to address compilation with TRACY_NO_CALLSTACK
2024-03-23 01:26:42 +01:00
Bartosz Taudul 3d70a61436 Update manual. 2024-03-23 00:48:43 +01:00
Bartosz Taudul 9e6be031c1 Don't install capstone on CI. 2024-03-23 00:36:52 +01:00
Bartosz Taudul afceec59aa Enable AVX2 code generation on MSVC. 2024-03-22 22:07:43 +01:00
Jeff Burnett 18352366f7 Still use named mem pool if no callstacks
Forward MemAllocCallstackNamed() and MemFreeCallstackNamed() to
MemAllocNamed() and MemFreeNamed if callstack capture is off.
2024-03-22 09:50:05 -05:00
Jeff Burnett 278330af5b Fix build warnings for TRACY_NO_CALLSTACK
Fix build warnings about undefined TRACY_HAS_CALLSTACK and an unused
argument for Callstack() when TRACY_NO_CALLSTACK is defined.
2024-03-22 09:50:05 -05:00
Bartosz Taudul aac38a7deb Update CI.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-22 13:49:08 +01:00
Bartosz Taudul 8b8cd7d28b Add -pthread to emscripten compile and link commands. 2024-03-21 23:04:41 +01:00
Bartosz Taudul 434d73c7bd Emscripten support.
Doesn't work due to i64 vs i32 type mismatch in glGetIntegerv, which
seems like some general compatibility bullshit, not something related
to CMake.
2024-03-21 23:04:41 +01:00
Bartosz Taudul 8ee866e840 Update git ignores. 2024-03-21 23:04:40 +01:00
Bartosz Taudul fec5e6bb9c UNIX variable is true on Apple. 2024-03-21 23:04:40 +01:00
Bartosz Taudul a2fdd3638c Change CMake build dir to "build". 2024-03-21 23:04:40 +01:00
Bartosz Taudul 7f8a2e2c9a Remove old build files. 2024-03-21 23:04:40 +01:00
Bartosz Taudul 1df45c00c0 Generate private-code with wayland-scanner. 2024-03-21 23:04:40 +01:00