Commit Graph

7266 Commits

Author SHA1 Message Date
Bartosz Taudul
2e1d0deb3f
Update NEWS. 2021-05-02 02:51:28 +02:00
Bartosz Taudul
7708184f73
Merge pull request #204 from nosferalatu/Direct3D11
Direct3D11
2021-05-02 02:46:24 +02:00
Bartosz Taudul
ab627f9da2
Build zig-zag path in a preallocated buffer. 2021-05-02 02:40:36 +02:00
David Farrell
3f2d0bbf6e The ToyPathTracer example uses the D3D11 GPU zones 2021-05-01 17:31:49 -07:00
Bartosz Taudul
c668a08530
Missing space. 2021-05-02 02:21:49 +02:00
David Farrell
23010ee4d0 Updated README.md 2021-05-01 16:56:52 -07:00
David Farrell
3ad3d0234f Updated documentation with D3D11 information. 2021-05-01 16:54:59 -07:00
David Farrell
fe2adc8df4 Updated authors 2021-05-01 16:31:06 -07:00
David Farrell
dcf33b51cf Updated comment to say that both OpenGL _and_ Direct3D11
don't need per-zone thread id.
2021-05-01 16:31:06 -07:00
David Farrell
76294ca458 This commit makes the D3D11 code consistent with the D3D12 code.
It now properly supports TRACY_CALLSTACK as well as the
Tracy*Transient macros.

The order of the macros now has the same order as the D3D12 file.

Added support for TracyD3D11ContextName().

I removed TRACY_D3D11_NO_SINGLE_THREAD, because I'm not
sure what that is supposed to be used for. It was set
up in an upstream fork of Tracy.
2021-05-01 16:27:59 -07:00
David Farrell
9546ff18b8 Removed CMakeLists.txt 2021-05-01 15:03:53 -07:00
David Farrell
e9fd767884 Added missing comma in GpuContextNames 2021-05-01 15:03:02 -07:00
Rahul Gupta
a950e444b5 Updated as suggested by wolf in the PR 2021-05-01 14:55:45 -07:00
Rahul Gupta
c5fa9be41e Fixed the Macro Errors and Renamed Class names for more consistency 2021-05-01 14:55:45 -07:00
Hugo Amiard
4bf449c4c0 Fix Linux build 2021-05-01 14:55:45 -07:00
Hugo Amiard
d44d7db489 Add D3D11 Gpu Context/Zone 2021-05-01 14:55:45 -07:00
Hugo Amiard
aea72b28ce Add SourceLocation macros 2021-05-01 14:55:45 -07:00
Hugo Amiard
fb60fb9928 Add CMake support 2021-05-01 14:55:45 -07:00
Bartosz Taudul
0525cbc791
Update NEWS. 2021-05-01 18:26:13 +02:00
Bartosz Taudul
6c633762f9
Update manual. 2021-05-01 18:25:33 +02:00
Bartosz Taudul
ad7777b3c9
Mouse scroll -> mouse wheel. 2021-05-01 18:23:56 +02:00
Bartosz Taudul
4a8bfb4fac
Add ctrl/shift modifiers to mouse wheel zoom speed. 2021-05-01 18:20:19 +02:00
Bartosz Taudul
0bd6479f85
Optimizer IM_FIXNORMAL2F. 2021-05-01 18:10:29 +02:00
Bartosz Taudul
630615c6c2
Apply IM_NORMALIZE2F_OVER_ZERO optimization. 2021-05-01 18:10:20 +02:00
Bartosz Taudul
0e6a25fdd8
Directly compare time, with data piggybacked in low bits. 2021-05-01 15:04:56 +02:00
Bartosz Taudul
a688d24665
Replace two memory reads with just one. 2021-05-01 14:32:02 +02:00
Bartosz Taudul
088dd06197
Use DrawLine() in TracyView.cpp. 2021-05-01 13:59:43 +02:00
Bartosz Taudul
837272afba
Properly align context switch darken boxes. 2021-05-01 13:39:19 +02:00
Bartosz Taudul
a1aefe33a0
Use DrawLine() in TracySourceView.cpp. 2021-05-01 12:55:56 +02:00
Bartosz Taudul
c27c81db4c
Use DrawLine() in DrawCpuData(). 2021-05-01 02:59:43 +02:00
Bartosz Taudul
fe22d5a6f6
Add fast line drawing function.
This skips unnecessary construction of ImVec2 vector.

Note: unlike AddLine(), this function doesn't add 0.5 to x and y coordinates.
The user is expected to do it on his own, which if done in just one place will
be performance beneficial.
2021-05-01 02:57:35 +02:00
Bartosz Taudul
b9ce9540be
Remove namespace indent in TracyImGui.hpp. 2021-05-01 02:26:46 +02:00
Bartosz Taudul
57d87af8a2
Add tooltips for register read/write markers. 2021-05-01 00:22:11 +02:00
Bartosz Taudul
a001683a77
Update NEWS. 2021-04-29 21:05:36 +02:00
Bartosz Taudul
86ff14ad7e
Update manual. 2021-04-29 21:05:10 +02:00
Bartosz Taudul
eb7d220eea
Added support for TRACY_NO_FRAME_IMAGE define. 2021-04-29 20:55:16 +02:00
Bartosz Taudul
de5f258b03
Display complementary assembly address tooltips. 2021-04-29 20:33:10 +02:00
Bartosz Taudul
854439cdb1
Display jump target in asm instruction tooltip. 2021-04-29 20:27:32 +02:00
Bartosz Taudul
ac9b97319a
Extract jump name retrieval. 2021-04-29 20:08:18 +02:00
Bartosz Taudul
05894f6f14
Shuffle code around to avoid error C2712. 2021-04-29 19:10:30 +02:00
Bartosz Taudul
251f331f99
Update NEWS. 2021-04-29 18:24:37 +02:00
Bartosz Taudul
56f0bdd571
ARM doesn't follow x64 canonical address requirements. 2021-04-29 18:24:37 +02:00
Bartosz Taudul
505656df5a
Trace frame count may be zero. 2021-04-29 18:24:37 +02:00
Bartosz Taudul
7cfaaf6310
Exactly known latency shouldn't vary. 2021-04-29 18:24:37 +02:00
Bartosz Taudul
9bc3afabe7
Add robin hood natvis.
https://gist.github.com/ikrima/1184c75b979cbfa655c0883c0d4ab068
2021-04-29 18:24:34 +02:00
Bartosz Taudul
4a1142fddf
Merge pull request #201 from nosferalatu/dont_early_out_in_memfree_when_ptr_is_zero
Change ev.ptr nullptr early-out to properly handle nullptrs
2021-04-21 23:44:21 +02:00
David Farrell
be963f184c Change ev.ptr nullptr early-out to happen only when there is not a previous allocation for address 0. Custom memory pools (like custom allocators for Vulkan memory pools) can allocate at address 0, so the previous code would cause the Tracy server to alloc(0), free(0) (but early out), then on the next alloc(0) it would have a MemAllocTwiceFailure (because it skipped the free). 2021-04-21 11:53:55 -07:00
Bartosz Taudul
da9a32fd09
Update manual. 2021-04-20 18:34:08 +02:00
Bartosz Taudul
0bbda5ea11
Pressing Z will temporarily switch child calls. 2021-04-20 18:19:00 +02:00
Bartosz Taudul
e189f596ac
Add no-statistics guards. 2021-04-18 22:59:10 +02:00