Commit graph

22 commits

Author SHA1 Message Date
Thaddeus Crews
788745e5b8
Merge pull request #108644 from bnjmntmm/secure-android-surface
Use of `XrSwapchainCreateFlags` for `OpenXRCompositionLayer`
2025-10-06 09:06:45 -05:00
Mauricio Narvaez
ca798bf94d Add missing layer provider setup when setting Surface after visibility 2025-08-16 07:55:15 -07:00
timmno12
ecfb96239c Add swapchain create flags support to OpenXR layers
- Introduced SwapchainCreateFlags enum to control swapchain creation (NORMAL, STATIC, PROTECTED) in OpenXR composition layers.
- Allows creation of static layers (never change after creation) and protected layers (for DRM-protected content).
- Changed internal logic from enum to bool for simplicity; users now select "protected" or not.
- Added support for protected content in viewport-based layers.
- Refactored naming, documentation, and improved reusability.
- Minor cleanup: removed unused variable and added missing space.
2025-07-28 16:48:33 +02:00
LuoZhihao
8ba4656ea3 Compile out editor-only logic within validate_property in games 2025-06-12 12:54:19 +08:00
RedMser
143db328e7 Fix cases where _get returned true erroneously 2025-04-25 19:06:09 +02:00
Mauricio Narvaez
15b9c15517 Ensure the composition layer is registered when the layer viewport is updated. 2025-03-26 14:39:40 -07:00
Mauricio Narvaez
18fd37d4a8 Enable composition layer fallback in non-editor desktop player 2025-03-21 21:51:25 -07:00
devloglogan
251ae9c138 Implement OpenXR FB swapchain update extensions 2025-03-12 09:49:17 -05:00
Michael Alexsander
aea559b39a
Allow to compile the engine without XR support 2025-02-25 17:07:21 -03:00
David Snopek
d9ad5d1cd4 OpenXR: Fix hiding/showing composition layers using hole punching 2024-12-23 08:01:19 -06:00
David Snopek
20d8bddd38 OpenXR: Fix crash with composition layers in non-dev builds 2024-12-16 08:44:49 -06:00
Lukas Tenbrink
b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
David Snopek
e2386de505 Fix bug with OpenXR composition layers added after OpenXR is running 2024-10-23 15:34:05 -05:00
David Snopek
3afa26834a OpenXR: Support composition layers based on Android surfaces 2024-09-11 21:15:22 -05:00
devloglogan
6a8f2f00ac Apply reference frame transform to OpenXRCompositionLayer nodes 2024-05-29 07:52:54 -05:00
devloglogan
3d7b712c86 Allow OpenXRCompositionLayer property layer_viewport to be assigned to nullptr 2024-05-21 07:52:40 -05:00
David Snopek
a8a7110b90 Fix layer_viewport getting cleared on OpenXRCompositionLayer in editor 2024-05-09 14:05:20 -05:00
David Snopek
666bf60e36 OpenXR: Allow composition layers to enable hole punching 2024-05-07 10:02:32 -05:00
Rémi Verschelde
ad1993455a
Merge pull request #90286 from dsnopek/openxr-composition-layers-intersects-ray
Add `intersects_ray()` method to `OpenXRCompositionLayer`
2024-04-08 11:21:18 +02:00
David Snopek
025f2b8e7c Add intersects_ray() method to OpenXRCompositionLayer 2024-04-06 08:37:30 -05:00
David Snopek
fddf6dc651 Allow OpenXR extensions to add properties to the OpenXRCompositionLayer node 2024-04-05 07:18:32 -05:00
David Snopek
0f2b804059 Add support for OpenXR composition layers
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-04-04 09:20:23 -05:00