Commit Graph

42 Commits

Author SHA1 Message Date
Kevin Trogant
1d8051747e Add some thoughts about the future render pipeline 2024-02-05 01:24:00 +01:00
Kevin Trogant
fc08ab08d4 Test resource manager and renderer integration 2024-02-05 01:23:31 +01:00
Kevin Trogant
c66d5ce337 Merge branch 'main' of https://libneat.hopto.org/git/kevin/voyage 2024-02-04 18:32:23 +01:00
Kevin Trogant
870f238410 Add a resource namespace file format 2024-02-04 18:31:02 +01:00
Kevin Trogant
0b6e855cef Remove packages.h/.c from meson.build 2024-02-04 17:29:01 +01:00
Kevin Trogant
b80d0d1bf9 Remove unnecessary files 2024-02-04 17:28:32 +01:00
Kevin Trogant
cfec746545 Implement resource compression 2024-02-04 17:26:51 +01:00
Kevin Trogant
3a9f9d4986 Write the first compiled resources to files 2024-01-31 22:48:51 +01:00
Kevin Trogant
9670844bb2 Move towards using DXC for compiling shaders
This is recommended by the vulkan documentation.
2024-01-25 23:33:29 +01:00
Kevin Trogant
3254af3786 Make progress towards the new builtin asset compiler
Attempts to compile HLSL shaders (with includes)
2024-01-25 09:45:23 +01:00
c0a8fad6e7 Add docs/LINKS.md 2024-01-23 17:21:30 +01:00
Kevin Trogant
94f95157fe build config for integrated asset compiler 2024-01-16 17:44:03 +01:00
Kevin Trogant
abb367dffc rename the engine to recreational.tech 2024-01-16 16:10:56 +01:00
Kevin Trogant
448d448430 started work on pipeline parsing 2024-01-16 16:03:30 +01:00
Kevin Trogant
d5ab965d64 Add missing dynamic_libs.c to meson.build 2023-12-31 02:29:31 +01:00
Kevin Trogant
275f3b65f8 Untested asset cache
- Added read-write lock implementation
2023-12-31 02:16:29 +01:00
Kevin Trogant
bf2129f92b don't keep processed assets in memory
- Slightly slower, but this will (in principle) scale to an unlimited
  number of assets
2023-12-25 23:32:55 +01:00
Kevin Trogant
5a4177c4dc assetc complete "lifetime"
- Add unchanged assets to packages
- Allows re-runs without messing up the data
- Inefficient: unchanged assets need to be loaded & kept in memory
2023-12-22 00:25:27 +01:00
Kevin Trogant
0c89d63716 load runtime asset dependency data
removed init/shutdown functions from headers.
2023-12-21 00:19:48 +01:00
Kevin Trogant
213638009b tracking asset dependencies 2023-12-12 10:58:09 +01:00
Kevin Trogant
361436ee46 started work on discovery 2023-12-11 00:09:52 +01:00
Kevin Trogant
19f7e29215 Progress on assetc 2023-12-10 23:09:19 +01:00
Kevin Trogant
4a0231a79b fix meson.build and remove unnecessary subprojects directory 2023-11-24 14:00:35 +01:00
Kevin Trogant
ae50c45a18 Multiple asset processors
- Added a (stub) for shader files
2023-11-24 13:59:38 +01:00
Kevin Trogant
9f3f40249f Started building the asset compiler 2023-11-24 00:43:35 +01:00
Kevin Trogant
360bf6cf1c only dllexport if we are building dll's 2023-11-23 22:19:02 +01:00
Kevin Trogant
11ec5a0cd2 Various improvements
- Support static linking
- Buffer manager
2023-11-23 22:03:02 +01:00
Kevin Trogant
b2037519cc Fix initialization and shutdown 2023-11-22 15:22:43 +01:00
Kevin Trogant
937ca92d9f Remove fio 2023-11-22 15:21:11 +01:00
Kevin Trogant
1a4a2109ca feat: async io for windows
Submit async-io to the OS.
Next step is replacing all FIO calls with async-io and removing the old
code.
2023-11-22 14:25:37 +01:00
Kevin Trogant
97adb0dffa various updates 2023-11-22 11:23:52 +01:00
Kevin Trogant
6937e55888 feat: create vulkan swapchain 2023-10-25 23:24:04 +02:00
Kevin Trogant
904a26374b feat: create vulkan device, surface etc.
- Next up: swapchain
- Use volk
2023-10-23 23:12:45 +02:00
Kevin Trogant
b1ff895718 ref: Only use the older meson_options.txt
Supports older versions
2023-10-17 23:13:42 +02:00
Kevin Trogant
fef087c906 merged vk/init.c 2023-10-17 23:00:07 +02:00
Kevin Trogant
4b97f8ff33 fix: Linux build
- Prepare for supporting Xlib and Wayland (in the future), by having a
  option for 'use_xlib'
- Fixed a few compile errors
2023-10-17 15:22:02 +02:00
Kevin Trogant
81798df3e9 ref, feat: Restructure
- The renderer backend is now its own library, loaded at runtime.
- Removed GLFW dependency, instead use win32 directly.
- Broke linux window creation, because it's not implemented yet.
  - Maybe use GLFW for linux?
2023-10-17 00:54:51 +02:00
Kevin Trogant
63e3f973b2 feat: config variables, mutex abstraction
- Mutex abstraction (create, destroy, lock, unlock)
- Config variables (cvars)
2023-10-14 00:15:05 +02:00
Kevin Trogant
1dba3d2d63 fix, feat: various issues
- [win32] FIO thread no longer hangs during application exit
- Signal if a file operation was actually successfull.
- Add a logging function (currently identical to vyReportError)
2023-10-13 23:15:23 +02:00
Kevin Trogant
fa50d9fab5 Port fio to windows 2023-10-12 23:45:44 +02:00
Kevin Trogant
268a9722f5 .gitignore for subprojects 2023-10-11 22:27:38 +02:00
Kevin Trogant
d8e4480819 pre-git state 2023-10-11 22:23:26 +02:00