godot/drivers
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
..
alsa Add a --audio-output-latency command-line argument 2023-08-17 14:45:17 +02:00
alsamidi Fix wait for thread not started 2023-04-27 20:28:22 +02:00
coreaudio [Drivers,Platform] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-12 20:13:32 +02:00
coremidi Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
d3d12 Merge pull request #87670 from RandomShaper/d3d12_16bit 2024-01-29 13:18:00 +01:00
egl Fix various spelling errors 2024-01-04 09:56:43 -05:00
gl_context [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gles3 Merge pull request #87553 from clayjohn/GLES3-shader-compilation 2024-01-29 21:33:49 +01:00
png Fix lossless formats in PortableCompressedTexture2D 2024-01-05 00:11:01 +05:00
pulseaudio [Drivers,Platform] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-12 20:13:32 +02:00
unix Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
vulkan Add Wayland support 2024-01-30 16:44:47 +01:00
wasapi Fix Dummy audio driver initialization issue on WASAPI output device initialization failure 2024-01-09 17:36:13 +01:00
windows Use platform-specific methods for FileAccess reading and writing 2023-10-29 17:34:18 +01:00
winmidi One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
xaudio2 Add a --audio-output-latency command-line argument 2023-08-17 14:45:17 +02:00
register_driver_types.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_driver_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Add Direct3D 12 RenderingDevice implementation 2023-12-12 19:10:04 +01:00