Commit Graph

157 Commits

Author SHA1 Message Date
Bartosz Taudul
2dd61aba49
Makefiles can now build clangd database.
Executing the "make db" will run the build process of the selected tool or
library through the bear wrapper (which has to be available in the system),
which will record the compilation parameters of each source file. This
database can be then used by VS Code to set the proper defines and find all
the required includes.

Note that database building is performed in context of the specific tool or
library. Not all tools have the same set of flags.
2022-04-23 23:46:55 +02:00
Bartosz Taudul
94b283b1e6
Use native file selector on Linux. 2022-04-20 19:40:27 +02:00
Bartosz Taudul
e870d68a47
Specify proper NFD GTK source file. 2022-04-20 19:40:27 +02:00
Bartosz Taudul
a852cf390a
Adapt code to new NFD. 2022-04-20 19:40:27 +02:00
Bartosz Taudul
8c45ed33fd
Bump zstd to 1.5.1. 2021-12-21 12:22:42 +01:00
Bartosz Taudul
10e680e601
Replace Cousine fixed-width font with Fira Code Retina. 2021-11-19 18:39:20 +01:00
Bartosz Taudul
aed1360a9c
Update to MSVC 2022. 2021-11-13 00:49:26 +01:00
Bartosz Taudul
74d0e79b8c
Vcpkg changed everything again. 2021-09-21 02:09:54 +02:00
Bartosz Taudul
673dfd0f02
Update ImGui GLFW and OpenGL 3.x backends.
The new embedded ImGui OpenGL loader has been extended with a couple of
functions and definitions needed by TracyTexture.cpp.
2021-08-22 13:30:46 +02:00
Bartosz Taudul
39cf98f98c
Move OpenWebpage() to a separate source file. 2021-06-04 15:17:14 +02:00
Bartosz Taudul
b7c5939bb8
Merge remote-tracking branch 'origin/master' into hw 2021-06-02 01:12:28 +02:00
Bartosz Taudul
94ec6a0d9d
Move TracyYield.hpp to common. 2021-05-31 02:19:35 +02:00
Bartosz Taudul
f8ccd8c40d
Move TracyStackFrames to common. 2021-05-23 23:51:56 +02:00
Bartosz Taudul
859b8e4193
Add zstd dict builder. 2021-05-15 14:56:38 +02:00
Bartosz Taudul
cb0bc67790
Bump zstd to 1.5.0. 2021-05-15 00:48:15 +02:00
Bartosz Taudul
9bc3afabe7
Add robin hood natvis.
https://gist.github.com/ikrima/1184c75b979cbfa655c0883c0d4ab068
2021-04-29 18:24:34 +02:00
Bartosz Taudul
bd4335bace
Move source file parsing logic to a separate file. 2021-03-26 02:42:14 +01:00
Bartosz Taudul
174bb4d2f1
Extract source code tokenizer to a separate file. 2021-03-26 01:53:49 +01:00
Stone Tickle
1918c0ffe6
fix TRACY_NO_FILESELECTOR macro 2021-03-17 08:51:24 +09:00
Bartosz Taudul
ea2a7f639b
Don't link with OpenGL.
The OpenGL is dynamically loaded by gl3w.
2021-03-16 22:59:28 +01:00
Stone Tickle
97313a295b
remove explicit linking for dlopened OpenGL 2021-03-17 06:43:52 +09:00
Bartosz Taudul
7f1b29ec7a
Set windows code page to utf8. 2021-02-25 19:21:45 +01:00
Bartosz Taudul
9a5d3b729d
Fix vcpkg. 2021-02-25 18:40:27 +01:00
Bartosz Taudul
f0e1d77ebc
Update imgui to 1.81 + docking. 2021-02-11 00:30:41 +01:00
Bartosz Taudul
dcd76fc369 Add pass-through sorted vector wrapper. 2021-02-07 14:43:05 +01:00
Bartosz Taudul
57ca6112b8 Enable Link Time Optimization on unix. 2021-01-26 22:43:50 +01:00
Bartosz Taudul
c08d591bf3 Use proper capstone include path. 2021-01-26 20:35:57 +01:00
Bartosz Taudul
046638a2b7 Update all sln files to MSVC 2019. 2021-01-26 20:24:47 +01:00
Bartosz Taudul
c8ea47782c ARM clang doesn't support -march=native. 2021-01-26 19:46:39 +01:00
Bartosz Taudul
62d6f4127d Don't pass -s parameter to clang. 2021-01-26 19:39:24 +01:00
Bartosz Taudul
48a3356f43 Update ImGui to master+tables+docking (dd4ca70). 2020-12-08 19:55:19 +01:00
Bartosz Taudul
c9b64ef5c5 Move list of Tracy stack frames to a separate file. 2020-10-06 14:37:39 +02:00
Bartosz Taudul
3b84324259
Merge pull request #92 from hulakdar/fix-sln
Added freetype references
2020-10-06 01:47:51 +02:00
Bartosz Taudul
4394d396f5 Build release target by default. 2020-10-03 13:45:11 +02:00
Stone Tickle
e2c5d37255
make wayland strictly on demand 2020-10-02 10:55:31 +09:00
Stone Tickle
a4f83c55a6
Add Wayland build option 2020-10-01 20:07:13 +09:00
Bartosz Taudul
80e0941520 Extract HTTP request functionality. 2020-09-12 12:46:00 +02:00
Bartosz Taudul
25c751c45a Add NativeWindow.hpp to MSVC project. 2020-08-15 17:15:36 +02:00
Bartosz Taudul
52039e80f2 Add native window retrieval on Linux.
Functionality had to be moved to a separate source file due to namespace
pollution from X11 headers.

