Bartosz Taudul
a916050724
Add memory discard to C API.
2024-10-21 18:31:49 +02:00
Bartosz Taudul
f4df9013bb
Add memory discard message.
...
This can be used to erase all allocations made within the named memory
pool. The usual use case would be for arena allocators, which allocate
by advancing a pointer and never have to free the memory. There is no
tracking of individual allocations and everything is freed frequently,
by reseting the pointer, for example once per frame.
Since this is used in special-purpose allocators, there is no support
for discarding the memory of the default memory pool.
2024-10-21 18:22:22 +02:00
Joshua Kriegshauser
66edfaec42
More PR feedback
2024-10-02 12:50:12 -07:00
Joshua Kriegshauser
e1554a13e0
PR feedback
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
9dfb1e98b9
Line and braces tweaks
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
97a6a3dde7
always override unhandled exception filter
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
cc860fe56a
Reduce template code
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
201dcb6a8a
Tweaks
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
5213c53bb0
Use SetUnhandledExceptionFilter instead of vectored exceptions
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
9378718231
Safe copy
2024-10-02 11:21:34 -07:00
Dmytro Bulatov
34879d6dd3
Bumped protocol version
2024-10-03 02:48:50 +09:00
Dmytro Bulatov
defb91abc1
Added Custom GPU Context Type
2024-10-03 01:55:29 +09:00
Marcos Slomp
7bb59b6784
fixing debugging & scoping issues
2024-09-12 17:24:00 -07:00
Bartosz Taudul
9a3a6ba3ef
Bump protocol due to Metal adding an enum entry.
2024-09-10 19:08:43 +02:00
Bartosz Taudul
e8ff26e173
Merge pull request #793 from slomp/slomp/metal
...
Metal (Apple) GPU back-end for Tracy
2024-09-10 19:08:04 +02:00
Marcos Slomp
bd061d1d1b
removing unsupported macro interfaces
2024-09-09 17:20:19 -07:00
Marcos Slomp
19f376a6c9
fixixng interface macros
2024-09-09 17:08:15 -07:00
Bartosz Taudul
11777e8136
Check if core_id and die_id exist.
2024-09-07 23:53:57 +02:00
Bartosz Taudul
ea4de3be36
Detect and report if running under Wine.
2024-09-07 22:09:00 +02:00
Marcos Slomp
0ffa0be4fd
addressing code review comments
2024-09-03 11:15:39 -07:00
Bartosz Taudul
8e3d250654
Check for errors from GetLogicalProcessorInformationEx().
2024-08-31 11:36:59 +02:00
Marcos Slomp
fe51f02a25
cleanup and comments
2024-08-26 08:15:47 -07:00
Marcos Slomp
aa85824455
comments about the decisions and behavior of the Metal back-end
2024-08-26 08:15:47 -07:00
Marcos Slomp
799360dfb8
Collect pending timestamps during shutdown
2024-08-26 08:15:47 -07:00
Marcos Slomp
ea65b145c6
adding wiretap for debugging purposes
2024-08-26 08:15:47 -07:00
Marcos Slomp
06b23cc293
more cleanup
2024-08-26 08:15:47 -07:00
Marcos Slomp
5ec7565852
cleanup
2024-08-26 08:15:47 -07:00
Marcos Slomp
638fa1f06c
blarg3
2024-08-26 08:15:47 -07:00
Marcos Slomp
cef49c2269
blarg again...
2024-08-26 08:15:47 -07:00
Marcos Slomp
5f09d454be
blargh
2024-08-26 08:15:47 -07:00
Marcos Slomp
91ca0f2f89
improved panic macro (supports print args)
2024-08-26 08:15:47 -07:00
Marcos Slomp
04cf494d9c
bugfixes
2024-08-26 08:15:47 -07:00
Marcos Slomp
b11e66594d
debugging
2024-08-26 08:15:47 -07:00
Marcos Slomp
ad2c2efacd
fixing collect wrap-around
2024-08-26 08:15:47 -07:00
Marcos Slomp
a9538799da
more debugging
2024-08-26 08:15:47 -07:00
Marcos Slomp
c374440379
adding blit pass and render pass interfaces
2024-08-26 08:15:47 -07:00
Marcos Slomp
c6cc424991
collecting/resolving timestamps in pairs
2024-08-26 08:15:47 -07:00
Marcos Slomp
6d04913b4a
stale comments
2024-08-26 08:15:47 -07:00
Marcos Slomp
3d69c485be
fixing timestamp mapping range
2024-08-26 08:15:47 -07:00
Marcos Slomp
94407dbd1f
giving up on calibration, for now
2024-08-26 08:15:47 -07:00
Marcos Slomp
fd1e60e2fd
fixing cpu timestamp baseline
2024-08-26 08:15:47 -07:00
Marcos Slomp
4b695cc3dd
debugging timestamps...
2024-08-26 08:15:47 -07:00
Marcos Slomp
47180dbf7f
basing metal zone scopes on MTLComputePassDescriptor
2024-08-26 08:15:47 -07:00
Marcos Slomp
1dfc926eb8
Metal back-end WIP
2024-08-26 08:15:47 -07:00
Bartosz Taudul
e26c34346b
libbacktrace: support FDPIC (1dd5c40)
2024-08-24 18:15:52 +02:00
Bartosz Taudul
0d0e56dca3
libbacktrace: avoid infinite recursion (febbb9b)
2024-08-24 18:02:05 +02:00
Bartosz Taudul
12c8592325
libbacktrace: fix UBSAN issues (5aa9254)
2024-08-24 18:01:10 +02:00
Bartosz Taudul
ef21f5867e
libbacktrace: correctly gather Mach-O symbol table (3fda5a8)
2024-08-24 17:57:43 +02:00
Bartosz Taudul
ba79deddf6
libbacktrace: it's OK if zstd decompressor sees no backward bits (4ead348)
2024-08-24 17:55:41 +02:00
Bartosz Taudul
8f3b312b7c
Get CPU die information on windows.
2024-08-24 17:47:00 +02:00