1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00
Commit Graph

184 Commits

Author SHA1 Message Date
Thaddeus Crews
54e8c8eecc Merge pull request #110948 from aaronfranke/const-ref-param-openxr
Use const ref parameters in the OpenXR module
2025-09-30 11:19:11 -05:00
Aaron Franke
c3e6002c6e Use const ref parameters in the OpenXR module 2025-09-28 08:10:03 -07:00
Bastiaan Olij
eeac57075c OpenXR: Implement spatial entities extension 2025-09-27 12:23:33 +10:00
Thaddeus Crews
e49e73e160 Merge pull request #110868 from brycehutchings/openxr_late_destruction_crash_fix
Fix late destruction access violation with OpenXRAPIExtension object
2025-09-25 14:57:11 -05:00
Bryce Hutchings
cd198f7517 Remove static lifetime object to avoid late destruction 2025-09-25 10:11:08 -07:00
Bryce Hutchings
58ecb8ade5 Fix D3D12 using the wrong clip space projection matrix. Remove error-prone/unnecessary graphicsApi parameter. 2025-09-23 16:58:39 -07:00
Thaddeus Crews
34609db10b Merge pull request #109969 from dsnopek/openxr-validation-errors
OpenXR: Fix errors reported by `XrApiLayer_core_validation`
2025-09-19 20:54:28 -05:00
Thaddeus Crews
597c5d413f Merge pull request #109611 from devloglogan/hand-tracking-microgestures
Add XR_META_hand_tracking_microgestures action paths
2025-09-19 20:54:25 -05:00
David Snopek
f9c76d026d OpenXR: Fix errors reported by XrApiLayer_core_validation 2025-08-25 15:54:54 -05:00
Bastiaan Olij
ccceb2ac60 OpenXR: Fix default action map entry for Vive Focus 3 2025-08-22 16:28:25 +10:00
Thaddeus Crews
b432e108d5 Merge pull request #109791 from Talkashie/master
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Talkashie
bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Aaron Franke
7be711ecb7 OpenXR: Use GLTFDocument function to get supported extension names 2025-08-15 12:58:53 -07:00
devloglogan
1a864595cf Add XR_META_hand_tracking_microgestures actions 2025-08-15 10:37:29 -05:00
Lyuma
0620eb126a xr: Add missing paths to /user/vive_tracker_htcx
Add 4 missing paths for wrist and ankle to XR_HTCX_vive_tracker_interaction.
These are already available in OpenXR 1.0, rev. 3 of the extension.
https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#XR_HTCX_vive_tracker_interaction
2025-07-10 23:47:51 -07:00
Bastiaan Olij
b65b367a6f OpenXR: Adding support for the render model extension 2025-06-19 19:14:49 +10:00
Rémi Verschelde
088ef7b6f6 Merge pull request #100283 from devloglogan/vk-motion-vectors
Implement motion vectors in mobile renderer
2025-06-05 13:10:20 +02:00
David Snopek
fd220081c1 OpenXR: Add controller interaction profile for Pico 4 Ultra 2025-06-01 06:05:30 -05:00
devloglogan
3b70fbdc3c Implement motion vectors in mobile renderer 2025-05-30 13:09:54 -05:00
Lukas Tenbrink
4cb8a0c77e Add resize_initialized and resize_uninitialized to Vector. These functions serve as replacements for resize, to make sure the caller understands whether elements need to be initialized 'by hand' after the call. 2025-05-26 18:35:41 +02:00
Bastiaan Olij
16659e37c1 OpenXR Futures: Add return value support 2025-05-26 14:54:25 +10:00
Sander
6ae50cad17 RenderingDevice: introduce parameter 'mipmaps' for texture_create_from_extension() 2025-05-07 15:15:55 +03:00
lawnjelly
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
Thaddeus Crews
3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
David Snopek
1ca93726c7 OpenXR: Fix building foveation extension without Vulkan 2025-04-24 08:58:17 -05:00
Matthieu Bucchianeri
e3c215fc13 Add support for Direct3D 12 OpenXR backend.
This change adds support for running XR projects built with the `d3d12`
rendering backend. The XR backend hooks into the setup for the D3D12
render context in order to use the desired device and command queue for
submission to OpenXR. The XR backend takes care of importing the D3D12
swapchain images into the render context.