Note that this doesn't set proper parent of file dialogs on Linux, as
GTK is broken and requires passing a GtkWindow parent.
2020-08-15 16:53:07 +02:00
Thales Sabino
6e3f19d0c9 Update build requirement from GTK2 to GTK3 2020-08-14 14:05:00 +01:00
hulakdar
6f333d15d7 added freetype references 2020-08-13 20:07:35 +03:00
Bartosz Taudul
733b9c4048 Add wrapper for ImGui mouse handling. 2020-08-01 11:49:43 +02:00
Jim Blandy
7bc8c6283a Factor out Unix build logic into shared files. 2020-07-31 11:08:36 -07:00
Jim Blandy
652582b119 Factor out makefile TBB detection, apply to all tools. 2020-07-31 09:14:12 -07:00
Jim Blandy
a12bf2d753 Fancier TBB (Threaded Building Blocks) detection.
Update documentation to mention that it's needed.
2020-07-30 18:24:42 -07:00
Bartosz Taudul
25c7245566 Revert "Use pkg-config to link with TBB, but silence errors."
This reverts commit b4d6833231.

pkg-config setup for TBB is debian-specific.
2020-06-19 20:07:06 +02:00
Bartosz Taudul
b4d6833231 Use pkg-config to link with TBB, but silence errors. 2020-06-19 02:17:10 +02:00
Bartosz Taudul
884de148c9 Target native architecture. 2020-05-13 18:35:56 +02:00
Bartosz Taudul
800f740fd5 Add micro architecture data. 2020-04-27 00:59:49 +02:00
David Farrell
80fdf7517a Use debug vcpkg libraries 2020-04-21 15:17:11 -07:00
David Farrell
a4a20ddc42 Updated Visual Studio project files to use vcpkg directory for dependencies
This modifies all of the include and lib paths to point to vcpkg/vcpkg/installed/x64-windows-static/include and lib.

With these changes, all executables in Tracy build out of the box in all configurations (assuming you have run the install_vcpkg_depencies.bat script first).

