yuzu/src
san 583a10fded
yuzu-cmd: Fullscreen Improvements (#6656)
* emu_window_sdl2_vk: Use the generated SDL config

On Linux, due to the way we include SDL2 as a submodule, it makes it
difficult for us to specify which SDL_config.h we intended to include.
Before, CMake would default to the dummy one included with SDL and
ignore the generated one.

This tells CMake to use the generated one. In addition, we define
USING_GENERATED_CONFIG_H to throw an error in case the dummy config is
used by accident. Fixes Vulkan not working on Linux yuzu-cmd.

* emu_window_sdl2_vk: Specify the window manager if it should be supported

The original language "not implemented" is wrong if the implementation
exists but is not compiled. This causes a bit of a debugging headache
when it goes wrong. Log it if the window manager is known before
exiting.

* sdl_impl, emu_window: Remove clang ignore

Fixed upstream by
libsdl-org/SDL@25fc40b0bd

* Enable fullscreen support for Vulkan on yuzu-cmd

Hooked up the existing SDL2 logic for fullscreen support in the Vulkan window of yuzu-cmd.

* Change fullscreen logic to attempt desktop resolution first on yuzu-cmd

Changed the order in which we attempt to switch to fullscreen. First try desktop resolution first, if it fails fall back to streched fullscreen using windowed resolution.

Co-authored-by: lat9nq <22451773+lat9nq@users.noreply.github.com>
Co-authored-by: san <san+gitkraken@smederijmerlijn.nl>
2021-07-21 11:56:42 -07:00
..
audio_core Merge pull request #6571 from Kelebek1/Mix 2021-07-12 22:09:05 -07:00
common uuid: Directly compare UUID instead of checking per element 2021-07-21 02:36:57 +10:00
core applet_controller: Add preliminary support for version 8 2021-07-20 01:45:19 -04:00
input_common Merge pull request #6649 from german77/toggle_sdl 2021-07-20 20:35:20 -04:00
tests Buffer Cache: Address Feedback. 2021-07-10 21:34:55 +02:00
video_core Merge pull request #6629 from FernandoS27/accel-dma-2 2021-07-20 17:35:05 -04:00
web_service web_service: Silence -Wmaybe-uninitialized on httplib.h 2021-07-12 03:30:45 -03:00
yuzu Merge pull request #6649 from german77/toggle_sdl 2021-07-20 20:35:20 -04:00
yuzu_cmd yuzu-cmd: Fullscreen Improvements (#6656) 2021-07-21 11:56:42 -07:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt CMakeLists: Treat -Wsign-compare as an error on GCC/Clang 2021-07-06 12:50:09 -04:00