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

8411 Commits

Author SHA1 Message Date
Bartosz Taudul 616e7c2eec Retrieve ImGui with CPM.
ImGui OpenGL loader is patched, and not regenerated, because the gl3w
script requires network connectivity to download the header files from
Khronos at build time.
2024-09-27 15:55:22 +02:00
Bartosz Taudul 1769c2f457 Add imgui opengl loader diff, for reference.
The repo url is https://github.com/dearimgui/gl3w_stripped.
2024-09-27 15:54:14 +02:00
Bartosz Taudul 0e47224578 Universally use add_compile_options(). 2024-09-27 14:10:30 +02:00
Bartosz Taudul be53a82e78 Another try at fixing macos build. 2024-09-26 16:22:47 +02:00
Bartosz Taudul bc60621d61 Use svg favicon. 2024-09-26 16:21:16 +02:00
Bartosz Taudul 8f8871454c Fix macos build, hopefully. 2024-09-26 16:02:47 +02:00
Bartosz Taudul 1c1faeff2d Replace parallel STL with PPQSort.
PPQSort is supposedly quite fast: https://github.com/GabTux/PPQSort

More importantly, it does not depend on TBB fuckery, so there's no longer
a need to link with an external library that people may or may not have.

The NO_PARALLEL_STL option is out, as it was provided solely to deal with
TBB being not available. Sequential sorting is still used on emscripten.
2024-09-26 14:41:59 +02:00
Bartosz Taudul d400183483 Replace stray std::sort() with pdqsort_branchless(). 2024-09-26 14:36:56 +02:00
Bartosz Taudul 717605065a Mark comparators const. 2024-09-26 14:04:20 +02:00
Bartosz Taudul 5b1f3f67c3 Do not include library dependencies in the default target.
We are only interested in outputting the executable program.
2024-09-26 13:04:47 +02:00
Bartosz Taudul 721cf57b28 Remove obsolete library build files. 2024-09-26 12:15:56 +02:00
Bartosz Taudul 9c5c082d83 Provide zstd compressed files. 2024-09-26 00:25:13 +02:00
Bartosz Taudul 684c34dc21 Handle focus in/out on emscripten to fix mouse button stickiness. 2024-09-25 00:36:55 +02:00
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