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

8398 Commits

Author SHA1 Message Date
Bartosz Taudul bbbe6ce894 Update NEWS. 2024-09-24 20:12:19 +02:00
Bartosz Taudul fbd359099b Document top inline option. 2024-09-24 19:57:21 +02:00
Bartosz Taudul 315864e434 Mark self function in inlines list if top inline is enabled. 2024-09-24 19:47:41 +02:00
Bartosz Taudul b676406878 Assert on parent name being null. 2024-09-24 19:44:36 +02:00
Bartosz Taudul aca0f3cad7 Workaround failing assert.
The aggregate inlines code branch can fail when the top inlines option
is enabled, on an assert. This was present in the code before, it's just
that enabling top inlines is equivalent to expanding all the collapsed
symbols, which is not something practical to do.

Workaround by adding a condition instead of the assert. Finding a repro
case would be better to figure out what's exactly happening there, but
we are where we are.
2024-09-24 19:42:35 +02:00
Bartosz Taudul 2d6bcff3a6 Add option to display top cost inlines in symbol statistics list. 2024-09-24 19:42:35 +02:00
Bartosz Taudul ae2a7c60b8 Calculate inline symbols list earlier. 2024-09-24 19:42:34 +02:00
Bartosz Taudul 9b9a883d07 Fix crash introduced in 605cdcb5. 2024-09-24 17:15:43 +02:00
Bartosz Taudul f6882e2a5d Use a proper way to enable compiler diagnostics with color. 2024-09-23 23:11:08 +02:00
Bartosz Taudul 7792b95443 Workaround MSVC mutex fubar. 2024-09-23 23:10:11 +02:00
Bartosz Taudul 19960c0287 Fix invalid memory read when pointers are not 64-bit.
Fixes invalid read on emscripten.
2024-09-22 13:36:15 +02:00
Bartosz Taudul 07a561176c Remove AnalyzeTemporaryDtors clang-tidy setting.
https://github.com/llvm/llvm-project/issues/62020
2024-09-22 13:11:39 +02:00
Bartosz Taudul 82a0476ad5 Revert "Copying compile_commands.json is no longer needed, apparently."
This reverts commit de2a9fd18f.
2024-09-22 13:08:10 +02:00
Bartosz Taudul 86270dac6d Set unique ID for frame list invisible buttons. 2024-09-22 13:00:30 +02:00
Bartosz Taudul 8b9da2efba Add support for setting mouse cursor on emscripten. 2024-09-20 23:30:21 +02:00
Bartosz Taudul 207605f93b Ignore git unsafe directory. 2024-09-20 22:39:05 +02:00
Bartosz Taudul 650e1b9739 Pass github.sha as git rev. 2024-09-20 22:09:30 +02:00
Bartosz Taudul c3cf13fc64 Allow passing custom git revision to CMake. 2024-09-20 22:08:03 +02:00
Bartosz Taudul 87285cfcaa Add support for using other rev than HEAD in git-ref.py. 2024-09-20 22:04:25 +02:00
Bartosz Taudul 821f2f907b Tracy compiles its own freetype. 2024-09-20 21:46:32 +02:00
Bartosz Taudul a68ef3c27b Emscripten deployment steps. 2024-09-20 21:40:10 +02:00
Bartosz Taudul aa451b48bb Add emscripten build job. 2024-09-20 21:28:32 +02:00
Bartosz Taudul 39497ab77b Disable scroll-by-page. 2024-09-20 19:50:30 +02:00
Bartosz Taudul a47a51453c Update ImGui to 10fe2b67. 2024-09-20 19:48:55 +02:00
Bartosz Taudul fc303d9594 Don't sort flame graph by default. 2024-09-20 01:29:47 +02:00
Bartosz Taudul 0b5b674e1f Fix indentation. 2024-09-20 01:02:48 +02:00
Bartosz Taudul e793f927fc Add feels-good scaling factor to wheel scroll values. 2024-09-19 21:02:58 +02:00
Bartosz Taudul 4795011b12 Remove debug printf. 2024-09-19 20:58:05 +02:00
Bartosz Taudul f971faab58 Fix horizontal wheel scroll direction. 2024-09-19 20:53:44 +02:00
Bartosz Taudul 07995f0222 Run two render worker threads on emscripten. 2024-09-19 20:44:42 +02:00
Bartosz Taudul 25899fef73 Disable ImGui debug tools in non-debug builds. 2024-09-19 20:13:37 +02:00
Bartosz Taudul de2a9fd18f Copying compile_commands.json is no longer needed, apparently. 2024-09-19 20:13:20 +02:00
Bartosz Taudul 1109e3ce2d Add html5.h emscripten backend. 2024-09-19 19:56:52 +02:00
Bartosz Taudul 0b72fd8a97 Update ImGui to 1.91.2 + docking. 2024-09-19 18:04:44 +02:00
Bartosz Taudul 00f7beee43 No connections allowed on emscripten. 2024-09-18 19:30:54 +02:00
Bartosz Taudul 20905406da Don't use obsolete ImGui functionality. 2024-09-18 19:13:26 +02:00
Bartosz Taudul 6ff9869120 Bump ImGui to 1.90.8 + docking. 2024-09-18 19:13:26 +02:00
Bartosz Taudul 0f0f2c6b9b Compile everything on emscripten with the same set of flags. 2024-09-18 19:13:26 +02:00
Bartosz Taudul 3bb6f1bb68 Adjust link flags for emscripten.
Increase the thread pool to account for background jobs. Increase stack
size, as it was overflowing. Move the pthread flag out of config.cmake.
2024-09-18 19:13:26 +02:00
Bartosz Taudul 3bea3b7725 Disable resolv service on emscripten. 2024-09-18 19:13:25 +02:00
Bartosz Taudul 758080e579 Merge pull request #886 from mcourteaux/master
Fix inheriting color bug.
2024-09-14 18:35:56 +02:00
Martijn Courteaux 0f6002822c Fix inheriting color bug. 2024-09-14 14:10:55 +02:00
Bartosz Taudul 44d1502474 Always keep cursor shape initialized. 2024-09-14 01:15:02 +02:00
Bartosz Taudul 5a67246426 Silence warnings. 2024-09-14 01:10:14 +02:00
Bartosz Taudul 0d17d5eaaa Remove dead code. 2024-09-14 01:04:03 +02:00
Bartosz Taudul f387929653 No capture is needed. 2024-09-14 01:03:22 +02:00
Bartosz Taudul d8f4c8bc7e Don't perform arithmetic on enum values. 2024-09-14 01:00:19 +02:00
Bartosz Taudul 8a6e525ea9 Get up-to-date wayland-protocols directly from freedesktop. 2024-09-13 22:30:19 +02:00
Bartosz Taudul b359936c04 Zones can inherit custom colors from parents.
Co-authored-by: Martijn Courteaux <courteauxmartijn@gmail.com>
2024-09-13 22:14:22 +02:00
Bartosz Taudul 8724400884 Merge pull request #882 from slomp/slomp/metal-patch
Patching Apple/Metal back-end Debug issues
2024-09-13 12:15:47 +02:00