1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

390 Commits

Author SHA1 Message Date
Bartosz Taudul 7187e1e5f5 Some strings are always indices.
This saves 4 bytes.
2017-11-15 10:56:27 +01:00
Bartosz Taudul 7da59a55cc Don't search for string in map, if it's known there's nothing there. 2017-11-15 10:56:27 +01:00
Bartosz Taudul 8b2af369ad Store zone text in StringRef. Use name from source location. 2017-11-15 10:56:27 +01:00
Bartosz Taudul c43eb29ce0 Don't send source location pointer in query reply.
Since reply order is the same as the query order, the server already
knows what source location it receives. This observation allows placing
zone name into the source location struct.
2017-11-14 23:06:45 +01:00
Bartosz Taudul 5c872b2137 Simplify GPU context handling. 2017-11-14 00:48:26 +01:00
Bartosz Taudul d56f44a220 Remove zone block split on color change.
While this makes the collapsed block color variation nonexistent, it
also enables proper optimization of rendering.
2017-11-12 01:53:03 +01:00
Bartosz Taudul 3ef0d1333f Sticky display of GPU related CPU time. 2017-11-12 01:32:21 +01:00
Bartosz Taudul cff8f9ebd7 GPU zone highlight. 2017-11-12 01:28:07 +01:00
Bartosz Taudul e40f029b19 GPU info window. 2017-11-12 01:25:44 +01:00
Bartosz Taudul dcc2b3fb09 Save/load GPU events. 2017-11-12 01:12:28 +01:00
Bartosz Taudul 7db21f23b5 Fix GPU zones triangle color. 2017-11-12 01:05:55 +01:00
Bartosz Taudul d61e03f879 Show when GPU commands were issued. 2017-11-11 23:13:54 +01:00
Bartosz Taudul af81d999e9 Draw GPU zones. 2017-11-11 22:56:05 +01:00
Bartosz Taudul 84100bd459 Store proper source location. 2017-11-11 22:48:54 +01:00
Bartosz Taudul 7ebaa46f75 GPU time transfer. 2017-11-11 22:08:47 +01:00
Bartosz Taudul 7e3ddfff1f Store proper cpu time. 2017-11-11 22:07:08 +01:00
Bartosz Taudul 6fcdb924e8 CPU-side GPU event transfer. 2017-11-11 21:09:48 +01:00
Bartosz Taudul 3c00ce0958 GPU context registration. 2017-11-11 19:44:09 +01:00
Bartosz Taudul ce35009c63 Move structs out of TracyView. 2017-11-11 19:21:25 +01:00
Bartosz Taudul 8868cad7b1 Fix typo. 2017-11-11 19:01:31 +01:00
Bartosz Taudul 81735aea2f Support for setting zone names in lua. 2017-11-11 17:56:41 +01:00
Bartosz Taudul 59ec40c045 Preemptive transfer of source location payload. 2017-11-11 15:59:30 +01:00
Bartosz Taudul 7f3b8f4647 Preemptive message text delivery. 2017-11-11 15:41:21 +01:00
Bartosz Taudul 76e11174dc Preemptive sending of custom strings. 2017-11-11 15:22:55 +01:00
Bartosz Taudul 88d4580631 Proper initialization order. 2017-11-11 02:44:51 +01:00
Bartosz Taudul f1ac7e9d49 Remove unused variable. 2017-11-11 02:42:17 +01:00
Bartosz Taudul ca4483ecf5 Prevent source location payload duplication. 2017-11-11 02:31:51 +01:00
Bartosz Taudul 24084cbcd2 Standard way of string reference storage in SourceLocation.
StringRef::isptr was changed to isidx, as initialization of empty
SourceLocation zeroes the struct.
2017-11-11 02:02:47 +01:00
Bartosz Taudul 947cd04e5e General solution for string pointer/index problem. 2017-11-11 01:39:34 +01:00
Bartosz Taudul 96ce90c6ed Common storage for plot names. 2017-11-10 19:41:37 +01:00
Bartosz Taudul 5ec3ccd595 Store m_strings in common string storage. 2017-11-10 19:30:17 +01:00
Bartosz Taudul b28fdc94ce Use common string storage for thread names. 2017-11-10 19:24:12 +01:00
Bartosz Taudul 1baf7faf8f Construct temporary in-place string. 2017-11-10 19:15:00 +01:00
Bartosz Taudul 51459d724c Don't use std::string to pass strings. 2017-11-10 18:39:43 +01:00
Bartosz Taudul d9bdd56208 String pointer translation map is now named pointerMap. 2017-11-10 18:24:20 +01:00
Bartosz Taudul 8e78e38334 String map is not needed when reading timeline. 2017-11-10 18:22:41 +01:00
Bartosz Taudul 2887753b5d Separate custom string processing from string storage. 2017-11-10 17:45:19 +01:00
Bartosz Taudul f6af913fd3 Remove ability to disable LZ4 compression. 2017-11-10 17:34:11 +01:00
Bartosz Taudul 44ee282b6e Store custom strings in an addressable vector. 2017-11-10 17:13:30 +01:00
Bartosz Taudul 0aef1b6d4d Proper tooltip for one condensed lock block. 2017-11-07 22:14:54 +01:00
Bartosz Taudul 4821a58720 Fix frame line flicker on big zoom. 2017-11-07 22:11:27 +01:00
Bartosz Taudul 8727910289 Snap lines to pixel grid. 2017-11-07 22:02:27 +01:00
Bartosz Taudul 2ca28b779a Display proper tooltip when only 1 zone is too small to display. 2017-11-07 21:51:21 +01:00
Bartosz Taudul bb59eafda4 Remove zone block rounding. 2017-11-07 21:48:24 +01:00
Bartosz Taudul d34a01eb96 Remove lock block rounding. 2017-11-07 21:46:17 +01:00
Bartosz Taudul e869b6ead9 Proper drawing of lock inaccuracy indicators. 2017-11-07 01:51:30 +01:00
Bartosz Taudul 5d2f2beb53 Increase zoom speed. 2017-11-06 01:04:49 +01:00
Bartosz Taudul 58ef34ce42 Save/load source location payloads. 2017-11-05 21:36:22 +01:00
Bartosz Taudul c6a7bcb086 Store source location payloads.
No saving yet. No detection of duplicate entries.
2017-11-05 21:24:50 +01:00
Bartosz Taudul 8178b61973 Wrap access to source location function and file. 2017-11-05 21:03:08 +01:00