Alexander Orzechowski
81602792e8
RenderWidget: Set WA_DontCreateNativeAncestors
...
Some windowing systems like wayland are designed to show hardware accellerated
surfaces as subsurfaces and not native windows.
2022-12-13 13:23:35 -05:00
Liam
2c6460d168
renderer_opengl: refactor context acquire
2022-12-13 13:23:23 -05:00
Liam
e9f112183b
emu_thread: properly force shutdown for unresponsive guest programs
2022-12-12 21:38:20 -05:00
Gus Caplan
786ec95e5d
let games gracefully exit
2022-12-12 21:18:32 -05:00
Narr the Reg
d68ca768b5
yuzu: Make unlimited frame rate non persistent between game boots
2022-12-12 19:21:30 -06:00
Mai
d5c1432409
Merge pull request #9419 from liamwhite/no-gl
...
cmake: make OpenGL loader optional
2022-12-11 21:09:52 +00:00
Liam
e4f8dbb3d4
cmake: make OpenGL loader optional
...
Co-authored-by: liushuyu <liushuyu@users.noreply.github.com>
2022-12-10 15:12:27 -05:00
Liam
292cc68b75
video_core: Integrate SMAA
...
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com>
Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
2022-12-08 17:17:45 -05:00
merry
32b13dbca1
Merge pull request #9370 from liamwhite/break-unmapped
...
core: add option to break on unmapped access
2022-12-06 20:20:20 +00:00
liamwhite
a8a01d0723
Merge pull request #9390 from lioncash/keyboard
...
applets: Extract callback types into aliases
2022-12-06 11:26:53 -05:00
liamwhite
600df8e96e
Merge pull request #9389 from lioncash/emumove
...
emulated_console/emulated_controller: std::move ParamPackage instances where applicable
2022-12-06 11:26:46 -05:00
liamwhite
ec6bca7a6f
Merge pull request #9391 from abouvier/cmake-sdl
...
cmake: use sdl2 imported target
2022-12-06 09:58:48 -05:00
Lioncash
1ad43e68da
configure_graphics: Make SPIRV backend string translatable
...
The parenthetical needs to be translatable, like with GLASM
2022-12-06 00:13:07 -05:00
Alexandre Bouvier
75f9183846
cmake: use sdl2 imported target
2022-12-06 01:26:30 +01:00
Lioncash
a3e4ad2cf5
applets/controller: Use aliases for callbacks
2022-12-05 19:06:04 -05:00
Lioncash
038b746678
applets/error: Use aliases for callbacks
2022-12-05 19:06:04 -05:00
Lioncash
259307a152
applets/profile_select: Use aliases for callbacks
...
Deduplicates callback definitions and situates it in one place.
2022-12-05 19:06:04 -05:00
Lioncash
5012cd2057
applets/web_browser: Use aliases for callbacks
...
Deduplicates a lot of long callback declarations
2022-12-05 19:06:04 -05:00
Lioncash
047c256fe4
applets/software_keyboard: Use aliases for callbacks
...
Deduplicates really long std::function declarations to make the
interface nicer to read.
2022-12-05 19:06:01 -05:00
Lioncash
7a349e99ee
emulated_controller: Remove unused parameter in GetMappedDevices()
...
This isn't used, so it can be removed to make the function a little
nicer.
2022-12-05 18:27:18 -05:00
liamwhite
b4ef55753e
Merge pull request #6833 from abouvier/unbundle
...
cmake: prefer system libraries
2022-12-05 12:26:09 -05:00
liamwhite
caa1555bc2
Merge pull request #9273 from ameerj/per-game-profile
...
Configuration: Add per-game input profiles
2022-12-04 13:38:01 -05:00
Alexandre Bouvier
325a016cd2
cmake: prefer system libraries
2022-12-04 17:09:25 +01:00
bunnei
d3e229ee9d
Merge pull request #9344 from liamwhite/null
...
video_core: add null backend
2022-12-03 11:23:25 -08:00
liamwhite
c53a3d3f37
Merge pull request #9300 from ameerj/pch
...
CMake: Use precompiled headers to improve compile times
2022-12-03 14:10:06 -05:00
liamwhite
e20c5a0b7f
Merge pull request #9289 from liamwhite/fruit-company
...
general: fix compile for Apple Clang
2022-12-03 12:09:21 -05:00
Matías Locatti
39df80ff00
Merge pull request #9303 from liamwhite/new-vulkan-init
...
Vulkan: update initialization
2022-12-02 18:32:54 -03:00
Liam
dfc09df118
core: add option to break on unmapped access
2022-12-02 08:25:45 -05:00
ameerj
fb155dbffc
CMake: Consolidate common PCH headers
2022-11-30 18:30:30 -05:00
Morph
544d8df4b2
Merge pull request #9349 from lat9nq/cmake-322
...
CMakeLists: Bump minimum required CMake version to 3.22
2022-11-29 19:41:47 -05:00
ameerj
bbf3e7f313
CMake: Use precompiled headers
2022-11-29 18:50:49 -05:00
liamwhite
a6e97dcd1c
Merge pull request #9308 from lat9nq/from-scratch
...
startup_checks: Use Windows flow for *nix
2022-11-29 18:45:39 -05:00
liamwhite
994e446168
Merge pull request #9322 from german77/pump_events
...
input_common: Pump SDL events from main thread
2022-11-29 18:45:25 -05:00
lat9nq
868c5ca1cb
CMake: Directly link to SDL2-static when appropriate
...
Trying to be lazy and alias SDL2 to SDL2-static causes issues in later
versions of CMake. Just use the same condition to tell which one to use.
2022-11-28 23:21:14 -05:00
Liam
acc4a150ef
video_core: add null backend
2022-11-28 19:49:09 -05:00
ameerj
76a58e741a
configure_input_player: Fix profile saving when using handheld controller type
2022-11-28 19:22:18 -05:00
ameerj
736a034af8
config: Custom profile detection fixes
...
Also only reads/writes applicable configs for the custom profiles.
2022-11-28 19:22:18 -05:00
ameerj
8a1c99d57b
configure_input_per_game: Allow configuring all 8 players
2022-11-28 19:22:18 -05:00
Lioncash
72cfd9cb9b
yuzu/main: Merge variable declaration into ifdef
...
This is only used in the non-Windows path.
2022-11-28 08:40:41 -05:00
liamwhite
48b545354a
Merge pull request #8829 from Docteh/qt6_0002
...
CMake: rework for Qt6 support
2022-11-27 17:56:22 -05:00
Liam
0a077cb467
Vulkan: update initialization
...
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
2022-11-27 14:58:28 -05:00
german77
cddbfe5e67
input_common: Pump sdl events from main thread
2022-11-27 11:09:40 -06:00
bunnei
0e8043fc24
Merge pull request #9276 from goldenx86/fsrSlider
...
FSR Sharpening Slider
2022-11-27 00:13:15 -08:00
Matías Locatti
b4211c8a46
Sharpness instead of Sharpening
2022-11-26 02:14:10 -03:00
lat9nq
cedec65403
configure_graphics: Implement custom FSR Sharpening setting
2022-11-25 22:42:54 -05:00
Kyle Kienapfel
84063074a5
CMake: rework for Qt6 support
...
This PR rearranges things in the CMake system to make compiling with Qt6 possible
1. Camera API has changed in Qt6, so the camera feature is disabled
2. A previous fix involving QLocale is now version gated.
3. QRegExp replaced with QRegularExpression, see #5343
4. Qt6_LOCATION option added to specify a location to search for Qt6
(see examples below)
5. windeployqt is used to copy Qt6 files into the build directory on Windows
Notes for Arch Linux
Arch install happened to have qt6-base qt6-declarative qt6-translations installed
mkdir build && cd build
cmake .. -GNinja -DYUZU_USE_BUNDLED_VCPKG=ON -DYUZU_TESTS=OFF -DENABLE_QT6=YES -DYUZU_USE_BUNDLED_QT=NO
Windows (MSVC)
Qt wants users to download precompiled libraries via an online installer,
it is worth noting that the GPL/LGPL takes precendence over any ...
In the Qt Maintenance tool, under a version, such as 6.3.1
Select "MSVC 2019 64-bit"
Under Additional Libraries Qt Multimedia may be of use for Camera support
For the Web Applet I had to select the following:
PDF Positioning WebChannel WebEngine
mkdir build && cd build
cmake -G "Visual Studio 16 2019" -DQt6_LOCATION=C:/Qt/6.4.0/msvc2019_64/ \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=YES -DYUZU_USE_BUNDLED_QT=NO \
-DENABLE_QT_TRANSLATION=YES -DENABLE_QT6=YES ..
Some numbers for reference (msvc2019_64)
Qt5 (slimmed down) 508 MB
Qt5.15.2 all in 929 MB
Qt6.3.1 1.71 GB
Qt6.3.2 1.73 GB
Qt6.4.0-beta3 1.83 GB
Qt6.4.0 1.67 GB
2022-11-24 06:28:42 -08:00
Matías Locatti
8e19421f84
FSR Sharpening Slider part 1 - only a global slider
2022-11-24 04:22:13 -05:00
lat9nq
350ea4888b
startup_checks: Use fmt::print, fix exec error handling
...
Uses fmt::print opposed to std::fprintf for error printing.
Call exit instead of returning to caller to prevent a like issue the
previous commit was trying to solve.
Removes unneeded comment.
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
Co-authored-by: Lioncash <mathew1800@gmail.com>
2022-11-23 21:59:24 -05:00
lat9nq
b9046e89de
startup_checks: Use Windows flow for *nix
...
Spawns a child using fork and exec as opposed to fork alone. Workaround
for the macos file manager complaining about not supporting fork without
exec.
Control flow for *nix is now roughly the same as for Windows.
2022-11-23 21:35:47 -05:00
Liam
fa845b681b
Qt: assign menuRole properties for actions
2022-11-23 12:41:56 -05:00