Simonas Kazlauskas
b0d67064b5
Check for null FILE handles in ReportTopology
...
On Linux `/sys` is not guaranteed to exist. When it doesn't, tracy
would crash with a SIGSEGV due to a nullptr dereference. Not actually
sure how well tracy clients will handle the case where this information
is missing, though.
2020-06-21 20:14:05 +03:00
Bartosz Taudul
b353eb753b
Merge pull request #56 from nagisa/nagisa/fix-macos-build
...
Fix build on macos
2020-06-20 19:57:09 +02:00
Bartosz Taudul
bdf2729845
Merge pull request #55 from nagisa/nagisa/tracy-sized-functions
...
`___tracy_alloc_*` take pointer-size pairs
2020-06-20 19:45:33 +02:00
Simonas Kazlauskas
b03da81afa
Fix build on macos
...
It was broken by a110b42011
.
In addition, adjust the CI definition to test builds on macOS.
2020-06-20 20:44:55 +03:00
Simonas Kazlauskas
29886435b4
___tracy_alloc_*
take pointer-size pairs
...
This enables better bindings in languages that do not have 0-terminated
strings for source/function name. It does not introduce any additional
overhead in languages that do use 0-terminated strings, either, but it
_is_ a breaking API change.
Fixes https://github.com/wolfpld/tracy/issues/53
2020-06-20 20:35:42 +03:00
Bartosz Taudul
d8466c5839
Fix typo.
2020-06-20 18:50:05 +02:00
Bartosz Taudul
f7727f3aa4
Workaround broken connect implementation.
2020-06-20 18:35:21 +02:00
Bartosz Taudul
5ccd62ced8
Merge pull request #52 from nagisa/nagisa/tracy-init-thread
...
Add ___tracy_init_thread function
2020-06-20 16:45:56 +02:00
Simonas Kazlauskas
6d74f4e8ff
Extract manual changes into a separate section
...
The functions in the extracted section are mostly intended to be used
with bindings, so it made sense to give them their dedicated and
appropriately named section.
2020-06-20 17:32:35 +03:00
Bartosz Taudul
561664187a
Update NEWS.
2020-06-20 15:30:31 +02:00
Bartosz Taudul
d1e17de7c2
Allow import of plots.
2020-06-20 15:30:06 +02:00
Simonas Kazlauskas
a110b42011
Add ___tracy_init_thread function
...
This function needs to be called for each non-main thread before calling
the `___tracy_alloc_` functions.
Alternative way to achieve this could be initializing the allocator
transparently in the `___tracy_alloc_*` calls.
2020-06-20 04:22:32 +03:00
Bartosz Taudul
25c7245566
Revert "Use pkg-config to link with TBB, but silence errors."
...
This reverts commit b4d6833231
.
pkg-config setup for TBB is debian-specific.
2020-06-19 20:07:06 +02:00
Bartosz Taudul
5610bd0f8b
Add information on how to build utilities.
2020-06-19 17:35:24 +02:00
Bartosz Taudul
2b5e45cd9b
Fix edge case in directory structure creation.
2020-06-19 17:17:26 +02:00
Bartosz Taudul
b4d6833231
Use pkg-config to link with TBB, but silence errors.
2020-06-19 02:17:10 +02:00
Bartosz Taudul
11e1671048
Use proper string formatting.
2020-06-18 01:32:53 +02:00
Bartosz Taudul
a8c752e2ab
Update NEWS.
2020-06-17 18:28:23 +02:00
Bartosz Taudul
b0d71b648f
Allow listing cached source files.
2020-06-17 18:26:23 +02:00
Bartosz Taudul
c507507233
Fix gcc/clang.
2020-06-16 20:14:59 +02:00
Bartosz Taudul
47dfddedfd
Use tzcnt instead of bsf.
2020-06-16 18:19:05 +02:00
Bartosz Taudul
7a6141389c
Replace floating point condition with a bool.
2020-06-16 01:46:26 +02:00
Bartosz Taudul
dd05c8f524
Fix fixup of ghost zones end times.
2020-06-15 17:41:00 +02:00
Bartosz Taudul
71359c46c1
Drop support for loading pre-0.6.0 traces.
2020-06-14 15:52:52 +02:00
Bartosz Taudul
634b0933d1
Update manual.
2020-06-12 11:41:12 +02:00
Bartosz Taudul
9c1dd6d498
Make manual zone scope management more prominent.
2020-06-12 11:29:53 +02:00
Bartosz Taudul
21ddd0a820
Postpone initialization of hashmaps.
2020-06-12 11:26:44 +02:00
Bartosz Taudul
cbcf393332
Release 0.7.0.
2020-06-11 14:30:34 +02:00
Bartosz Taudul
3992eb0542
Move RDO threshold logic to tables.
2020-06-11 14:09:19 +02:00
Bartosz Taudul
2ab605d232
Use dedicated max-of-three-elements function.
2020-06-11 13:45:04 +02:00
Bartosz Taudul
2608ceca05
Improve memory access patterns in RDO compression.
2020-06-11 13:36:17 +02:00
Bartosz Taudul
2723144678
Don't create empty ghost children vectors.
2020-06-11 12:27:17 +02:00
Bartosz Taudul
99544f4655
Clamp previous ghost zones to current sample time.
2020-06-11 12:18:44 +02:00
Bartosz Taudul
191ff93822
Optimize DXT1 index order fixing.
2020-06-11 03:04:09 +02:00
Bartosz Taudul
aa3b0de1f5
Use proper cpuid flag.
2020-06-10 16:25:19 +02:00
Bartosz Taudul
0744355a67
Fix off-by-one (found by lispbub, #43 ).
2020-06-10 12:21:58 +02:00
Bartosz Taudul
d1ef8ea90b
Set owner of file dialogs on windows.
2020-06-10 01:52:17 +02:00
Bartosz Taudul
483bc3f549
Add D3D 12 to README.
2020-06-09 21:00:05 +02:00
Bartosz Taudul
45eb1a6ddb
Update NEWS.
2020-06-09 18:18:11 +02:00
Bartosz Taudul
e932cbe162
Add missing OpenCL mentions.
2020-06-09 18:17:43 +02:00
Bartosz Taudul
8bbc40beb2
Bump version, protocol for D3D12.
2020-06-09 11:20:50 +02:00
Bartosz Taudul
5eff06e809
Merge pull request #40 from Xenonic/master
...
Direct3D 12 GPU Profiling
2020-06-09 11:20:19 +02:00
Andrew Depke
39479b8d93
Merge branch 'master' into master
2020-06-08 23:50:20 -06:00
Andrew Depke
7127e36217
Detailed TracyD3D12NewFrame and synchronization
2020-06-08 23:40:16 -06:00
Andrew Depke
501b356b2b
Added semi-automatic query synchronization for N-buffered rendering
2020-06-08 22:57:27 -06:00
Andrew Depke
9473272512
Fixed queryId not looping back
2020-06-08 16:57:31 -06:00
Andrew Depke
6e03bb1c2c
Reverted out-of-order execution sorting
2020-06-08 16:24:20 -06:00
Bartosz Taudul
284d49b34b
Change rdtscp check to rdtsc check.
2020-06-08 19:35:42 +02:00
Bartosz Taudul
1e8c842444
Update manual.
2020-06-08 18:27:41 +02:00
Bartosz Taudul
929d399995
Fix determination of line width.
2020-06-08 14:02:11 +02:00