Commit Graph

137 Commits

Author SHA1 Message Date
Kevin Trogant
dd76b924c0 feat(launcher): Convert windows command line to UTF-8
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m46s
2024-07-24 19:57:23 +02:00
Kevin Trogant
25006139f1 refactor(launcher): Remove api for live-recompilation
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m36s
2024-07-24 17:44:05 +02:00
Kevin Trogant
ca5d8ad8f0 fix(runtime): Use NULL when invalidating a win32 file handle
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m26s
2024-07-24 16:42:22 +02:00
Kevin Trogant
faa2b904ea feat(launcher): Offer API for the game
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Has been cancelled
This also turns the meshlet experiment into a proper "game" as the first testcase.
It is necessary to build glfw as a shared library, to allow multiple targets (i.e. the launcher and the game)
to link against it.
This is necessary if the game wants to use glfw for something (imgui, for instance).
2024-07-24 16:39:31 +02:00
Kevin Trogant
578722a0c5 refactor: Remove unnecessary includes
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m36s
2024-07-24 15:14:38 +02:00
Kevin Trogant
77f0db7a7c feat(linux): Ported aio to linux
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m46s
I had to rename the header, because the POSIX async io header has the same name.
2024-07-24 15:10:06 +02:00
Kevin Trogant
e371a24761 fix(launcher): Use WinMain instead of wWinMain
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m30s
2024-07-24 12:42:24 +02:00
Kevin Trogant
4ab483c003 fix: Remove broken include from timing.c
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m58s
2024-07-24 12:30:52 +02:00
Kevin Trogant
50bd92dfcb feat(launcher): Set CVARs from the command line
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m39s
2024-07-24 12:27:52 +02:00
Kevin Trogant
88fd8a3059 fix: Disable the vulkan renderer stub by default 2024-07-24 09:10:39 +02:00
Kevin Trogant
1a389c3759 feat(launcher): Add cvar for selecting an output monitor
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m17s
2024-07-23 19:18:47 +02:00
Kevin Trogant
f232a94f92 feat: Launcher application that loads the game and creates the window 2024-07-23 16:04:56 +02:00
Kevin Trogant
f98d64b927 feat(renderer): Add vulkan renderer stub
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m26s
2024-07-23 12:42:42 +02:00
Kevin Trogant
92fbe1ece4 refactor(build): Using meson devenv makes copying libgcc unnecessary while cross-compiling
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 2m13s
2024-07-23 10:49:39 +02:00
Kevin Trogant
9f94ac40ee fix(tests): Prevent compile error when no fixtures are defined.
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m30s
2024-07-19 15:06:41 +02:00
Kevin Trogant
ef69ceaf13 doc: Document commit message format 2024-07-19 12:56:37 +02:00
Kevin Trogant
dcf89bcc8b fix: fix implicit cast to double warning
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m14s
2024-07-19 12:47:18 +02:00
Kevin Trogant
14138b4933 Merge branch 'main' of https://libneat.hopto.org/git/kevin/rtengine
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m18s
2024-07-19 10:31:30 +02:00
Kevin Trogant
4e02d43514 Add early config file parsing
Also cleaned up contrib/ and made lz4 and xxhash subprojects installed
via wrap.
2024-07-19 10:30:50 +02:00
046e3ed6ac Disable ASAN in CI builds
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m26s
2024-07-16 11:51:21 +02:00
Kevin Trogant
8f52ea3d3a Fixed linux -> windows cross compilation
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m32s
2024-07-16 11:48:28 +02:00
8ae723de3d Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m9s
2024-07-15 18:04:38 +02:00
63c86fc79d Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m15s
2024-07-15 18:00:11 +02:00
8c5b87f1de Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 2m12s
2024-07-15 17:47:53 +02:00
72e8637f5a Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 49s
Make sure download_dxc_cross.sh is executable
2024-07-15 17:46:45 +02:00
e1591e3b96 Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 49s
2024-07-15 17:45:08 +02:00
Kevin Trogant
92e4f6ce79 Add download_dxc_cross.sh for cross compilation 2024-07-15 17:44:25 +02:00
34d0efe70b Update .gitea/workflows/ci_meson.yaml
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m4s
2024-07-15 17:37:17 +02:00
9c73308214 Add scripts/x86_64-w64-mingw32.txt 2024-07-15 17:36:27 +02:00
3a4c159b5c Update meson_options.txt 2024-07-15 17:32:56 +02:00
b220c9745f Update .gitea/workflows/ci_meson.yaml
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 52s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 1m39s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 1m39s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Failing after 53s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Failing after 1m32s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Failing after 1m34s
Fix typo
2024-07-15 17:28:09 +02:00
04e4b78c29 Update .gitea/workflows/ci_meson.yaml
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 14s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 13s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 13s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Failing after 14s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Has been cancelled
2024-07-15 17:27:08 +02:00
eed5687f2e Update .gitea/workflows/ci_meson.yaml
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 41s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 1m32s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Has been cancelled
2024-07-15 17:23:52 +02:00
9b61918414 Update .gitea/workflows/ci_meson.yaml
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 35s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 1m32s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 1m28s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Has been cancelled
2024-07-15 17:20:03 +02:00
5ce61e7434 Update .gitea/workflows/ci_meson.yaml
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 34s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 28s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 29s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Failing after 34s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Failing after 28s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Has been cancelled
2024-07-15 17:17:26 +02:00
4ab550a779 Update .gitea/workflows/ci_meson.yaml
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 8s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 7s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 7s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Failing after 7s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Failing after 7s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Failing after 7s
2024-07-15 17:16:13 +02:00
Kevin Trogant
56168f5a3f Ensure that cmake and clang are installed
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 7s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 8s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 7s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Failing after 7s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Failing after 7s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Failing after 8s
2024-07-15 17:13:49 +02:00
Kevin Trogant
566ad17766 Switch to checkout fork that supports subdirectories
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-18.04) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-20.04) (push) Failing after 29s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-22.04) (push) Failing after 9s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-latest) (push) Failing after 8s
2024-07-15 17:08:28 +02:00
Kevin Trogant
876e2c4699 Try gitea-server-url
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-18.04) (push) Has been cancelled
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-22.04) (push) Has been cancelled
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-latest) (push) Has been cancelled
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-20.04) (push) Has been cancelled
2024-07-15 17:03:06 +02:00
Kevin Trogant
36e96fc4d1 Test message
Some checks failed
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-18.04) (push) Waiting to run
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-20.04) (push) Failing after 52s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-22.04) (push) Failing after 40s
CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} (1.4.0, ubuntu-latest) (push) Failing after 40s
2024-07-15 17:00:49 +02:00
Kevin Trogant
654192c258 Specify gitea server url for checkout 2024-07-15 16:53:25 +02:00
Kevin Trogant
6bd71778d2 Test workflow
Some checks failed
CI Meson / Build on ${{ matrix.os }} (1.4.0, ubuntu-20.04) (push) Failing after 2s
CI Meson / Build on ${{ matrix.os }} (1.4.0, ubuntu-22.04) (push) Failing after 54s
CI Meson / Build on ${{ matrix.os }} (1.4.0, ubuntu-latest) (push) Failing after 36s
CI Meson / Build on ${{ matrix.os }} (1.4.0, ubuntu-18.04) (push) Has been cancelled
based on meson sample: https://mesonbuild.com/Continuous-Integration.html
2024-07-15 16:35:10 +02:00
Kevin Trogant
09c14a8809 WIP meshlets experiment 2024-07-15 16:34:39 +02:00
Kevin Trogant
1b4a17f01a Get it to compile again 2024-06-05 11:54:35 +02:00
Kevin Trogant
b0e6839a1c Rip out renderer code
THIS WILL NOT COMPILE
2024-06-04 11:45:55 +02:00
6b830f3ff2 Add docs/NOTES_renderer_v3.md 2024-06-03 08:47:06 +02:00
Kevin Trogant
07efd27209 Merge branch 'main' of https://libneat.hopto.org/git/kevin/rtengine 2024-05-19 12:49:25 +02:00
Kevin Trogant
88da8ec889 Render a triangle 2024-05-19 12:48:50 +02:00
2d54e1a26a Update docs/LINKS.md 2024-05-16 09:22:34 +02:00
Kevin Trogant
656b21d1ef Loading and caching effects 2024-05-14 14:07:04 +02:00