Commit Graph

24 Commits

Author SHA1 Message Date
Bartosz Taudul
764792d8db Try to not crash when opening invalid files.
Tracy will now perform a number of checks when trying to read a dump
file:
1. The file must have at least 4 bytes of data.
2. There should be a 4 byte header to indicate the file was saved by
   tracy. This is a breaking change in file format.
3. Old header-less files are still supported, but there's a new check
   for data validity. The first 4 bytes of file (as an uint32) must be
   less or equal to max LZ4 data packet size. This requires the first
   two bytes to be 00 00 or 00 01, which should catch most invalid
   files.
2018-04-21 14:53:40 +02:00
Bartosz Taudul
16a98c8c17 Move benaphore to common directory. 2018-04-01 18:59:55 +02:00
Bartosz Taudul
685432a85f Add unaligned read/write helpers. 2018-03-31 14:15:04 +02:00
Bartosz Taudul
e64e7ce3f1 Add TracyWorker.hpp to msvc project. 2018-02-23 15:13:30 +01:00
Bartosz Szreder
9e3f18a62a Split data handling code from the view. 2018-02-21 16:41:37 +01:00
Bartosz Taudul
96cd782011 Enable AVX2 code generation. 2017-12-08 23:55:16 +01:00
Bartosz Taudul
0da09bc62b Use pdqsort. 2017-12-08 23:14:55 +01:00
Bartosz Taudul
9b0b3c99e3 Disable permissive mode. 2017-12-05 20:51:16 +01:00
Bartosz Taudul
74cd22e655 Add tracy vector visualizer. 2017-11-20 15:57:40 +01:00
Bartosz Taudul
519d40be69 Add TracyForceInline.hpp to msvc project. 2017-11-19 17:27:00 +01:00
Bartosz Taudul
abd0676cea Use flat_hash_map. 2017-11-15 23:15:59 +01:00
Bartosz Taudul
13d8d9255e Use benaphore instead of mutex. 2017-11-15 21:49:41 +01:00
Bartosz Taudul
eb842cd029 Disable asserts in release mode. 2017-11-06 02:04:57 +01:00
Bartosz Taudul
34123de977 Reduce custom vector size 16 -> 13 bytes. 2017-10-28 23:12:11 +02:00
Bartosz Taudul
01666ded2f Add TracyCharUtil.hpp to files list in msvc. 2017-10-28 21:35:26 +02:00
Bartosz Taudul
0853a42f74 Target platform 10.0.16299.0. 2017-10-16 20:33:43 +02:00
Bartosz Taudul
361643ea8e Enable parallel compilation. 2017-10-15 16:03:23 +02:00
Bartosz Taudul
75457c1465 Remove +x flag from files. 2017-10-10 21:56:15 +02:00
Bartosz Taudul
2021b7460a Add file wrappers. 2017-09-30 16:19:50 +02:00
Bartosz Taudul
7284d00965 Add a macro specifying that file selector is available. 2017-09-30 14:32:09 +02:00
Bartosz Taudul
9c207cb044 Add file selector to standalone tracy server. 2017-09-30 14:31:52 +02:00
Bartosz Taudul
2761c719de Update glfw to 3.2.1, vs2015. 2017-09-20 20:36:17 +02:00
Bartosz Taudul
0643fc436d Bring standalone msvc solution up-to-date. 2017-09-18 00:30:16 +02:00
Bartosz Taudul
1955d50ff8 Standalone tracy server skeleton.
Copy pasta of imgui opengl3 example.
2017-09-15 21:25:47 +02:00