Perhaps it would be better to use a single Visual Studio .props file that all of the .vcxproj files point to so that the include and lib paths are set in a single place, but for now the paths are set separately in each .vcxproj.
2020-04-21 10:59:08 -07:00
Bartosz Taudul
01d7fefe52 Perform source file name substitution. 2020-04-17 19:28:39 +02:00
Bartosz Taudul
fd027c65e7 Remove -fomit-frame-pointer. 2020-04-12 21:55:47 +02:00
Bartosz Taudul
b2c2bfc2aa Move HSV color conversion to a separate source file. 2020-04-02 01:04:59 +02:00
Bartosz Taudul
2a54f2df5d Reverse the fileselector compile option. 2020-03-26 23:11:26 +01:00
Bartosz Taudul
d495431f24 Reverse the root window compile option. 2020-03-26 23:08:29 +01:00
Bartosz Taudul
58bb5d40c5 Remove support for non-extended font builds. 2020-03-26 23:04:44 +01:00
Bartosz Taudul
a49638e9a6 Link with capstone on unix. 2020-03-26 00:18:38 +01:00
Bartosz Taudul
9672dba765 Replace source file viewer with one that actually works.
This is much simpler, custom implementation of a text file viewer. It is
able to perform these two tasks as intended:
- center source view on the selected line,
- highlight that line.
2020-03-22 20:53:59 +01:00
Bartosz Taudul
59e859e59a Remove benaphore, use std::mutex on cygwin. 2020-03-19 02:06:54 +01:00
Bartosz Taudul
aa0bf47ec3 Extract texture compression functionality. 2020-03-02 02:00:35 +01:00
Bartosz Taudul
64d6caf695 Add Int24, Int48 natvis. 2020-02-22 18:52:38 +01:00
Bartosz Taudul
cc805b7b74 Add mmap() wrapper. 2020-02-12 19:24:30 +01:00
Bartosz Taudul
f3bb4030f6 Fix ContextSwitchData natvis. 2020-02-11 23:45:04 +01:00
Bartosz Taudul
64cfad317d Add zstd to project files. 2020-02-08 15:42:08 +01:00
Bartosz Taudul
022528bb47 Use Martin Ankerl's robin hood unordered map.
ska::flat_hash_map has bugs and its development is dead.
2020-01-28 21:49:36 +01:00
Bartosz Taudul
7d78923967 Move parallel sort header mumbo jumbo to a separate file. 2020-01-20 23:21:43 +01:00
Bartosz Taudul
3a460d3183 Use _mm_pause() instead of std::this_thread::yield() if possible. 2019-12-31 14:59:54 +01:00
Bartosz Taudul
5df7444cbb Replace djb hash with xxh3. 2019-11-07 23:52:52 +01:00
Bartosz Taudul
a62c4135ad Add context switch usage struct. 2019-11-05 01:28:44 +01:00
Bartosz Taudul
654f54d877 Add short pointer class, storing 6 bytes. 2019-11-02 15:43:32 +01:00
Bartosz Taudul
5956366118 Need to explicitly specify gl3w as OpenGL loader. 2019-10-27 12:45:31 +01:00
Bartosz Taudul
a20c6604c3 Add natvis for ContextSwitchData and ContextSwitchCpu. 2019-10-15 14:11:02 +02:00
Bartosz Taudul
6f5a23a198 Add task dispatcher to server. 2019-09-20 22:58:12 +02:00
Bartosz Taudul
949c9cb121 Move some view data to a separate structure. 2019-08-28 19:35:54 +02:00
Bartosz Taudul
21e7a4bb16 Extract thread compression into a separate class. 2019-08-19 22:56:58 +02:00
Bartosz Taudul
3e74d041c9 Link with Thread Building Blocks, if available. 2019-07-28 01:53:39 +02:00
Bartosz Taudul
27965e8690 Add user data storage handler. 2019-07-26 23:15:12 +02:00
Bartosz Taudul
16a40f2e1f Revert "Explicitly link with required libraries."
This reverts commit abaa0e8f6e.
2019-07-25 20:41:58 +02:00
Bartosz Taudul
abaa0e8f6e Explicitly link with required libraries.
This fixed clang-cl build.
2019-07-25 18:30:34 +02:00
Bartosz Taudul
57615775ea Migrate to VS2019, vcpkg. 2019-07-24 22:24:17 +02:00
Bartosz Taudul
913c1e57a6 Add threaded resolv service. 2019-06-26 18:46:51 +02:00
Bartosz Taudul
1a32edebf2 Extract text printing functions. 2019-06-18 20:43:28 +02:00
Bartosz Taudul
2cf50427be Add FastVector to natvis. 2019-06-10 01:50:26 +02:00
Bartosz Taudul
82d4fe7236 Add texture wrapper. 2019-06-06 22:14:51 +02:00
Bartosz Taudul
9e3cf3d387 Add 64x64 embedded png icon. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
c0326b9ba0 Add stb_image. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
8ae33fbb1e Add icon to win32 profiler executable. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
48c721c4b9 Fix natvis display of exact reserved vector's capacity. 2019-02-10 16:36:09 +01:00
Bartosz Taudul
dc4c8ef343 Statically link with freetype. 2018-10-27 20:06:54 +02:00
Bartosz Taudul
9eb04ea817 Update to ImGui 1.65. 2018-09-08 20:31:38 +02:00
Bartosz Taudul
fca71e6e0d Update to imgui 1.64. 2018-08-31 18:37:29 +02:00
Bartosz Taudul
f1e4d949a0 Update bindings. 2018-08-30 02:01:12 +02:00
Bartosz Taudul
204cc019ea Add file storage helpers. 2018-08-29 23:22:44 +02:00
Bartosz Taudul
b3b12f76f3 Add LZ4HC support to FileWrite. 2018-08-26 16:25:43 +02:00
Bartosz Taudul
aefa2a9573 Display dialog when CPU doesn't support AVX/AVX2. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
7fc1729f3b Reduce required instruction set to SSE2 in winmain.cpp. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
ddf889e8bc Move WinMain entry point to a separate source file. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
940dda8fc1 Use helper header for icons. 2018-08-17 23:22:13 +02:00
Bartosz Taudul
841f18885e Add simple animation controller. 2018-08-17 22:23:04 +02:00