1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Commit Graph

432 Commits

Author SHA1 Message Date
Thaddeus Crews
288822e330 Merge pull request #105570 from kroketio/texture-extension-mipmaps
RenderingDevice: Pass mipmap count to `texture_create_from_extension()`
2025-05-08 07:19:16 -05:00
Thaddeus Crews
affbfa5b4e Merge pull request #89746 from KoBeWi/NOTification
Remove `NOTIFICATION_ENTER_TREE` when `NOTIFICATION_THEME_CHANGED` is used
2025-05-07 12:48:21 -05:00
Sander
6ae50cad17 RenderingDevice: introduce parameter 'mipmaps' for texture_create_from_extension() 2025-05-07 15:15:55 +03:00
kobewi
d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
kobewi
242293c451 Remove registration of deprecated classes 2025-05-05 20:16:50 +02: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
RedMser
143db328e7 Fix cases where _get returned true erroneously 2025-04-25 19:06:09 +02:00
Thaddeus Crews
d1d4d5f39f Merge pull request #105711 from dsnopek/openxr-wayland-no-opengl
OpenXR: Fix building with Wayland support and `opengl3=no`
2025-04-24 17:18:48 -05:00
David Snopek
dc380f8915 OpenXR: Fix building with Wayland support and opengl3=no 2025-04-24 09:17:19 -05:00
David Snopek
1ca93726c7 OpenXR: Fix building foveation extension without Vulkan 2025-04-24 08:58:17 -05:00
Pāvels Nadtočajevs
5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Thaddeus Crews
72717099d2 Merge pull request #105624 from dsnopek/openxr-action-map-uid-error
OpenXR: Fix saving action map when UID is used in project settings
2025-04-22 18:25:51 -05:00
Thaddeus Crews
e49d04b72b Merge pull request #104461 from lodetrick/action-map-ui
Editor: Replace TextEdit with EditorSpinSlider for XR Action Set Priority
2025-04-22 10:44:29 -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
David Snopek
217333e7a0 OpenXR: Fix saving action map when UID is used in project settings 2025-04-22 09:28:03 -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
Logan Detrick
c67736e6a7 Replace TextEdit with EditorSpinSlider for the Action Set's priority 2025-04-17 12:52:51 -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
9b3e445e47 Merge pull request #105073 from Mickeon/documentation-miscellaneous-oddities-part-4
Fix miscellaneous oddities around the class reference (part 4)
2025-04-11 09:51:11 -05:00
Thaddeus Crews
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Micky
e935fb1ee2 Fix miscellaneous oddities around the class reference (part 4) 2025-04-10 17:56:58 +02:00
Pāvels Nadtočajevs
302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Thaddeus Crews
13eee43437 Merge pull request #105072 from lodetrick/action-map-editor-scale
Fix OpenXR Action Map GUI not scaling according to Editor Scale
2025-04-07 08:43:34 -05:00
Thaddeus Crews
0fbb22c095 Merge pull request #104432 from YYF233333/dict_iter2
Do not iterate `Dictionary` with `Dictionary::keys()`
2025-04-07 08:43:33 -05:00
Logan Detrick
0ead587fa2 Fixes Editor Scales in OpenXR GUI 2025-04-05 13:48:52 -07:00
Micky
2ed4586076 Fix differences between OpenXRInterface and XRHandTracker docs 2025-04-05 13:07:52 +02:00
Yufeng Ying
8ae16699c5 Do not use Dictionary::keys() for Dictionary iteration. 2025-04-05 18:42:13 +08:00
Thaddeus Crews
1f56d96cf2 Merge pull request #104893 from Repiteo/scons/external-includes-alt
SCons: Add `CPPEXTPATH` for external includes
2025-04-02 07:48:03 -05:00
Thaddeus Crews
f25fc34439 SCons: Add CPPEXTPATH for external includes 2025-04-02 07:29:08 -05:00
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +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
Rémi Verschelde
be57309c30 Merge pull request #104658 from m4gr3d/fix_composition_layer_setup
Ensure the composition layer is registered when the layer viewport is updated
2025-03-28 17:30:40 +01:00
Rémi Verschelde
9ecc59f172 Merge pull request #104465 from lodetrick/action-map-tooltips
Add tooltips to OpenXR Action Map UI
2025-03-28 17:30:19 +01: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
Rémi Verschelde
46a5940950 Merge pull request #103643 from dsnopek/openxr-alternative-reference-spaces
OpenXR: Support alternative reference spaces from extensions
2025-03-28 14:32:00 +01:00
Mauricio Narvaez
15b9c15517 Ensure the composition layer is registered when the layer viewport is updated. 2025-03-26 14:39:40 -07: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
Mauricio Narvaez
18fd37d4a8 Enable composition layer fallback in non-editor desktop player 2025-03-21 21:51:25 -07:00
Logan Detrick
ba88732910 Add tooltips to OpenXR Action Map UI 2025-03-21 18:08:36 -07:00
Rémi Verschelde
3e3cf292bd Merge pull request #104377 from Mickeon/translation-slight-duplicates
Tweak a few miscellaneous localization strings
2025-03-21 13:04:08 +01:00
David Snopek
9d3c950b5d OpenXR: Clean-up OpenXRExtensionWrapper by removing multiple inheritance and deprecating OpenXRExtensionWrapperExtension 2025-03-20 07:19:55 -05:00
Micky
5d794f83ed Tweak a few miscellaneous localization strings 2025-03-20 13:12:44 +01:00
Bastiaan Olij
d6312188d7 Adding support for the OpenXR futures extension 2025-03-18 18:59:36 +11:00
Thaddeus Crews
1f6426066e Merge pull request #98768 from Repiteo/core/constexpr-math-operators
Core: Add `constexpr` constructors/operators to math structs
2025-03-17 16:03:20 -05:00