Commit graph

  • bc21f594c8 Separate wait functions for swap chains. Skyth 2024-12-24 16:22:13 +03:00
  • d0a7205c9b Experimenting with syncing the render thread. Skyth 2024-12-24 13:08:11 +03:00
  • c1cafacf22 Add video driver to debugger panel. Dario 2024-12-22 18:23:14 -03:00
  • 02022c3a1d
    Do not default to Wayland, add CLI option for choosing SDL video driver. (#61) Darío 2024-12-22 18:07:27 -03:00
  • d6444da62f Add custom implementation for semaphores. Skyth 2024-12-22 23:50:19 +03:00
  • d4b96f3979 Do not default to Wayland, add CLI option for choosing SDL video driver. Dario 2024-12-22 14:07:18 -03:00
  • f1416c85ba
    Implement frame limiter. (#60) Skyth (Asilkan) 2024-12-22 19:58:06 +03:00
  • d29a7a6917 Replace FPS literals with constants. Skyth 2024-12-22 19:05:18 +03:00
  • 79ad4c2099 Change spin wait in D3D12 present to infinite wait. Skyth 2024-12-22 16:43:16 +03:00
  • af6c9aaafa Set busy wait threshold to 2ms. Skyth 2024-12-22 15:52:31 +03:00
  • a17aa054dc Decrease delta time error threshold. Skyth 2024-12-22 15:03:22 +03:00
  • b3b14b4154 Correct small delta time errors. Skyth 2024-12-22 14:56:23 +03:00
  • 6921a54dc6 Update waiting logic for audio thread. Skyth 2024-12-22 14:36:56 +03:00
  • 6bf029b0bb Move frame limiter, add limiters for SFD & loading screen. Skyth 2024-12-22 14:27:35 +03:00
  • 5ed5ff7ff0 Redo frame limiter logic to fix drifting. Skyth 2024-12-22 01:58:09 +03:00
  • 42f808c926 Add more stuff to the profiler window. Skyth 2024-12-21 21:45:57 +03:00
  • 755b48d3f0 Implement implot. Skyth 2024-12-21 19:47:26 +03:00
  • 939f4a4771 Implement a frame limiter. Skyth 2024-12-21 18:47:26 +03:00
  • 11dea728fd Add busy loop to audio thread. Skyth 2024-12-21 22:18:33 +03:00
  • 74f58ab0cc Implement audio timing with integer math. Skyth 2024-12-21 15:28:08 +03:00
  • 314a092747 Pass ALLOW_TEARING flag to D3D12 swap chains. Skyth 2024-12-22 00:25:50 +03:00
  • a5e021a414 Add busy loop to audio thread. Skyth 2024-12-21 22:18:33 +03:00
  • 8575c6dbe4 Implement audio timing with integer math. Skyth 2024-12-21 15:28:08 +03:00
  • 552063fbd4 Update submodule script to pull current commit submodules Hyper 2024-12-21 02:57:56 +00:00
  • 4957fe0685 Update submodules. Skyth 2024-12-21 00:52:37 +03:00
  • 67633917bf
    Linux support. (#54) Skyth (Asilkan) 2024-12-21 00:44:05 +03:00
  • dfef617d09
    Correct implementation for auto reset events. (#57) Skyth (Asilkan) 2024-12-21 00:07:57 +03:00
  • 3f92779c70 Add App Id hint. Dario 2024-12-20 16:47:29 -03:00
  • 7942bd3b6a Correct implementation for auto reset events. Skyth 2024-12-20 20:55:10 +03:00
  • 1376a73c55 Special case Sleep(0) to yield on Linux. Skyth 2024-12-20 16:36:28 +03:00
  • aed9683975 Yield in model consumer and pipeline compiler threads. Skyth 2024-12-20 16:32:57 +03:00
  • b9b41a730b Fix compilation error. Skyth 2024-12-20 15:51:52 +03:00
  • 91e6f49231 Minor installer wizard fixes. Dario 2024-12-19 22:40:23 -03:00
  • dd2860d36e Fix SDL Audio selection for OGG on Flatpak. Dario 2024-12-19 21:53:24 -03:00
  • e3a2dd9e90 Make channel index a global variable in embedded player. Skyth 2024-12-20 03:41:42 +03:00
  • 68343a574c
    Wayland support. (#55) Darío 2024-12-19 20:29:18 -03:00
  • ddda801d47 Wayland support. Dario 2024-12-19 18:34:34 -03:00
  • bacfe02d0e Fix but also trim shared strings. Skyth 2024-12-20 02:25:37 +03:00
  • 56c7ca9092 Fix compilation error on Linux. Skyth 2024-12-20 01:52:40 +03:00
  • 844268f7a3 Merge 'main'. Skyth 2024-12-20 01:11:04 +03:00
  • 18097752d9
    SDL2 audio (again). (#52) Skyth (Asilkan) 2024-12-19 23:33:14 +03:00
  • 14d5a33a13
    Update paths.h Darío 2024-12-19 17:31:38 -03:00
  • c7d371186b
    Add Present Wait to Vulkan to improve frame pacing and reduce latency. (#53) Darío 2024-12-19 17:24:33 -03:00
  • 849463e13a Enable CMake option override policy & fix compilation error. Skyth 2024-12-19 23:10:46 +03:00
  • 95487a5293 Queue audio samples in a separate thread. Skyth 2024-12-19 21:54:37 +03:00
  • cf33352c4d Bracey fellas. Dario 2024-12-19 13:26:06 -03:00
  • 97122daf3b Default to triple buffering if presentWait is supported. Dario 2024-12-19 13:24:10 -03:00
  • 37227b8a83 Add present wait support to Vulkan. Dario 2024-12-18 21:59:59 -03:00
  • 41d25ba891 Replace miniaudio with SDL mixer. Skyth 2024-12-19 16:28:11 +03:00
  • 2e9e748f62 Fix system time query implementation. Skyth 2024-12-19 14:54:42 +03:00
  • 2b65a1b56a
    Update io.github.hedge_dev.unleashedrecomp.json Darío 2024-12-18 18:32:15 -03:00
  • fbe5c3526d Attempt to fix line endings. Dario 2024-12-18 17:47:36 -03:00
  • 8e602837e8 Call timeBeginPeriod/timeEndPeriod. Skyth 2024-12-18 19:21:40 +03:00
  • 8d834494f5 Implement SDL2 audio (again). Skyth 2024-12-18 18:48:38 +03:00
  • 9e588326ea Use game install directory instead of current path. Dario 2024-12-18 16:59:43 -03:00
  • bbbcdf1566
    Linux flatpak. (#51) Darío 2024-12-18 14:54:46 -03:00
  • 279390f1fe Set D3D12MA::ALLOCATOR_FLAG_DONT_PREFER_SMALL_BUFFERS_COMMITTED flag. Skyth 2024-12-18 19:48:17 +03:00
  • 6be28dc8b9 Flattenpakken. Dario 2024-12-18 12:04:07 -03:00
  • d4735d8791 Attempt to change logic of NFD and show error. Dario 2024-12-18 11:39:41 -03:00
  • 0085b7844d The Marvelous Misadventures of Flatpak. Dario 2024-12-18 11:15:20 -03:00
  • c335ea7444 Flatpak'd. Dario 2024-12-18 10:53:36 -03:00
  • 590c93908a We flat it, we pak it. Dario 2024-12-18 10:44:29 -03:00
  • cc6522a210 Flatpak it some more. Dario 2024-12-18 10:03:57 -03:00
  • 668ca8090c Flatpak'ing. Dario 2024-12-18 10:02:56 -03:00
  • 81aec7d5f4 Add game install directory override for flatpak. Dario 2024-12-17 22:16:14 -03:00
  • 16a94e93b7 Add flatpak support. Dario 2024-12-17 20:28:25 -03:00
  • 65059715a2 Use error code version on DLC directory iterator. Dario 2024-12-17 19:12:03 -03:00
  • 0010de9d30 Add Env Var detection for VCPKG_ROOT, add DLC detection. Dario 2024-12-17 19:07:37 -03:00
  • d4f58a35be Update PowerRecomp. Skyth 2024-12-17 21:34:24 +00:00
  • 999fe3c4eb
    Compiling and running on Linux. (#49) Skyth (Asilkan) 2024-12-17 18:10:17 +00:00
  • da245b60e3
    Implement OS Restart on Linux. (#50) Darío 2024-12-17 15:09:45 -03:00
  • 290ee4e02c Add RelWithDebInfo preset for Linux. Skyth 2024-12-17 20:45:23 +00:00
  • bf6ecbb34d Implement OS Restart on Linux. Dario 2024-12-17 15:03:11 -03:00
  • c22027be6a Fix config directory. Dario 2024-12-17 14:26:00 -03:00
  • 374091b122 Fix files picker. Dario 2024-12-17 14:14:01 -03:00
  • 8cd85f60c8 Change the exit function to not call static destructors. Skyth 2024-12-17 20:14:20 +00:00
  • ed025a7a5e Unicode fixes & sizeof asserts. Skyth 2024-12-17 19:19:38 +00:00
  • 7d41a3dfc5 Fix a few incorrect data types. Skyth 2024-12-17 15:55:26 +03:00
  • 82f6548f8d
    Convert majority of dependencies to submodules. (#48) Skyth (Asilkan) 2024-12-17 15:35:18 +03:00
  • 7edbaf5f69 Don't compile header-only libraries. Skyth 2024-12-17 15:09:14 +03:00
  • 623898a33e Convert majority of dependencies to submodules. Skyth 2024-12-17 00:24:28 +03:00
  • af8c01f590 Add protection to memory on Linux. Dario 2024-12-17 08:49:04 -03:00
  • dd23b2efc0 Use std::exit. Dario 2024-12-16 23:38:10 -03:00
  • 32e52a13ff Fix NULL character being added on RtlMultiByteToUnicodeN. Dario 2024-12-16 23:26:16 -03:00
  • f547c7ca6d window: implemented monitor switching Hyper 2024-12-16 19:05:40 +00:00
  • 954cecea04 Rename physical memory allocation functions to not clash with X11. Skyth 2024-12-16 21:54:31 +03:00
  • c9ef09b1ab Fix Windows compilation errors & unicode converter crash. Skyth 2024-12-16 21:42:45 +03:00
  • d67ff448e2 FS fixes. Dario 2024-12-16 15:20:46 -03:00
  • 53f3d34a46 Add linux-release config. Dario 2024-12-16 15:13:06 -03:00
  • 5d2f52a64c Fix paths. Dario 2024-12-16 15:06:16 -03:00
  • 5512602231 Refactor Config. Dario 2024-12-16 14:39:47 -03:00
  • 32d9d52d5e Add Linux stubs. Dario 2024-12-16 14:05:46 -03:00
  • 0481d3f539 Code cache pointers, RenderWindow type. Dario 2024-12-16 13:56:58 -03:00
  • 92eb4df06d GetCurrentThreadID gone. Dario 2024-12-16 13:49:48 -03:00
  • 6d7103b818 Rename Window to GameWindow. Fix guest pointers. Dario 2024-12-16 13:46:53 -03:00
  • 1a9ce72762 FPS patches high res clock. Dario 2024-12-16 13:29:21 -03:00
  • 86331a935d Fix localtime_s. Dario 2024-12-16 13:27:06 -03:00
  • 392a0e99bf Bitscan forward. Dario 2024-12-16 13:20:19 -03:00
  • 48bc79f6b1 vcpkg, memory mapped file. Dario 2024-12-16 13:18:54 -03:00
  • 3a5a0142cc Update vcpkg.json baseline. Skyth 2024-12-16 18:59:02 +03:00