Commit Graph
34209 Commits
Author SHA1 Message Date
Lubos e1baa3d424 OpenXR - Camera sliders removed from settings 2022-11-07 17:14:27 +01:00
Lubos cd49dc6627 OpenXR - Camera adjustment using PSP keys 2022-11-07 17:13:08 +01:00
Lubos 90d117ce71 OpenXR - Keep status of PSP keys 2022-11-07 16:46:10 +01:00
Lubos 73ccff9ba0 Restore assert 2022-11-07 16:28:41 +01:00
Lubos e96b9b4649 Remove unnecessary assert 2022-11-06 22:38:15 +01:00
Lubos c58359a3b3 OpenXR - Move configs out of VRRenderer 2022-11-06 22:30:35 +01:00
Lubos 460386e344 OpenXR - Move matrix calculation out of VRRenderer 2022-11-06 22:06:27 +01:00
Lubos cd54873edb OpenXR - Simplify projection matrix creation 2022-11-06 21:48:55 +01:00
Lubos 520b92aa94 OpenXR - Matrix indexing fixed 2022-11-06 21:45:47 +01:00
Lubos 5c9e6968a5 OpenXR - Get rid of separate projection matrices 2022-11-06 21:21:13 +01:00
Lubos 637bb57bc6 OpenXR - Get rid of ovrMatrix4f structure 2022-11-06 20:42:28 +01:00
Henrik Rydgård 3e0b598da1 Merge pull request #16344 from hrydgard/remove-openxr-ifdef
Mostly remove the use of the OPENXR ifdef
2022-11-06 18:54:39 +01:00
Henrik Rydgård 09c0ebd3ca Windows ARM/ARM64 buildfix 2022-11-06 17:40:41 +01:00
Henrik Rydgård 44106ff2e7 Linking fix for normal Android devices 2022-11-06 15:58:07 +01:00
Henrik Rydgård 162290147f UWP build fix. Had to reshuffle some stuff and compile some Vulkan files. 2022-11-06 15:54:00 +01:00
Henrik Rydgård 0ef39d11d8 Add a dynamic loader for OpenXR so the VR code can link. Make it all build on Windows. 2022-11-06 15:37:58 +01:00
Henrik Rydgård c44afcf462 Typo fix 2022-11-06 14:37:56 +01:00
Henrik Rydgård b4507cd5cc Make a lot more code VR build for all platforms 2022-11-06 14:36:51 +01:00
Henrik Rydgård 5d3ec6c8ff Fix type of predictedDisplayTime 2022-11-06 14:35:28 +01:00
Henrik Rydgård bf17219057 Merge pull request #16343 from hrydgard/minor-vr-cleanup
VR: Separate float parameters, to avoid ugly/dangerous scale hacks
2022-11-06 13:38:22 +01:00
Henrik Rydgård 8398b779fb 6dof fix 2022-11-06 11:51:28 +01:00
Henrik Rydgård ef3b0607ef Rename 6DOF_PRECISE to HAS_UNIT_SCALE 2022-11-06 11:39:41 +01:00
Henrik Rydgård 9b619b8c0b Remove ugly float conversion hacks from VR config 2022-11-06 11:37:52 +01:00
Henrik Rydgård 8bb2313f5d Finish previous buildfix... 2022-11-06 11:34:27 +01:00
Henrik Rydgård 6873444d39 Merge pull request #16342 from hrydgard/gradle-upgrade
Gradle upgrade, lock NDK version
2022-11-06 09:55:30 +01:00
Henrik Rydgård 4d81506046 Upgrade gradle, specify NDK version in android/build.gradle
Also fix a warning.
2022-11-06 09:44:06 +01:00
Henrik Rydgård d575151a6e Yet another gradle upgrade 2022-11-06 09:24:35 +01:00
Unknown W. Brackets 15fdb54a59 Merge pull request #16337 from hrydgard/renderpass-type-bitfield
Vulkan: Switch RenderPassType to be a "proper" bitfield enum.
2022-11-05 16:28:48 -07:00
Henrik Rydgård 439b38f705 Comment fixes (feedback) 2022-11-06 00:11:04 +01:00
Unknown W. Brackets bbee15fdfe Merge pull request #16340 from hrydgard/html-fix-ampersands
Fix parsing ampersands in server listings for streaming
2022-11-05 16:05:04 -07:00
Unknown W. Brackets 6f9ddd9cc4 Merge pull request #16338 from hrydgard/rotation-in-frame-uniforms
VK: Move the rarely used "u_rotation" uniform to the frame uniform buffer.
2022-11-05 15:50:34 -07:00
Henrik Rydgård 675a046759 Fix parsing ampersands in server listings for streaming
Fixes #16263 , or so I hope - haven't actually tested it, but seems
straightforward enough.
2022-11-05 23:31:30 +01:00
Henrik Rydgård 0010ccb43e Merge pull request #16336 from lvonasek/hotfix_android_intent
Support Android file intents with up to 3 dots in path
2022-11-05 22:43:57 +01:00
Henrik Rydgård 0f37854ef9 Drop some D3D11 screen rotation support (was only used on Windows Phone) 2022-11-05 22:17:06 +01:00
Henrik Rydgård ad6725b684 VK/D3D11: Move the rarely used "u_rotation" uniform to the frame uniform buffer.
This uniform is used in two cases:

