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

150 Commits

Author SHA1 Message Date
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
Bastiaan Olij
0a61ebdcea OpenXR: Add support for binding modifiers 2024-12-12 09:46:19 +11:00
devloglogan
3deb5884d7 Renderer agnostic motion vector rendering/OpenXR changes 2024-12-10 15:59:17 -06:00
Bastiaan Olij
08ced813a9 OpenXR: Add Metal support 2024-12-10 11:41:59 +11:00
Thaddeus Crews
925b690c98 Core: Integrate Ref::instantiate where possible 2024-11-10 12:41:26 -06:00
Thaddeus Crews
1559645112 Merge pull request #98831 from dsnopek/openxr-gdextension-pre-post-draw-viewport
OpenXR: Allow GDExtensions to implement `_on_pre_draw_viewport()` and `_on_post_draw_viewport()`
2024-11-05 18:36:12 -06:00
David Snopek
c72eb04adb OpenXR: Allow GDExtensions to implement _on_pre_draw_viewport() and _on_post_draw_viewport() 2024-11-05 08:16:29 -06:00
Thaddeus Crews
bb5f390fb9 Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 -06:00
Thaddeus Crews
89a311205f Style: Apply clang-tidy fixes
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Juan Pablo Arce
1803fe0cd5 Fix OpenXR module failing to build on Linux when Wayland is disabled 2024-10-27 14:03:03 -03:00
David Snopek
256699ee31 OpenXR: Add support for Wayland on Linux 2024-10-04 11:44:05 -05:00
Thaddeus Crews
9f9ee0c813 SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
David Snopek
f7e5e7a400 OpenXR: Allow extending Android surface swapchain creation from GDExtension 2024-09-20 15:42:27 -05:00
David Snopek
7d56b09f23 Expose a function to create textures from a native handle in the compatibility renderer 2024-09-19 09:05:32 -05:00
David Snopek
3afa26834a OpenXR: Support composition layers based on Android surfaces 2024-09-11 21:15:22 -05:00
Bastiaan Olij
08ffa5d89e Add support for the debug utils extension in OpenXR 2024-08-27 12:07:01 +10:00
Bastiaan Olij
1925d1e6f9 OpenXR: Check correct status bit for hand tracking 2024-08-22 11:57:56 +10:00
Rémi Verschelde
d9e458515b Merge pull request #91750 from BastiaanOlij/openxr_visibility_mask
OpenXR: Add support for visibility mask
2024-08-20 11:03:54 +02:00
Bastiaan Olij
a8c5117777 Change hand tracking project settings and finetune show_when_tracked 2024-08-20 11:12:52 +10:00
Bastiaan Olij
d9ab2c3195 OpenXR: Add support for visibility mask 2024-08-20 10:47:17 +10:00
Rémi Verschelde
63f4186f97 Merge pull request #95253 from Kimau/claire/logitech
OpenXR - Add Logitech Mx Ink Stylus Support
2024-08-19 12:09:01 +02:00
David Snopek
dfcff4ef46 OpenGL: Unconditionally do glDisable(GL_FRAMEBUFFER_SRGB) because we do our own sRGB conversion 2024-08-12 12:40:38 -05:00
Claire Blackshaw
19c7afee07 OpenXR - Support for the Logitech MxInk Stylus
In future work we may want to expose an isStylus or similar for
XR Trackers, though that is likely outside the scope of this commit
which is the core extension work.

Vendor Ref: https://logitech.github.io/mxink/OpenXR.html
2024-08-08 11:09:29 +01:00
Bastiaan Olij
8eb130fdf0 OpenXR: Add HTC/MSFT hand interaction profiles 2024-06-12 19:16:43 +10:00
Logan Lang
a64b0d3830 Set XRHandTracker property has_tracking_data to true only when palm joint is tracked 2024-06-05 17:22:45 +02:00
Bastiaan Olij
6582be0c50 OpenXR: Fix updating swapchain for foveation 2024-05-20 12:23:56 +10:00
David Snopek
45a02c28cd Fix sample count on OpenXR composition layers 2024-05-14 10:43:44 -05:00
David Snopek
de654d9846 OpenXR: Fix composition layers not having correct play space 2024-05-07 20:49:46 -05:00
Rémi Verschelde
4b070e8031 Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Bastiaan Olij
9042ddf19f Improvements to VRS/Foveated rendering 2024-05-03 17:20:30 +10:00
Bastiaan Olij
527c30c594 Add support for OpenXR hand interaction extension 2024-05-02 19:15:02 +10:00
Bastiaan Olij
cbab7dc049 OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR 2024-05-01 14:24:41 +10:00
Malcolm Nixon
e00e5c0386 Remove the Hand enum from XRHandTracker to fix name-collision with the hand property of the base class.
Co-Authored-By: David Snopek <191561+dsnopek@users.noreply.github.com>
2024-04-25 19:38:57 -04:00
Rémi Verschelde
8c474ddd49 Merge pull request #90710 from m4gr3d/fix_jstring_leaks
Fix leakage of JNI object references
2024-04-22 12:52:16 +02:00
Malcolm Nixon
823ae7b3fa Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility. 2024-04-18 20:04:01 -04:00