virtualx-engine/platform/linuxbsd
Riteo 1bb8199342 Wayland: Workaround API limitation in screen/UI scale logic
Mainly, this fixes auto UI scaling with _single-monitor_ fractional
setups (see the comment in `display_server_wayland.cpp` for more info).

This is the result of a bunch of current limitations, mainly the fact
that the UI scale is static (it's probed at startup) and the fact that
Wayland exposes fractional scales only at the window-level, by design.

The `screen_get_scale` special case should help in 99% of cases, while
the auto UI scale part will unfortunately only help with single-screen
situations, as multi-screen fractional scaling requires dynamic UI
scale changing.
2024-05-07 19:50:48 +02:00
..
doc_classes Export: Unify settings for PC texture formats 2024-02-14 17:16:43 +01:00
export [.NET] Disable output embedding on macOS, move it to the advanced options on other platforms. 2024-04-09 17:47:39 +03:00
wayland Wayland: Workaround API limitation in screen/UI scale logic 2024-05-07 19:50:48 +02:00
x11 [Core] Add scalar versions of Vector* min/max/clamp/snap(ped) 2024-05-02 10:31:13 +02:00
crash_handler_linuxbsd.cpp Disable the crash handler if execinfo=no scons option is set 2024-02-18 21:42:05 +01:00
crash_handler_linuxbsd.h
dbus-so_wrap.c
dbus-so_wrap.h
detect.py SCons: Colorize warnings/errors during generation 2024-04-28 16:24:48 -05:00
fontconfig-so_wrap.c
fontconfig-so_wrap.h
freedesktop_portal_desktop.cpp [DBus] Process file dialog callback in the main event loop instead of using deferred call. 2024-04-23 19:32:35 +03:00
freedesktop_portal_desktop.h [DBus] Process file dialog callback in the main event loop instead of using deferred call. 2024-04-23 19:32:35 +03:00
freedesktop_screensaver.cpp
freedesktop_screensaver.h
godot_linuxbsd.cpp Refactor OS exit code to be EXIT_SUCCESS by default 2024-03-08 23:31:24 +01:00
joypad_linux.cpp
joypad_linux.h
libudev-so_wrap.c
libudev-so_wrap.h
os_linuxbsd.cpp Make sysctl calls on FreeBSD 2024-04-08 19:18:03 +09:30
os_linuxbsd.h Wayland: suspend window after frame timeout or suspend state 2024-02-15 23:48:56 +01:00
platform_config.h
platform_gl.h
platform_linuxbsd_builders.py SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
README.md
SCsub SCons: Convert remaining run_in_subprocess to env.Run 2024-03-10 14:01:23 -05:00
speechd-so_wrap.c
speechd-so_wrap.h
tts_linux.cpp TTS_Linux: Fix size_t template issue on OpenBSD by using int consistently 2023-10-27 12:23:39 -04:00
tts_linux.h TTS_Linux: Fix size_t template issue on OpenBSD by using int consistently 2023-10-27 12:23:39 -04:00
xkbcommon-so_wrap.c
xkbcommon-so_wrap.h

Linux/*BSD platform port

This folder contains the C++ code for the Linux/*BSD platform port.

See also misc/dist/linux folder for additional files used by this platform.

Documentation

Artwork license

logo.png is derived from the Linux logo:

Permission to use and/or modify this image is granted provided you acknowledge me lewing@isc.tamu.edu and The GIMP if someone asks.