Commit Graph

152 Commits

Author SHA1 Message Date
Luboš V
5cb7b7a686 OpenXR - Support for Meta Horizon OS 2024-04-29 07:46:48 +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
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
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
Henrik Rydgård
e4a729d371 Remove unnecessary zero-initialization of GLRRenderCommand structs 2023-05-23 08:53:48 +02:00
Henrik Rydgård
c7caefe6d8 Have Draw and DrawIndexed share command and struct. Will make the next change easier. 2023-05-10 10:40:33 +02:00
Henrik Rydgård
d5e0299b0b GLR: Share union struct between Draw/DrawIndex 2023-05-10 10:32:13 +02:00
Henrik Rydgård
cd33b79ae7 Fix an issue where stray KEY_UP events could confuse the control mapper into setting empty events
This had some not-so-good consequences, like inability to map anything
in VR, and sometimes empty MultiMappings would result that we could end
up asserting on before the previous commit.
2023-05-05 23:00:01 +02:00
Lubos
de462f481f OpenXR - Disable stereo in Motorstorm 2023-04-01 19:48:53 +02:00
Lubos
b59a0728f6 OpenXR - Stereo separation only when enabled 2023-04-01 19:10:18 +02:00
Lubos
e7bbe322cd OpenXR - Stereoscopy math better 2023-04-01 18:58:46 +02:00
Lubos
5addc77258 OpenXR - Invalid operation removed 2023-04-01 18:05:18 +02:00
Henrik Rydgård
38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Henrik Rydgård
416c09034b Minor header cleanup 2023-03-29 12:03:03 +02:00