Morph
337f943c97
polyfill_thread: Implement StoppableTimedWait
StoppableTimedWait allows for a timed wait to be stopped immediately after a stop is requested.
This is useful in cases where long duration thread sleeps are needed and allows for immediate joining of waiting threads after a stop is requested.
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
3 years ago
Alexandre Bouvier
8768e16b6c
cmake: prefer system llvm library
3 years ago
german77
5cbeb6f1c4
input_common: Use DriverResult on all engines
3 years ago
Narr the Reg
216bdb7884
input_common: Disable SDL driver with switch controllers
3 years ago
Narr the Reg
0e41ae9595
input_common: Initial skeleton for custom joycon driver
3 years ago
Kelebek1
8fea4c21b2
Be careful of mangled out of bounds read
3 years ago
Kelebek1
a665621670
Move demangle impl to cpp
3 years ago
Kelebek1
90f546cba4
Add stacktrace symbol demangling
3 years ago
Matías Locatti
7297ab36c1
Update settings.h
3 years ago
Matías Locatti
a724435c8b
CPP
3 years ago
Matías Locatti
cf9e60d883
1.5X resolution scaler option
3 years ago
Liam
a9d96415c4
renderer_vulkan: disable turbo by default
3 years ago
Narr the Reg
243f2931b5
input_common: Create an update engine
3 years ago
Wollnashorn
1011652852
config: Set the Vulkan driver pipeline cache option to be global
3 years ago
Wollnashorn
0b17b4edd2
config: Better wording for VK pipeline cache option and enable by default
3 years ago
Wollnashorn
ef0b585b0b
video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelines
As an optional feature which can be enabled in the advanced graphics configuration, all pipelines that get built at the initial shader loading are stored in a VkPipelineCache object and are dumped to the disk.
These vendor specific pipeline cache files are located at `/shader/GAME_ID/vulkan_pipelines.bin`. This feature was mainly added because of an issue with the AMD driver (see yuzu-emu#8507) causing invalidation of the cache files the driver builds automatically.
3 years ago
Liam
d9b2bc7f04
common: add setting for renderer clock workaround
3 years ago
Fernando Sahmkow
e5d02ff039
yuzu-ui: Add setting for disabling macro HLE
3 years ago
Fernando Sahmkow
1fdf24a081
Video_core: Address feedback
3 years ago
Fernando Sahmkow
e6e49e584f
MacroHLE: Final cleanup and fixes.
3 years ago
Fernando Sahmkow
12a76465b9
MacroHLE: Reduce massive calculations on sizing estimation.
3 years ago
Merry
0abd0d6af9
host_memory: Use transparent huge pages where available
3 years ago
Merry
192f349e5f
host_memory: Allocate virtual_base with MAP_NORESERVE
Specify that we do not require swap to be reserved for this address range;
allow overcommitting.
3 years ago
ameerj
4d5adfb3c9
scratch_buffer: Explicitly defing resize and resize_destructive functions
resize keeps previous data intact when the buffer grows
resize_destructive destroys the previous data when the buffer grows
3 years ago
ameerj
37ac7d7841
tests: Add ScratchBuffer tests
3 years ago
ameerj
ff76a433ab
common: Add ScratchBuffer class
This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize
is redundant.
3 years ago
ameerj
80c173aba5
common: add make_unique_for_overwrite
3 years ago
Matías Locatti
7479b381fa
Enable compiler optimizations and enforce x86-64-v2 on GCC/Clang ( #9442 )
* Testing LTO (#4 )
* Testing LTO
* clang
* linux
* Added the rest of Blinkhawk's optimizations
* Unlikely asserts
* Removing LTO from Linux builds - GCC
* Removing LTO from Linux builds - Clang
3 years ago
Chloe Marcec
27a7d5a11a
Set: Allow setting device nickname
3 years ago
Liam
47a89280bf
memory: correct semantics of data cache management operations
3 years ago
Liam
292cc68b75
video_core: Integrate SMAA
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com>
Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
3 years ago
Liam
08d81c9726
general: improve handling of system startup failure
3 years ago
Alexandre Bouvier
325a016cd2
cmake: prefer system libraries
3 years ago
Liam
dfc09df118
core: add option to break on unmapped access
3 years ago
ameerj
fb155dbffc
CMake: Consolidate common PCH headers
3 years ago
ameerj
04a6ddddfb
string_util: Fix Mingw compile error
Co-Authored-By: liamwhite <9658600+liamwhite@users.noreply.github.com>
3 years ago
ameerj
bbf3e7f313
CMake: Use precompiled headers
3 years ago
Liam
acc4a150ef
video_core: add null backend
3 years ago
Lioncash
7c051067f6
common/cache_management: Amend header includes
Narrows the include in the header to <cstddef>, since that's what houses
size_t's definition, meanwhile the <cstdint> include can be moved into
the cpp file.
3 years ago
Lioncash
0862aabdc6
common/input: Add helpers functions for creating input and output devices
Avoids the redundancy of needing to explictly specify the common
namespace and the type.
3 years ago
Lioncash
c005d24e1e
common/input: Pass ParamPackage by const reference in CreateDevice
This was previously being passed by value, which was unnecessary and
created more allocations than necessary.
3 years ago
Matías Locatti
71055c8e90
Oops
3 years ago
Matías Locatti
492fabc9b2
Replace GLSL as the default OpenGL shader backend
GLASM is not very compatible with the latest games, and too many people have the special superpower to break their Vulkan support.
3 years ago
lat9nq
1c5379fef9
settings: Reset FSR sharpening global state with the others
3 years ago
Matías Locatti
8e19421f84
FSR Sharpening Slider part 1 - only a global slider
3 years ago
Liam
5a712bb51a
general: fix compile for Apple Clang
3 years ago
ameerj
19ca666e9f
Configuration: Add per-game input profiles
3 years ago
Kyle Kienapfel
d886438754
Add break for default cases
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
3 years ago
Liam
10751ff536
common: add cache management functions
3 years ago
Matías Locatti
6b465c859b
Add CPU core count to log files
3 years ago