Commit Graph

6406 Commits

Author SHA1 Message Date
Bartosz Taudul
c91c7a7fd5
Use zstd dict for packing/unpacking frame images.
This only affects run-time memory usage and needs an offline calculation of
the dictionary. Results vary depending on similarity of image blocks.

agora        34.96 MB ->  28.21 MB
agora2       40.75 MB ->  34.14 MB
android-vk   36.21 MB ->  18.44 MB
astar3       44.72 MB ->  43.38 MB
clipper1    134.36 MB ->  52.16 MB
fi           50.82 MB ->  40.79 MB
fi-big      537.74 MB -> 469.54 MB
test         23.26 MB ->   1.87 MB
2021-05-15 18:06:44 +02:00
Bartosz Taudul
d555256546
Don't use separate texture compression context.
Previously it was needed, as saving could be made at the same time the UI was
active. Currently saving blocks UI access to data structures, as it possibly
may need to sort unsorted vectors.
2021-05-15 18:04:14 +02:00
Bartosz Taudul
925a23a053
Add texture packer with zstd dict support. 2021-05-15 18:04:14 +02:00
Bartosz Taudul
a53f5702b1
Calculate frame images dictionary. 2021-05-15 18:03:50 +02:00
Bartosz Taudul
56958a018c
Only show dict building checkbox if there are frame images. 2021-05-15 15:52:54 +02:00
Bartosz Taudul
3d75bf653a
Add interface for frame images dict building. 2021-05-15 15:50:20 +02:00
Bartosz Taudul
859b8e4193
Add zstd dict builder. 2021-05-15 14:56:38 +02:00
Bartosz Taudul
959ddc3501
Update manual. 2021-05-15 14:33:10 +02:00
Bartosz Taudul
0414473c9f
Update NEWS. 2021-05-15 14:27:49 +02:00
Bartosz Taudul
92ae003308
Improve trace saving experience.
This adds additional dialog, which allows selection of compression mode. Also,
when a trace cannot be saved, a failure popup will be displayed.
2021-05-15 14:25:45 +02:00
Bartosz Taudul
ab830962c8
Fix notifications disappearing after a long UI lock. 2021-05-15 14:21:45 +02:00
Bartosz Taudul
fe71ae3272
Update manual. 2021-05-15 13:12:54 +02:00
Bartosz Taudul
068141abfc
Update NEWS. 2021-05-15 13:09:46 +02:00
Bartosz Taudul
7f1f929662
Decode PID and TID when generating imported thread names. 2021-05-15 13:08:51 +02:00
Bartosz Taudul
8ea02a4794
Cosmetics. 2021-05-15 13:03:42 +02:00
Bartosz Taudul
6b2de1c8b5
Pack PID + TID. 2021-05-15 12:56:52 +02:00
Bartosz Taudul
3005d5a939
Cosmetics. 2021-05-15 12:54:29 +02:00
Bartosz Taudul
cb0bc67790
Bump zstd to 1.5.0. 2021-05-15 00:48:15 +02:00
Bartosz Taudul
bb25687f7e
Update manual. 2021-05-11 18:37:08 +02:00
Bartosz Taudul
84bb131f81
Update NEWS. 2021-05-11 18:32:06 +02:00
Bartosz Taudul
42a272edf5
Allow control of sampling frequency. 2021-05-11 18:31:20 +02:00
Bartosz Taudul
05b5f1cfe1
Update manual. 2021-05-11 01:57:10 +02:00
Bartosz Taudul
8bdae80960
Update NEWS. 2021-05-11 01:43:07 +02:00
Bartosz Taudul
4f76fb2cda
Store location in SourceLocation during chrome import. 2021-05-11 01:37:59 +02:00
Bartosz Taudul
db734e3e0a
Parse custom location tags. 2021-05-11 01:37:59 +02:00
Bartosz Taudul
97f54f539d
Merge pull request #211 from c-cube/multi-pid-import
chrome-import: handle multiple pids
2021-05-10 18:59:03 +02:00
Simon Cruanes
b512ce3fa8 do not mangle tid if there is no pid 2021-05-10 11:49:07 -04:00
Simon Cruanes
d38f579ec3 refactor after review 2021-05-10 11:20:48 -04:00
Simon Cruanes
7e694d452a improve chrome importer to better display string arguments 2021-05-10 10:59:03 -04:00
Simon Cruanes
b71c9c12c4 map {tid,pid} from catapult into a virtual tid 2021-05-06 20:47:03 -04:00
Bartosz Taudul
f03b677ffa
Use correct size value. 2021-05-06 22:26:40 +02:00
Bartosz Taudul
7f0191d19f
Use streaming zstd API. 2021-05-06 22:21:52 +02:00
Bartosz Taudul
3c6a06f97e
Update manual. 2021-05-06 18:29:22 +02:00
Bartosz Taudul
d39580fa38
Update NEWS. 2021-05-06 18:24:34 +02:00
Bartosz Taudul
fa1a717e3c
Add support for importing zstd-compressed chrome traces. 2021-05-06 18:10:08 +02:00
Bartosz Taudul
a6c6943a6c
Check if GetThreadDescription() is supported.
This functionality is available since Win 10 1607.
2021-05-04 16:13:42 +02:00
Bartosz Taudul
402d749d13
Update NEWS. 2021-05-02 18:20:26 +02:00
Bartosz Taudul
7c5c2d5721
Merge pull request #206 from xxxbxxx/vulkan-linux
Support VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT
2021-05-02 18:17:19 +02:00
xavier
1c097140cd Support VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT
to enable profiling vulkan on linux.
2021-05-02 18:03:25 +02:00
Bartosz Taudul
8d21202aaa
Remove floating point computation within hot loops. 2021-05-02 16:36:35 +02:00
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