godot/modules/openxr
Riteo 7e0f7d3abd Add Wayland support
Not everything is yet implemented, either for Godot or personal
limitations (I don't have all hardware in the world). A brief list of
the most important issues follows:

- Single-window only: the `DisplayServer` API doesn't expose enough
information for properly creating XDG shell windows.

- Very dumb rendering loop: this is very complicated, just know that
the low consumption mode is forced to 2000 Hz and some clever hacks are
in place to overcome a specific Wayland limitation. This will be
improved to the extent possible both downstream and upstream.

- Features to implement yet: IME, touch input, native file dialog,
drawing tablet (commented out due to a refactor), screen recording.

- Mouse passthrough can't be implement through a poly API, we need a
rect-based one.

- The cursor doesn't yet support fractional scaling.

- Auto scale is rounded up when using fractional scaling as we don't
have a per-window scale query API (basically we need
`DisplayServer::window_get_scale`).

- Building with `x11=no wayland=yes opengl=yes openxr=yes` fails.

This also adds a new project property and editor setting for selecting the
default DisplayServer to start, to allow this backend to start first in
exported projects (X11 is still the default for now). The editor setting
always overrides the project setting.

Special thanks to Drew Devault, toger5, Sebastian Krzyszkowiak, Leandro
Benedet Garcia, Subhransu, Yury Zhuravlev and Mara Huldra.
2024-01-30 16:44:47 +01:00
..
action_map Cleanup of OpenXR module scons config 2024-01-25 23:28:13 +11:00
doc_classes Add bone update option to OpenXRHand to allow preserving original hand scale. 2024-01-15 23:55:13 -05:00
editor OpenXR: Add runtime selection dropdown 2024-01-18 15:59:22 +01:00
extensions Add Wayland support 2024-01-30 16:44:47 +01:00
scene Cleanup of OpenXR module scons config 2024-01-25 23:28:13 +11:00
config.py Ensure OpenXR classes are declared properly 2023-08-28 09:37:04 +02:00
openxr_api_extension.cpp Add GDExtension support for OpenXR extension wrappers 2023-07-26 10:27:14 +02:00
openxr_api_extension.h Add GDExtension support for OpenXR extension wrappers 2023-07-26 10:27:14 +02:00
openxr_api.cpp Cleanup of OpenXR module scons config 2024-01-25 23:28:13 +11:00
openxr_api.h Add support for OpenXR local floor extension 2024-01-23 09:19:09 -06:00
openxr_interface.cpp Add support for OpenXR local floor extension 2024-01-23 09:19:09 -06:00
openxr_interface.h OpenXR: Add support for hand tracking source extension 2024-01-10 16:58:40 +11:00
openxr_platform_inc.h Implement OpenXR Foveated rendering support 2023-09-25 17:12:20 +10:00
openxr_util.cpp Allow unbundling OpenXR (for Linux distros) 2023-06-16 16:25:04 +02:00
openxr_util.h Allow unbundling OpenXR (for Linux distros) 2023-06-16 16:25:04 +02:00
register_types.cpp Cleanup of OpenXR module scons config 2024-01-25 23:28:13 +11:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Add Wayland support 2024-01-30 16:44:47 +01:00
util.h Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-10-08 17:23:33 +02:00