This commit imports a series of patches from the FreeBSD port of RetroArch to
improve build compatibility and address specific issues encountered in the
FreeBSD environment. These patches, sourced from the FreeBSD Ports collection
(https://cgit.freebsd.org/ports/tree/games/retroarch/files), have been adapted
and tested to ensure they integrate seamlessly with the current build process.
* Use wp_viewporter
* Set buffer scale to highest of displays the window is touching
* Fixes fullscreen issue mentioned in #15168
* Simplify process of adding new wayland protocols
* (Wayland) Wait for splash screen configuration
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
* (Wayland/libdecor) Remove unnecessary context creation check. Log library load.
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
* (Wayland) Bring xdg_toplevel configure in line with libdecor and add icon to splash screen
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
---------
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
Co-authored-by: Colin Kinloch <colin.kinloch@collabora.com>
(menu_contentless_cores) Fix mistake - needed to set len to return
value of fill_pathname_join_special
(configuration.c) Fix some unused variable warnings on Linux
syscall -
On older systems, you'll have to include linux/memfd.h for the MFD_ defines, and call memfd_create() via the the syscall(2) wrapper (and include unistd.h and sys/syscall.h for it work). We exclude linux/memfd.h header include because we already provide
the MFD_ defines in case they are missing