Bartosz Taudul
3f5603ad96
Use global lock for processing of incoming events.
2017-11-15 22:33:11 +01:00
Bartosz Taudul
a3ba188af5
Manual initialization of GpuEvents.
2017-11-15 22:21:02 +01:00
Bartosz Taudul
54c5cfce66
No funny links to licenses.
2017-11-15 22:18:45 +01:00
Bartosz Taudul
afa9eec5dd
Manual ZoneEvent vector initialization.
2017-11-15 22:13:23 +01:00
Bartosz Taudul
13d8d9255e
Use benaphore instead of mutex.
2017-11-15 21:49:41 +01:00
Bartosz Taudul
6cc2ea8d0e
Don't need recursive version.
2017-11-15 21:44:55 +01:00
Bartosz Taudul
100b814069
Wrap benaphore in tracy namespace, etc.
2017-11-15 21:42:55 +01:00
Bartosz Taudul
f85facf2af
Add Preshing's benaphore implementation.
...
https://github.com/preshing/cpp11-on-multicore.git
41ac9c73dfa32e2fbc0af6668358092fafdfcae4
2017-11-15 21:40:46 +01:00
Bartosz Taudul
3a60a28a71
Don't allocate unneeded memory.
2017-11-15 21:26:58 +01:00
Bartosz Taudul
5da8a7aa9b
Optimize deque.
2017-11-15 20:20:02 +01:00
Bartosz Taudul
1a99a57525
Fix typo.
2017-11-15 14:14:48 +01:00
Bartosz Taudul
1445341068
Don't try to draw GPU zones with no timing data.
2017-11-15 10:56:28 +01:00
Bartosz Taudul
334224dd36
Support transfer of zone name in source location payload.
2017-11-15 10:56:28 +01:00
Bartosz Taudul
9eace41f0d
Fix typo.
2017-11-15 10:56:27 +01:00
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
2f669aea41
Workaround gcc issues.
2017-11-15 10:56:27 +01:00
Bartosz Taudul
540f71cfd6
Use new interface in test.
2017-11-15 10:56:19 +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
e0b5c25f87
Wording.
2017-11-14 00:49:31 +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
1a882e5f82
Describe how to profile GPU.
2017-11-12 01:49:49 +01:00
Bartosz Taudul
1de7f884ea
Document header include requirements.
2017-11-12 01:49:35 +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
dde30b92d9
Stub GPU defines and class when profiler is disabled.
2017-11-12 01:03:14 +01:00
Bartosz Taudul
a6bca43cca
Update documentation.
2017-11-12 00:54:27 +01:00
Bartosz Taudul
f0798c4474
Update profiler screenshot.
2017-11-12 00:53:19 +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
a0729d3500
Implement single element erase() in TracyVector.
2017-11-11 22:07:23 +01:00
Bartosz Taudul
7e3ddfff1f
Store proper cpu time.
2017-11-11 22:07:08 +01:00
Bartosz Taudul
5b6cbc5306
Assert against overrun.
2017-11-11 21:19:51 +01:00
Bartosz Taudul
6fcdb924e8
CPU-side GPU event transfer.
2017-11-11 21:09:48 +01:00
Bartosz Taudul
b208df8829
Add pop_back() to TracyVector.
2017-11-11 20:51:03 +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
c2797a4cc7
Data packets can't cross data buffer boundary.
2017-11-11 15:08:03 +01:00