Commit Graph
4386 Commits
Author SHA1 Message Date
Henrik Rydgård 592d9c5d69 Replace SetWaitableTimerEx with SetWaitableTimer
This makes the build work on retroarch's build server, and keeps
compatibility with Windows Vista (although we hardly test for that).
2024-07-29 08:11:19 -06:00
Henrik Rydgård 2e74efb2fc Fix potential crash in logging
Doesn't happen for me for some reason, but does for Nemoumbra.
2024-07-28 22:03:28 -06:00
Henrik Rydgård 144b3a8a98 Vulkan validation error cleanups 2024-07-28 08:08:48 -06:00
Henrik Rydgård 5c368cb965 More buildfixes 2024-07-26 15:22:35 +02:00
Henrik Rydgård 9fb97add3f Bugfixes 2024-07-26 14:22:31 +02:00
Henrik Rydgård 96c4ae4457 TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00
Henrik Rydgård 5926886c0c Some include cleanup, delete some obsolete code 2024-07-25 14:52:41 +02:00
Henrik Rydgård 0d8f194c65 Merge pull request #19361 from lvonasek/feature-openxr-antiflickering
OpenXR - Anti-flickering rendering flow added
2024-07-22 21:12:03 +02:00
Lubos 0f313e1d13 OpenXR - Make camera pitch value floating-point 2024-07-22 15:55:06 +02:00
Lubos b7eefbc3f0 OpenXR - Camera type fixed 2024-07-22 14:38:43 +02:00
Lubos b70c2cfd10 OpenXR - Anti-flickering rendering flow added 2024-07-22 13:33:03 +02:00
Henrik Rydgård fd9daf7594 Fix some minor issues found by --sanitize. Add --sanitizeub.
Unfortunately the ub (undefined behavior) sanitizer has some bugs, it doesn't
understand pointers to member functions, so can't use it in-game (due to the
vertex decoder).

Thanks Nemoumbra for the reminder.
2024-07-22 11:37:18 +02:00
Henrik Rydgård bfd797033e useThread_ in ConsoleListener.cpp can now be used to manually turn off the logging thread. 2024-07-21 15:37:54 +02:00
Henrik Rydgård f50526338b Remove another wonky _beginthreadex() 2024-07-21 14:09:15 +02:00
Henrik Rydgård 44a54892a5 Update the code style of ConsoleListener, remove statics 2024-07-21 14:09:15 +02:00
Henrik Rydgård 5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +02:00
Henrik Rydgård cf49ff04ca More accurate error reporting for savestate loads 2024-07-20 10:55:16 +02:00
Henrik Rydgård a1010e3b2e Add some more checks in sceFont 2024-07-20 10:42:01 +02:00
Henrik Rydgård e504973cf0 On load state failure, don't go off reloading another rewind state, unless we were actually rewinding. 2024-07-20 00:40:21 +02:00
Henrik Rydgård 417d346e03 Vulkan validation warning fix 2024-07-19 11:43:35 +02:00
Henrik Rydgård d7d37e58d4 Remove the title from the "Rotation" popup button. Fixes #17201 2024-07-19 09:55:22 +02:00
Henrik Rydgård 7c817f3ecd Add helper for Vulkan struct chaining 2024-07-19 09:45:02 +02:00
Henrik Rydgård fb499bf5bf ARM32: Remove runtime checks for VFPv3 and NEON since we require these when building anyway. 2024-07-17 22:14:24 +02:00
Henrik Rydgård 320a1cfc8f Merge pull request #19325 from Nabile-Rahmani/display-refresh-rate-option
[Feature] Option to override the display refresh rate
2024-07-17 20:25:38 +02:00
Henrik Rydgård 665f03ff62 Add provoking vertex to caps, flip the flag around 2024-07-17 14:40:52 +02:00
Henrik Rydgård 138193a776 Add support for the EXT_provoking_vertex Vulkan extension, allowing us to skip software transform for this case. 2024-07-17 10:41:25 +02:00
Henrik Rydgård 2a35a92514 Vulkan: Check the device features *after* the extension checks. Necessary for the next step. 2024-07-17 10:32:47 +02:00
Henrik Rydgård 9f1f75ddab Refactor: Merge the ChooseDevice function into CreateDevice 2024-07-17 10:31:49 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Nabile Rahmani 273f4cce31 Refresh rate: don't programmatically set configuration, detect VR instead 2024-07-14 04:47:26 +02:00
Lubos 6894f581ab OpenXR - Add FBO supersampling 2024-07-13 22:39:00 +02:00
Nabile Rahmani 7af15c73bc [Feature] Option to override the display refresh rate
This adds a per-game graphics option, `DisplayRefreshRate`, to override the display refresh rate.

It defaults to 60 Hz, and is located in Dev tools.

Games using variable timesteps benefit from higher refresh rates.

Closes #19319
2024-07-13 15:04:20 +02:00
Henrik Rydgård 305418813a Add option to control the iOS app switching mode 2024-07-05 20:08:12 +02:00
Luboš V 8120d4c10c OpenGL - Remove unused code 2024-06-24 19:12:01 +02:00
Lubos 4dc3f45d8d OpenXR - OpenGL support 2024-06-24 17:54:26 +02:00
Lubos 86881d374e OpenXR - SBS reprojection fixed 2024-06-24 17:38:17 +02:00
Lubos 15af767e25 OpenXR - SBS support prepared 2024-06-24 17:26:38 +02:00
Lubos ffca688f99 OpenXR - Remove multiview 2024-06-24 17:00:56 +02:00
Lubos 226956b49f OpenXR - Remove foveation 2024-06-24 16:42:19 +02:00
Henrik Rydgård 06315ae6ee IRInterpreter: Slight optimization for fmul
Just put stuff in temporaries, allows for better codegen
2024-06-24 09:12:57 +02:00
Henrik Rydgård 3e1d131754 Vulkan: Fall back to extension if core functions won't load. 2024-06-23 15:42:35 +02:00
Henrik Rydgård 4c4fcabc5e iOS: Disable the swipe-back gesture in-game, to maximize touch responsiveness 2024-06-19 22:43:42 +02:00
Henrik Rydgård 2c257e2628 Vulkan submit: If submit-type is FinishFrame, always trigger the fence.
Should fix #19277
2024-06-19 10:52:40 +02:00
Henrik Rydgård 3bb74ea9ad Rework the JitCompare window to hold a list of blocks, and allow some filtering and browsing 2024-06-05 18:16:33 +02:00
Henrik Rydgård 510cf1891b Random UWP text bugfix. Some warning fixes. 2024-06-05 12:38:43 +02:00
Henrik Rydgård fa5ec667ef Add new TimeSpan class for more accurate timing.
Minimizes the amount of value conversions and performs subtractions in
integer space.
2024-06-05 12:38:39 +02:00
Henrik Rydgård 3e26866f76 Renaming 2024-06-05 10:28:49 +02:00
Henrik Rydgård 083656fcc0 Merge pull request #19241 from hrydgard/optimize-vertex-dec
Optimize color conversions in non-JIT vertex decoder
2024-06-04 12:07:09 +02:00
Henrik Rydgård 2174a896cd Clarify operator precedence 2024-06-04 12:01:18 +02:00
Henrik Rydgård 5b14cf9a3d Switch to the new functions. 2024-06-04 10:28:13 +02:00