Commit Graph

269 Commits

Author SHA1 Message Date
Henrik Rydgård
eccd7f3767 More const/static-ification 2024-09-17 15:22:37 +02:00
Lubos
20064445b3 OpenXR - Restore depth buffer 2024-09-16 17:06:37 +02:00
Henrik Rydgård
42c32c5afc VertexDecoder: Don't read loop counts from memory. Improves codegen 2024-09-10 17:53:19 +02:00
Lubos
6c507bf857 OpenXR - Ensure we have a valid poses after app event 2024-08-27 18:59:59 +02:00
Lubos
abeeeb1cbf OpenXR - Sonic rivals rendering fix 2024-08-27 08:22:58 +02:00
Lubos
7fab80200a OpenXR - Formatting 2024-08-26 22:06:53 +02:00
Lubos
a1acbe0c83 OpenXR - Remove depth buffer 2024-08-26 22:04:24 +02:00
Lubos
c07cf6c9be OpenXR - Fix stage errors 2024-08-26 21:59:27 +02:00
Lubos
f56f696386 OpenXR - Cleanup 2024-08-08 12:35:45 +02:00
Lubos
3154a5fac1 OpenXR - VR camera features on any platform 2024-08-07 09:25:12 +02:00
Lubos
3a6bf77f6b OpenXR - Texts review 2024-08-05 12:45:42 +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
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
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
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
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
Lubos
7b089effa0 OpenXR - Use single VR projection matrix 2024-06-03 18:29:06 +02:00
Lubos
47a7b856ef OpenXR - Update SDK 2024-06-03 18:03:57 +02:00
Lubos
e76a5b1d3d OpenXR - Gran Turismo projection hack 2024-05-10 19:40:13 +02:00
Lubos
39966730e9 OpenXR - Fix projection matrix 2024-05-10 19:12:38 +02:00
Lubos
7f127e3567 Revert "OpenXR - Projection matrix on Quest 3 fixed"
This reverts commit 4d61896403.
2024-05-08 21:57:31 +02:00
Luboš V
5cb7b7a686
OpenXR - Support for Meta Horizon OS 2024-04-29 07:46:48 +02:00
Henrik Rydgård
616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård
3bebd2101a
Revert "OpenXR - One APK for Android and standalone VR" 2024-04-03 10:57:02 +02:00
Lubos
63307aec2e OpenXR - One APK for Android and standalone VR 2024-03-21 12:29:22 +01:00
Lubos
76b015a4ab OpenXR - Migrate to official SDK 2024-03-20 12:23:54 +01:00
Lubos
13ff41bc2b OpenXR - Passthrough on the latest QuestOS fixed 2024-02-26 12:56:14 +01:00
Henrik Rydgård
dae758e5f4 Fix some bugs and mistakes found by Nemoumbra through static analysis 2023-11-26 13:43:11 +01:00
Lubos
4d61896403 OpenXR - Projection matrix on Quest 3 fixed 2023-11-21 23:07:58 +01:00
Henrik Rydgård
1a5d5452fe Batch axis events to the VR code 2023-09-29 11:10:32 +02:00
Henrik Rydgård
80a99a67d9 Control: Change internal interfaces to batch-process input axis updates
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.

Linux buildfix
2023-08-31 11:55:53 +02:00
Lubos
9fdd9645de OpenXR - Enable 6DoF in cinema mode 2023-07-21 17:22:36 +02:00
Lubos
dd00dfefab OpenXR - Enhancements of cinema-style screen 2023-07-12 19:33:29 +02:00
Lubos
6e10f20f8b OpenXR - Tony Hawk mirroring hack better 2023-07-02 20:29:59 +02:00
Lubos
880168ee3c OpenXR - Fix render glitches caused by wrong mirroring 2023-06-27 18:54:38 +02:00
Lubos
0b68644063 Revert "OpenXR - Workaround for disfunctional depth buffer allocation"
This reverts commit 6dc264e7e5.
2023-06-26 17:27:46 +02:00
Lubos
a6709c70e0 OpenXR - Code cleanup 2023-06-26 17:26:56 +02:00
Lubos
4642e0a66f OpenXR - Add passthrough option (Quest only) 2023-06-17 16:33:21 +02:00
Henrik Rydgård
75dd31894c Followup to #17471: Fix Lubos' VR sky clearing hack 2023-06-04 10:18:52 +02:00
Henrik Rydgård
2675d6ea43
Input event and device enums (#17514)
* Switch deviceID from int to enum InputDeviceID, globally

* Switch axisId to enum InputAxis

* Change int keycodes to InputKeyCode where it makes sense.

* SDL input buildfix

* SDL keycode buildfix

* Switch on enum warning fixes

* Qt keycode buildfix

* iOS keycode buildfix

* UWP keycode buildfix

* More iOS buildfix

* More iOS buildfix

* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
84da0327d6 GLQueueRunner: Make DrawIndexed parameters more consistent. 2023-05-23 17:49:11 +02:00
Henrik Rydgård
47931deda7 Switch to FastVec for commands. Slower than std::vector! 2023-05-23 08:54:41 +02:00