Commit Graph

8032 Commits

Author SHA1 Message Date
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
Bartosz Taudul
bde0c63006
Generate Wayland protocol sources. 2024-03-21 23:04:40 +01:00
Bartosz Taudul
71bde8d11a
Add wayland-scanner CMake module.
https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake
https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake

3dba889fef06c8760edab41159b98aaa4150b9b5
2024-03-21 23:04:40 +01:00
Bartosz Taudul
4c6f6332b0
Copy compile_commands.json to workspace root. 2024-03-21 23:04:40 +01:00
Bartosz Taudul
1a3131178d
Link update with dbghelp. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
148eac2c24
Link with getopt. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
06244c0def
Provide sane default config for VS Code CMake extension. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
f523521831
Fix copypasta. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
25898a9c7a
Enable LTO. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
4bfd6f42bc
Add CMake build files for the rest of the utilites. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
46718851da
Extract some common definitions. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
375f4526df
Set TRACY_VERSION_STRING directly in version.cmake. 2024-03-21 23:04:39 +01:00
Bartosz Taudul
776b08f2e0
Split core server files from the UI. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
cc4ed68271
Extract common set of server files to a separate cmake build file.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:38 +01:00
Bartosz Taudul
35246b4191
Remove vcpkg. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
269c75103e
Windows build fixes.
- Include manifest.
- Add icon.
- Set subsystem to Windows.
2024-03-21 23:04:38 +01:00
Bartosz Taudul
2c4abf5f9f
Link with winsock on Windows. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
58115b35c5
Fix non-wayland build. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
970250fc85
Another stupid macro needed for MSVC to not crap the pants. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
1bada6a6fd
Set NOMINMAX on win32. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
699d93c7ae
Provide a list of recommended VS Code extensions. 2024-03-21 23:04:37 +01:00
Bartosz Taudul
ee81795f26
Move discovery of external dependencies to cmake/vendor.cmake.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00
Bartosz Taudul
a5f256ca2d
Add CMake Package Manager.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00
Bartosz Taudul
061b990875
Move version.cmake to cmake/ subdirectory.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:37 +01:00
Bartosz Taudul
1c43f6efa7
Move profiler to top of CMake projects list.
Will it make it the default in the extension?
2024-03-21 23:04:37 +01:00
Bartosz Taudul
96d44cc847
Add VS Code CMake configuration. 2024-03-21 23:04:37 +01:00
Bartosz Taudul
b73a0ff54e
Replace build and launch config by CMake integration. 2024-03-21 23:04:37 +01:00
Bartosz Taudul
c9b4248d35
Add basic CMakeLists.txt for the profiler GUI. 2024-03-21 23:04:36 +01:00
Bartosz Taudul
0081f1bda0
Remove Microsoft's C++ extension configuration.
Use clangd instead.
2024-03-21 23:04:36 +01:00
Bartosz Taudul
9ca27bf7cc
Enable including version.cmake from any directory. 2024-03-21 23:04:36 +01:00
Bartosz Taudul
ac031e64d6
Merge pull request #755 from Chekov2k/color
Add support to set color when creating a ScopedZone
2024-03-20 22:19:38 +01:00
Arnim Balzer
c5a68c2d8e
Remove default values that are not supported in C 2024-03-20 20:01:18 +00:00
Arnim Balzer
8df02e0bff
Add support to set color when creating a ScopedZone 2024-03-18 08:56:06 +00:00
Bartosz Taudul
83305115c2
Fix variable name. 2024-03-17 11:34:25 +01:00
Bartosz Taudul
578759384d
Make sure first DPI setup is run. 2024-03-16 01:16:25 +01:00
Bartosz Taudul
c673056dd4
Prevent window resizes on DPI change. 2024-03-16 01:13:09 +01:00
Bartosz Taudul
4fbef01729
Trigger redraw when DPI changes.
Previously the wayland surface was not updated, because there were no
surface commits performed due to power saving routines.
2024-03-16 00:57:55 +01:00
Bartosz Taudul
8ebe62ed85
Fix welcome window resizes. 2024-03-15 20:25:00 +01:00
Bartosz Taudul
55f9341aec
Scale ImGui windows when DPI changes.
Code is directly lifted from ImGui, with certain known caveats.
2024-03-15 20:19:32 +01:00
Bartosz Taudul
f5f82a2bd5
Don't show inline options for instrumentation statistics. 2024-03-13 23:39:16 +01:00
Bartosz Taudul
dec5b851af
Update NEWS. 2024-03-13 20:49:25 +01:00
Bartosz Taudul
37e3c60433
Update manual. 2024-03-13 20:40:54 +01:00
Bartosz Taudul
390b3d9c50
Redo inline options UI. 2024-03-13 20:04:38 +01:00
Bartosz Taudul
6c34e02dc2
Ability to display inline function cost percentages relative to base symbol. 2024-03-13 19:50:21 +01:00
Bartosz Taudul
6235343286
Disable sample parents when inline aggregation is enabled. 2024-03-13 19:15:00 +01:00