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

2714 Commits

Author SHA1 Message Date
Bartosz Taudul 516bdcec9b Rewrite playback logic. 2019-06-13 00:12:06 +02:00
Bartosz Taudul c43f8562ec Rename "sync view" to "sync timeline". 2019-06-12 23:46:14 +02:00
Bartosz Taudul 756379b9d8 Update manual. 2019-06-12 23:45:27 +02:00
Bartosz Taudul bdfd2c07be Right-click on a frame to set frame in playback. 2019-06-12 23:14:19 +02:00
Bartosz Taudul 796ca57067 Update imgui to 1.71. 2019-06-12 22:53:23 +02:00
Bartosz Taudul d3e0163dd4 Add byteswap for apple. 2019-06-12 16:54:44 +02:00
Bartosz Taudul 8827f568e4 Update manual. 2019-06-12 15:35:00 +02:00
Bartosz Taudul afa967afb0 Flip frame image if need be. 2019-06-12 15:30:08 +02:00
Bartosz Taudul 37d1457b44 Frame image may need flipping. 2019-06-12 15:28:32 +02:00
Bartosz Taudul 29fd4b1fe9 Don't animate frame changes during playback. 2019-06-12 13:25:45 +02:00
Bartosz Taudul 61bad76e5a Update manual. 2019-06-12 01:48:11 +02:00
Bartosz Taudul a936f22a91 Add frame images playback window. 2019-06-12 01:48:11 +02:00
Bartosz Taudul eb6ac5e6e1 Store frame reference in frame images. 2019-06-12 00:55:02 +02:00
Bartosz Taudul 38b76ea32d Add frame images vector accessor. 2019-06-12 00:14:44 +02:00
Bartosz Taudul 04dd33f5c4 Fix mismatched linkage. 2019-06-11 23:51:12 +02:00
Rokas K. (rku) c4e05b6264 Merged in rokups/tracy/dllimport-cleanup (pull request #36)
Clean up imported functions in multi-dll projects.

Approved-by: Till Rathmann <till.rathmann@gmx.de>
2019-06-11 15:04:34 +00:00
Bartosz Taudul de544ef959 Update manual. 2019-06-11 02:25:03 +02:00
Bartosz Taudul 84a52c5d62 Add join discord button. 2019-06-11 02:12:34 +02:00
Bartosz Taudul 57b8b425ba Discard send buffer data after disconnect. 2019-06-10 02:11:29 +02:00
Bartosz Taudul 2cf50427be Add FastVector to natvis. 2019-06-10 01:50:26 +02:00
Bartosz Taudul 2bc7a9bd30 Close listen socket in destructor. 2019-06-09 18:14:26 +02:00
Bartosz Taudul 5f8eadfb16 Release zone id stack. 2019-06-09 17:56:41 +02:00
Bartosz Taudul a3173965d6 Same for Vis() reference. 2019-06-09 17:51:37 +02:00
Bartosz Taudul 2aa6f70765 Drawing locks may invalidate Vis() iterator. 2019-06-09 17:46:59 +02:00
Bartosz Taudul 80dff1ede1 Add connection id for on-demand mode.
Long-lived zones could send their end events without begin events in a
following scenario:

1. On-demand connection is made.
2. Zone begin is emitted, m_active is set to true.
3. Connection is terminated.
4. A new connection is made.
5. Zone end is emitted, because m_active is true.

To this point it was assumed that all zone end events will happen before
a new connection is made, but it's not necessarily true.
2019-06-09 17:15:47 +02:00
Bartosz Taudul 0db9c73d76 Immediately react to connection termination. 2019-06-09 16:51:39 +02:00
Bartosz Taudul cc5bad294a More strict memory ordering for on-demand connection status. 2019-06-09 16:48:00 +02:00
Bartosz Taudul e2d42fae2f We're done here, don't try to send termination request. 2019-06-09 16:25:52 +02:00
Bartosz Taudul 496f866add Don't send data when connection is terminated.
There are only two cases for which HandleServerQuery() returns false.
Either data can't be read from the socket (which is checked by HasData()
call before calling HandleServerQuery()), or if the server sent
termination query. In both these cases there's no need to send data
anymore.
2019-06-09 16:19:40 +02:00
Bartosz Taudul 23e7850162 Make DequeueStatus enum class. 2019-06-09 16:14:30 +02:00
Bartosz Taudul 34d89d39a1 Prevent double freeing of socket. 2019-06-09 16:10:49 +02:00
Bartosz Taudul b1f8d9fba1 Send server termination query on server disconnect. 2019-06-09 16:10:49 +02:00
Bartosz Taudul 2c780f1af4 Allow sending immediate termination query from server. 2019-06-09 16:10:49 +02:00
Bartosz Taudul 139299389b Add comments to client connection handling. 2019-06-09 16:10:49 +02:00
Bartosz Taudul d6d7b82529 Ignore invalid frame images in on-demand mode. 2019-06-09 15:37:49 +02:00
Bartosz Taudul 4c2ff80ac8 Restore frame counting for on-demand mode. 2019-06-09 15:23:01 +02:00
Bartosz Taudul 50cda7720f Handle frame image instrumentation failures. 2019-06-09 13:44:53 +02:00
Bartosz Taudul 5d5b12dce4 Add a note about expected lifetime of image data. 2019-06-09 13:20:46 +02:00
Bartosz Taudul 99c8144154 Show performance difference of async capture. 2019-06-09 13:17:08 +02:00
Bartosz Taudul 22d7b2c78d Polishing words. 2019-06-09 12:50:14 +02:00
Bartosz Taudul bef1988800 Compress frame images using LZ4. 2019-06-08 12:17:18 +02:00
Bartosz Taudul c3c116317d Fences must be deleted. 2019-06-08 12:08:20 +02:00
Bartosz Taudul 00a468162d Fix signed/unsigned comparison. 2019-06-08 00:57:25 +02:00
Bartosz Taudul 5470dae120 Add AVX2 ETC1 timings to the manual. 2019-06-08 00:54:46 +02:00
Bartosz Taudul 9ef128995a Add AVX2 version of etcpak. 2019-06-08 00:50:39 +02:00
Bartosz Taudul 7e9539ef2d AVX implies SSE 4.1. 2019-06-08 00:39:19 +02:00
Bartosz Taudul 76379a761a Update manual. 2019-06-08 00:06:37 +02:00
Bartosz Taudul 1954caa806 Fix listings. 2019-06-08 00:04:10 +02:00
Bartosz Taudul 2c01f244a8 Update NEWS. 2019-06-07 20:14:21 +02:00
Bartosz Taudul fc5a8f7e3a Assign frame image to the correct frame (including offset). 2019-06-07 20:13:08 +02:00