Björn Blissing
e1b1fd72dc
Wrap std::numeric_limits<T>::max() in parenthesis
...
The windows.h header file defines the macro max. If the max macro is include
it will lead to name collisions with the std::numeric_limits<T>::max() function.
One solution is to define NOMINMAX before the inclusion of windows.h.
However, that might be a demanding task for a large codebase. Defining the
NOMINMAX as global define may also break previous code.
Another to solution to the problem is to wrap the numeric_limits function in
parenthesis to instruct the compiler to treat it as a function and not a macro.
This commit wraps the std::numeric_limits<T>::max() calls in the public
interfacing header files, with parenthesis.
2023-08-17 10:03:52 +02:00
Bartosz Taudul
84eff4b05d
Merge pull request #594 from menduz/master-1
...
Fix mac compile for latest macos SDK
2023-08-16 11:14:46 +02:00
menduz
e05545b04a
Fix mac compile for latest macos SDK
...
Following 3feb2473a2
, `mach_vm.h` seems to have been deleted
2023-08-15 21:00:46 -03:00
Bartosz Taudul
c689e9e0aa
Adjust language to no longer specify "all cores".
2023-08-05 12:08:29 +02:00
Bartosz Taudul
296f30a9c5
Reduce number of worker threads used for render tasks.
...
Number of cores -> number of worker threads:
1 -> 0
2 -> 0
3 -> 0
4 -> 1
5 -> 1
6 -> 2
7 -> 2
8 -> 3
9 -> 3
10 -> 4
11 -> 4
12 -> 5
13 -> 5
14 -> 6
15 -> 6
16 -> 7
17 -> 7
18 -> 8
19 -> 8
20 -> 9
21 -> 9
22 -> 10
23 -> 10
24 -> 11
25 -> 11
26 -> 12
27 -> 12
28 -> 13
29 -> 13
30 -> 14
31 -> 14
32 -> 15
2023-08-05 12:01:36 +02:00
Bartosz Taudul
47b724a903
Merge pull request #590 from clibequilibrium/patch-1
...
Added binding links to the README.md
2023-07-31 16:39:33 +02:00
Alexander
8110cb20cc
Added binding links to the README.md
2023-07-31 09:47:04 -04:00
Bartosz Taudul
1eafeea1a9
Merge pull request #588 from dmirys/fix-tracy-no-callstack
...
Fix compilation for the case of using TRACY_NO_CALLSTACK
2023-07-31 12:21:55 +02:00
Ястребков Дмитрий Ирикович
de45af63cc
Fix compilation for the case of using TRACY_NO_CALLSTACK
2023-07-31 11:40:12 +07:00
Bartosz Taudul
0e26b9e53f
Merge pull request #583 from jjcasmar/master
...
Export thread id data in CSV
2023-07-19 14:21:35 +02:00
Juan Jose Casafranca
3d723299b0
Export thread id data
2023-07-19 14:01:27 +02:00
Bartosz Taudul
18f37ec52f
Merge pull request #581 from Christian-Prather/feature/cmake-versioning
...
Added cmake versioning and removed hardcoded share dir path
2023-07-17 19:02:24 +02:00
Christian Prather
a49af31188
Added cmake versioning and removed hardcoded share dir path
2023-07-17 10:55:46 -06:00
Bartosz Taudul
6c6ec00251
Handle failures when loading connection history.
2023-06-29 23:59:54 +02:00
Bartosz Taudul
57bd63dab6
Show trace description/filename on titlebar.
2023-06-29 23:53:37 +02:00
Bartosz Taudul
0cb6d8588b
Merge pull request #578 from theblackunknown/machizaud/fix-missing-headers
...
Couple of fixes
2023-06-23 15:02:22 +02:00
Andréa MACHIZAUD
cb30c4eb3e
Fix missing TracyClient headers
2023-06-23 14:57:48 +02:00
Andréa MACHIZAUD
47843918f4
Fix missing entries in tracy/TracyVulkan.hpp
2023-06-23 14:56:53 +02:00
Bartosz Taudul
dcc7c24132
Merge pull request #576 from Light7734/patch-1
...
fix: add missing #endif in 'TracyVulkan.hpp'
2023-06-22 11:34:00 +02:00
Light7734
b9eb5f6bef
fix: add missing #endif in 'TracyVulkan.hpp'
2023-06-22 09:31:33 +00:00
Bartosz Taudul
cf0e6b610b
Update NEWS.
2023-06-10 13:37:01 +02:00
robertblaketaylor
1b65a87c32
Support use of dynamic vulkan symbols ( #570 )
2023-06-09 12:48:30 +02:00
Bartosz Taudul
2b191e157e
Fix early exit not initializing values used later on.
2023-06-06 17:46:49 +02:00
Bartosz Taudul
c57b8994f6
Reduce required version of wl_seat protocol to 5.
...
The latest wl_seat protocol version is 9, but the last addition was made
to it in version 5. Wayland is stupid.
2023-05-25 18:48:45 +02:00
Bartosz Taudul
2759f96c0e
Add headers required on FreeBSD.
2023-05-23 23:48:48 +02:00
Bartosz Taudul
c00d8c6211
FreeBSD has 64-bit stat with no need for stat64.
2023-05-23 23:41:39 +02:00
Bartosz Taudul
4e1b198380
FreeBSD has alloca in stdlib.h.
2023-05-23 23:38:34 +02:00
Bartosz Taudul
eca841dfe3
Properly call make from within makefiles.
2023-05-23 22:42:53 +02:00
Bartosz Taudul
6b587e61de
Ignore obj files.
2023-05-22 21:09:38 +02:00
Bartosz Taudul
7299b49dab
Merge pull request #563 from spnda/fix_missing_vulkan_macro
...
Fix: Missing TracyVkContextHostCalibrated overload with Tracy disabled
2023-05-21 21:50:13 +02:00
sean
ca61a1350a
Fix: Missing TracyVkContextHostCalibrated overload with Tracy disabled
2023-05-21 21:47:25 +02:00
Bartosz Taudul
f3d3108d5f
Merge pull request #562 from fran6co/missing_dep
...
fix missing dependendency on install
2023-05-18 12:11:01 +02:00
Francisco Facioni
baf0e69a13
fix missing dependendency on install
2023-05-18 09:39:10 +01:00
Bartosz Taudul
c31bda6e8c
Merge pull request #561 from KristofferC/kc/divide_zero_csvexport
...
prevent divding by zero `csvexport` when number of zones is 1
2023-05-17 14:44:54 +02:00
KristofferC
1fc33b9389
prevent divding by zero when number of zones is 1 in csvexport
2023-05-17 14:21:10 +02:00
Bartosz Taudul
c79154c87b
Extract processing client broadcast messages to a separate function.
2023-05-07 16:11:42 +02:00
Bartosz Taudul
b072dbcdc6
Fix TaskDispatch on wasm.
2023-05-07 16:11:18 +02:00
Bartosz Taudul
64daca9f79
Disable LTO on wasm.
...
wasm-ld: error: /home/wolf/.emscripten_cache/sysroot/lib/wasm32-emscripten/lto/libc-mt.a(ntohs.o): attempt to add bitcode file after LTO.
wasm-ld: error: /home/wolf/.emscripten_cache/sysroot/lib/wasm32-emscripten/lto/libc-mt.a(htonl.o): attempt to add bitcode file after LTO.
2023-05-07 16:10:59 +02:00
Bartosz Taudul
72cfa3e0d1
Fix copy pasta.
2023-05-04 15:16:46 +02:00
Bartosz Taudul
c75f01c90e
Merge pull request #557 from KristofferC/kc/filter_user
...
allow filtering zones in Zone finder based on the user text
2023-05-02 17:46:27 +02:00
Kristoffer
3285c8c960
formatting
2023-05-02 11:25:42 +02:00
Bartosz Taudul
bd2f903c08
Add persistent target FPS option.
2023-05-01 19:09:27 +02:00
Bartosz Taudul
3150a48561
Update NEWS.
2023-05-01 15:50:20 +02:00
Bartosz Taudul
ba41255ccc
Adjust wording.
2023-05-01 15:48:33 +02:00
Bartosz Taudul
d6c5d3f6db
Don't enforce creating at least one worker thread in TaskDispatch.
...
Everything can be confined to a single thread that does job dispatch,
and then waits for the jobs to finish. TaskDispatch has always executed
outstanding work during this wait, so no workers are needed.
2023-05-01 15:44:27 +02:00
Bartosz Taudul
58a6f703af
Update NEWS.
2023-05-01 15:32:16 +02:00
Bartosz Taudul
555b3628ee
Expose configuration options in the UI.
2023-05-01 15:32:16 +02:00
Bartosz Taudul
b68ada2abd
Load/save global config.
2023-05-01 15:13:58 +02:00
Bartosz Taudul
efce727ad4
Add extern "C" to ini.h.
2023-05-01 15:13:00 +02:00
Bartosz Taudul
331c2bd7c0
Configure number of threads in TimelineController.
2023-05-01 14:41:51 +02:00