* Non-buffered rendering in Vulkan, software transform
* Non-buffered rendering in D3D11 level 9 on Windows Phone, software transform
  - which I don't think anyone builds for anymore

Nice to not have it in the main uniform buffer, but mainly a
demonstrator/test of moving stuff to the new frame-global buffer, and
setting up the infrastructure.
2022-11-05 22:14:05 +01:00
Henrik Rydgård 7742fbdeb6 Switch RenderPassType to be a "proper" bitfield enum. 2022-11-05 22:06:53 +01:00
Lubos a5100d2de0 Support Android file intents with up to 3 dots in path 2022-11-05 21:44:21 +01:00
Henrik Rydgård 10c6232b9b Merge pull request #16310 from lvonasek/feature_openxr_motion
OpenXR - Map controller gestures
2022-11-05 18:18:57 +01:00
Henrik Rydgård bb21abdf77 Merge pull request #16333 from lvonasek/cleanup_openxr_core
OpenXR - Defines cleanup
2022-11-05 13:48:45 +01:00
Lubos a52afe9fd8 Merge branch 'master' into cleanup_openxr_core 2022-11-05 10:51:29 +01:00
Lubos 14abd91861 Merge branch 'master' into feature_openxr_motion 2022-11-05 10:49:11 +01:00
Henrik Rydgård 92fc71ca5c Merge pull request #16329 from lvonasek/feature_openxr_disable72hz
OpenXR - Add an option to disable 72Hz update
2022-11-05 10:33:20 +01:00
Lubos 22980c8b9f Code formatting fixed 2022-11-05 10:16:24 +01:00
Lubos aacbe4f4a3 OpenXR - Get platform flags in runtime 2022-11-04 14:53:07 +01:00
Lubos aafa17fa73 OpenXR - Introduce platform flags 2022-11-04 14:22:42 +01:00
Lubos f8d29e0d19 OpenXR - Fix ifdef ANDROID 2022-11-04 13:52:32 +01:00
Lubos 1d452a2e01 OpenXR - Add an option to disable 72Hz update 2022-11-03 21:33:46 +01:00
Henrik Rydgård 028b93a9a1 Merge pull request #16328 from lvonasek/feature_openxr_flatstereo
OpenXR - Enable camera movement and stereo in flatscreen mode
2022-11-03 20:23:47 +01:00
Lubos c6b83dd9d8 OpenXR - Enable camera movement and stereo in flatscreen mode 2022-11-03 20:00:30 +01:00
Henrik Rydgård 074fb47576 Merge pull request #16312 from lvonasek/compat_openxr_splitsecond
OpenXR - Compatibility for Split/Second game
2022-11-02 22:13:29 +01:00