Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
...
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.
Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde
8c0f175c94
Decouple RenderingServer from as much of the codebase as possible
...
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde
a3cb56dd38
Decouple RenderingServer from XR/OpenXR headers
...
Move BlitToScreen to RenderingServerTypes.
2026-02-25 20:17:23 +01:00
Erik Ritschl
ebe5e9e294
OpenXR: Fix OpenGL ES driver checks
...
The OpenXROpenGLExtension class handles both OpenGL and OpenGL ES
but currently there is no code path to activate the extension when
the "opengl3_es" rendering driver is requested explicitly. A similar
issue exists in OpenXRFBUpdateSwapchainExtension. With this commit
both strings are checked.
2026-02-19 13:14:49 +01:00
Thaddeus Crews
2ae60b4108
Merge pull request #116207 from eritschlSC/projection_layer_extension
...
OpenXR: Add support for projection layer extensions
2026-02-18 17:28:22 -06:00
Erik Ritschl
3bd8f3ccb6
OpenXR: Expose view information to GDExtension API
...
View count and XrViewConfigurationType are relevant for various core
OpenXR functions and extensions. This commit makes them accessible
via the GDExtension API.
2026-02-13 10:32:09 +01:00
Erik Ritschl
5d5eb20a91
OpenXR: Add support for projection layer extensions
...
This commit adds the necessary hooks for OpenXRExtensionWrapper
classes to populate the next chain of the XrCompositionLayerProjection
structure.
2026-02-12 15:48:37 +01:00
Bastiaan Olij
19bad637ce
OpenXR: unable to find depth format now gives a warning
2026-01-26 19:50:11 +11:00
Bastiaan Olij
998c876f36
OpenXR: Allow setting a specific version of OpenXR to initialize.
2026-01-19 20:41:37 +11:00
Bryce Hutchings
14b6ca17fe
Fix 'depth_views' dropped from 'next' chain
2026-01-09 12:51:01 -08:00
David Snopek
1e4de4ed31
OpenXR: Remove version hack to workaround Meta aim pose issue that is now fixed
2025-12-17 20:23:07 -06:00
Bastiaan Olij
c0bc43d1de
Add OpenXR 1.1 support
2025-11-26 10:35:37 +11:00
mattia.zirpoli
8af1a134b4
OpenXR: Implement play_area_changed signal
...
This implements the missing logic for the 'play_area_changed' in OpenXRInterface.
It modifies the existing 'on_reference_space_change_pending' method by receiving the XrReferenceSpaceType enum from the event and selects the appropriate PlayAreaMode, it finally emits the 'play_area_changed' signal.
2025-11-22 18:28:26 +01:00
Thaddeus Crews
3f5b871666
Merge pull request #112893 from dsnopek/openxr-profiling
...
OpenXR: Add profiling macro for process, `xrWaitFrame()` and acquiring swapchain
2025-11-17 19:36:25 -06:00
David Snopek
01a5ba4b9d
OpenXR: Add profiling macro for process, xrWaitFrame() and acquiring swapchain
2025-11-17 16:39:16 -06:00
dhoverb
8adea5454e
OpenXR: Add OpenXRAPIExtension::update_main_swapchain_size()
2025-11-17 21:58:06 +00:00
Bastiaan Olij
c5aae722ee
OpenXR: Add support for frame synthesis
2025-11-13 21:18:31 +11:00
David Snopek
093d191909
Make OpenXRCompositionLayer and its children safe for multithreaded rendering
2025-10-06 10:51:20 -05:00
Thaddeus Crews
7ca521eda1
Merge pull request #109533 from dsnopek/openxr-api-prevent-updating-extension-lists
...
OpenXR: Prevent adding/removing extension wrappers after session start
2025-09-30 18:35:18 -05:00
Thaddeus Crews
4f66d53068
Merge pull request #109532 from dsnopek/openxr-api-environment-blend-mode-thread-safe
...
OpenXR: Safely set environment blend mode when rendering on a separate thread
2025-09-30 18:35:17 -05:00
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
David Snopek
f9c76d026d
OpenXR: Fix errors reported by XrApiLayer_core_validation
2025-08-25 15:54:54 -05:00
David Snopek
13a643d78a
OpenXR: Safely set environment blend mode when rendering on a separate thread
2025-08-22 08:11:04 -05:00
David Snopek
4a24de208f
OpenXR: Prevent adding/removing extension wrappers after session start
2025-08-22 08:04:03 -05:00
David Snopek
2687b199c1
OpenXR: Work around bug with Meta runtime on 1.0.49
2025-07-22 09:19:35 -05:00
Thaddeus Crews
c7d2ea4f68
Merge pull request #107388 from BastiaanOlij/openxr_render_models_ext
...
OpenXR: Add support for render models extension
2025-06-20 08:38:57 -05:00
Bastiaan Olij
b65b367a6f
OpenXR: Adding support for the render model extension
2025-06-19 19:14:49 +10:00
Bastiaan Olij
df06aa8392
OpenXR: Add access to session state and change interaction profile update.
2025-06-18 17:37:18 +10:00
David Snopek
0fd0feb772
Minor rendering and XR changes to allow Meta enivornment depth API to work entirely from GDExtension
2025-05-27 13:06:31 -05:00
Thaddeus Crews
2ffd5a3913
Merge pull request #104738 from YYF233333/cleanup_rid_owner
...
Use `LocalVector` in `RID_Owner::get_owned_list`
2025-04-22 10:44:25 -05:00
Yyf2333
1a70a06a43
Change RID_Owner::get_owned_list.
2025-04-21 01:04:27 +08: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
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
Rémi Verschelde
3b90bb56ad
Merge pull request #89782 from KoBeWi/stdArrayList
...
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
kobewi
75881f8322
Use initializer list in Arrays
2025-03-26 18:38:15 +01: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
Thaddeus Crews
ea62170dac
Core: Add constexpr constructors/operators to math structs
...
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
2025-03-17 12:15:31 -05:00
Aaron Franke
97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
2025-03-12 11:11:38 -07:00
Thaddeus Crews
d9125ebebe
Merge pull request #101293 from Ivorforce/string-to-pointer-conversion
...
Remove implicit conversions from `String`, `Char16String` and `CharString` to data pointers.
2025-03-07 15:12:12 -06:00
David Snopek
fd622afb1d
OpenXR: Emulated alpha blend mode should override the real blend mode
2025-02-26 17:35:03 -06:00
Lukas Tenbrink
512abc38b2
Remove implicit conversions from String, Char16String and CharString to data pointers. Make conversions to StrRange implicit to aid transition.
2025-01-17 17:31:58 +01:00
devloglogan
c242cef627
Use vectors for OpenXRAPI memory management
2025-01-13 16:10:43 -06:00
Rémi Verschelde
3014eec40d
Merge pull request #99407 from devloglogan/rec-resolution
...
Allow using custom `Rect2i` for rendering with OpenXR
2025-01-10 23:05:46 +01:00
devloglogan
e7f6b7ea0b
Allow using custom Rect2i for rendering with OpenXR
2025-01-09 09:46:15 -06: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
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