arades79
683019878f
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
392a029ef4
don't use static inside constexpr function
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
45e13b03f3
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
m-HD
9df92bad2a
Update settings.cpp
added missing graphical settings to RestoreGlobalState()
3 years ago
Narr the Reg
acba9a6b76
input_common: Reintroduce custom pro controller support
3 years ago
ameerj
2d2522693e
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
This reverts commit 25fc5c0e11 , reversing
changes made to af20e25081 .
3 years ago
liamwhite
b01698775b
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
3 years ago
german77
75e81885b0
input_common: Implement turbo buttons
3 years ago
Levi Behunin
d5fc56db4b
Move to Clang Format 15
Depends on https://github.com/yuzu-emu/build-environments/pull/69
clang-15 primary run
3 years ago
Liam
619c0e70f0
polyfill_thread: satisfy execution ordering requirements of stop_callback
3 years ago
Morph
9b0563fa87
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
34b1ea9c19
cmake: prefer system llvm library
3 years ago
german77
527dad7097
input_common: Use DriverResult on all engines
3 years ago
Narr the Reg
2d802893e7
input_common: Disable SDL driver with switch controllers
3 years ago
Narr the Reg
d80e6c399b
input_common: Initial skeleton for custom joycon driver
3 years ago
Kelebek1
42b16bb33a
Be careful of mangled out of bounds read
3 years ago
Kelebek1
ce0b8d618d
Move demangle impl to cpp
3 years ago
Kelebek1
80a55c1663
Add stacktrace symbol demangling
3 years ago
Matías Locatti
d7dbd8e774
Update settings.h
3 years ago
Matías Locatti
4294429a07
CPP
3 years ago
Matías Locatti
3ba53f2511
1.5X resolution scaler option
3 years ago
Liam
0df43e4e07
renderer_vulkan: disable turbo by default
3 years ago
Narr the Reg
8042ce7e19
input_common: Create an update engine
3 years ago
Wollnashorn
8945fafcc0
config: Set the Vulkan driver pipeline cache option to be global
3 years ago
Wollnashorn
f4626512ff
config: Better wording for VK pipeline cache option and enable by default
3 years ago
Wollnashorn
16809c1fa7
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
a4269c285a
common: add setting for renderer clock workaround
3 years ago
Fernando Sahmkow
3ecc03ec1b
yuzu-ui: Add setting for disabling macro HLE
3 years ago
Fernando Sahmkow
a0c697124c
Video_core: Address feedback
3 years ago
Fernando Sahmkow
d09aa0182f
MacroHLE: Final cleanup and fixes.
3 years ago
Fernando Sahmkow
18637766ef
MacroHLE: Reduce massive calculations on sizing estimation.
3 years ago
Merry
fd1831b65b
host_memory: Use transparent huge pages where available
3 years ago
Merry
4d7be85e73
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
fbc375f0de
fsp_srv: Use ReadBufferSpan
3 years ago
ameerj
c6590ad07b
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
64869807e2
tests: Add ScratchBuffer tests
3 years ago
ameerj
cfc34dd41d
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
88ba5a7f22
common: add make_unique_for_overwrite
3 years ago
Matías Locatti
fd1ea0fd84
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
c5f519e1e4
Set: Allow setting device nickname
3 years ago
Liam
ed37192441
memory: correct semantics of data cache management operations
3 years ago
Liam
5b837157bd
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
9704acb982
general: improve handling of system startup failure
3 years ago
Alexandre Bouvier
8e17b5469f
cmake: prefer system libraries
3 years ago
Liam
6072b22a0b
core: add option to break on unmapped access
3 years ago
ameerj
5b5612c1cc
CMake: Consolidate common PCH headers
3 years ago
ameerj
3c39c0ac3e
string_util: Fix Mingw compile error
Co-Authored-By: liamwhite <9658600+liamwhite@users.noreply.github.com>
3 years ago
ameerj
37bc5118ea
CMake: Use precompiled headers
3 years ago
Liam
89dd7dc180
video_core: add null backend
3 years ago
Lioncash
c2c9b44749
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