As part of this process, three issues are addressed:
- Ensuring that resource state transitions are only done on textures
  that require them.
- Enabling view instancing in the PSOs for multiview render passes.
- Addressing a bug in the D3D12 runtime where PSO creation may fail
  when front face detection is used.

Please refer to #86283 for additional discussions on the implementation
details.
2025-04-19 20:39:33 -07:00
Thaddeus Crews
98aced4e65 Merge pull request #99768 from dsnopek/openxr-vulkan-foveated-rendering
OpenXR: Use the `XR_FB_foveation_vulkan` extension to get the density map for VRS
2025-04-17 09:14:23 -05:00
Thaddeus Crews
ad40939b6f Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Fredia Huya-Kouadio
b28e95c8b0 Request the XR_KHR_LOADER_INIT_EXTENSION_NAME extension 2025-04-15 17:51:57 -07:00
Thaddeus Crews
0d267e7b1e Core: Add dedicated BitField template 2025-04-11 11:53:26 -05:00
Thaddeus Crews
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Yufeng Ying
8ae16699c5 Do not use Dictionary::keys() for Dictionary iteration. 2025-04-05 18:42:13 +08:00
David Snopek
79f5a4d9fe OpenXR: Use the XR_FB_foveation_vulkan extension to get the density map for VRS 2025-03-31 07:21:58 -05:00
David Snopek
3f27351f2b OpenXR: Support alternative reference spaces from extensions
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
2025-03-24 11:33:30 -05:00
David Snopek
9d3c950b5d OpenXR: Clean-up OpenXRExtensionWrapper by removing multiple inheritance and deprecating OpenXRExtensionWrapperExtension 2025-03-20 07:19:55 -05:00
Bastiaan Olij
d6312188d7 Adding support for the OpenXR futures extension 2025-03-18 18:59:36 +11:00
Thaddeus Crews
df65b341ad Merge pull request #101999 from devloglogan/swapchain-update-state
Implement OpenXR FB swapchain update extensions
2025-03-12 13:17:14 -05:00
devloglogan
352859c29e Implement XR_EXT_performance_settings OpenXR extension 2025-03-12 10:50:43 -05:00
devloglogan
251ae9c138 Implement OpenXR FB swapchain update extensions 2025-03-12 09:49:17 -05:00
Thaddeus Crews
4af8989e38 Merge pull request #103973 from dsnopek/openxr-opengl-version-warning
OpenXR: Fix OpenGL version warning when using GLES
2025-03-11 14:00:37 -05:00
David Snopek
6353386241 OpenXR: Fix OpenGL version warning when using GLES 2025-03-11 10:32:22 -05:00
Thaddeus Crews
713a1ba554 Style: Standardize Obj-C #import syntax 2025-03-08 09:28:34 -06:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
devloglogan
c242cef627 Use vectors for OpenXRAPI memory management 2025-01-13 16:10:43 -06:00
Aarni Koskela
f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
A Thousand Ships
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying
33817b186f Remove unused header in drivers and modules.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2024-12-24 00:40:47 +08:00
Bastiaan Olij
65bb72261b OpenXR: Make sure wedge on DPad modifier is expressed in degrees. 2024-12-21 20:59:24 +11:00
Thaddeus Crews
d51fae25a7 Merge pull request #98872 from BastiaanOlij/openxr_khr_metal_enable
OpenXR: Add Metal support
2024-12-16 12:09:47 -06:00
Thaddeus Crews
bfc66f0608 Merge pull request #100282 from devloglogan/motion-vectors-openxr
Add renderer motion vectors API for use with OpenXR
2024-12-12 16:13:36 -06:00