Alexander Orzechowski
976141ddcf
wayland: Always use exclusive fullscreen
Wayland does not allow clients to choose their own size and position
on the screen. The concept of fullscreening an application by sizing
it to the screen and removing decorations does not exist. Use
exclusive fullscreen instead.
3 years ago
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.
3 years ago
Alexander Orzechowski
876bf7c6b3
emu_window_sdl2: Respect hidpi
Use SDL_GL_GetDrawableSize instead of SDL_GetWindowSize which
will return the true size our swapchain needs to be in even
for hidpi displays.
3 years ago
Alexander Orzechowski
ef5ccad791
video_core/vulkan: Explicity check swapchain size when deciding to recreate
Vulkan for whatever reason does not return VK_ERROR_OUT_OF_DATE_KHR when
the swapchain is the wrong size. Explicity make sure the size is indeed
up to date to workaround this.
3 years ago
Liam
2c6460d168
renderer_opengl: refactor context acquire
3 years ago
Liam
e9f112183b
emu_thread: properly force shutdown for unresponsive guest programs
3 years ago
Gus Caplan
786ec95e5d
let games gracefully exit
4 years ago
yzct12345
462220fe15
Fix validation errors on less compatible Intel GPU
3 years ago
Narr the Reg
d68ca768b5
yuzu: Make unlimited frame rate non persistent between game boots
3 years ago
Narr the Reg
0476f77e9c
input_common: Filter SDL GUID
3 years ago
Liam
47a89280bf
memory: correct semantics of data cache management operations
3 years ago
Liam
c5a82ada2b
video_core: fix off by one in anisotropic filtering amount
3 years ago
Liam
e4f8dbb3d4
cmake: make OpenGL loader optional
Co-authored-by: liushuyu <liushuyu@users.noreply.github.com>
3 years ago
Liam
6f23b5f495
audio_core: remove explicitly defaulted and implicitly deleted constructors
3 years ago
Liam
8a5667aa70
memory: remove DEBUG_ASSERT pointer test
3 years ago
Salvage
a4369e6175
Remove the lock entirely as per PR discussion
Correctly unlock mutex before its destruction
As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case
Swap out unique for scoped lock and readd comment
3 years ago
Salvage
56a3ed4355
Fix compilation error
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
FengChen
b40cdac0a4
video_core: Add vertex_array_instance_* sbubbed called warning
3 years ago
FengChen
17596e69b9
video_core: The draw manager manages whether Clear is required.
3 years ago
FengChen
f09cf68f91
video_core: Adjust topology update logic
3 years ago
Feng Chen
ad05d9fe1e
video_core: Implement maxwell3d draw manager and split draw logic
3 years ago
Liam
08d81c9726
general: improve handling of system startup failure
3 years ago
Lioncash
1ad43e68da
configure_graphics: Make SPIRV backend string translatable
The parenthetical needs to be translatable, like with GLASM
3 years ago
Alexandre Bouvier
87fef2c12c
cmake: prefer system libusb
3 years ago
Liam
d50abc6a9c
vulkan_common: further initialization tweaks
3 years ago
Lioncash
6922ed4fad
reporter: Pass by const reference where applicable
Same behavior, but without memory churn.
3 years ago
Lioncash
97fd619312
reporter: Eliminate undefined behavior in SaveErrorReport
The optionals are unconditionally dereferenced when setting the custom
error text, and in a few cases this function is called using the default
value of the optionals.
This means we'd be dereferencing uninitialized storage.
Since they're used unconditionally, we can use value_or to set a default
when storage is uninitialized.
3 years ago
Alexandre Bouvier
75f9183846
cmake: use sdl2 imported target
3 years ago
Lioncash
a3e4ad2cf5
applets/controller: Use aliases for callbacks
3 years ago
Lioncash
038b746678
applets/error: Use aliases for callbacks
3 years ago
Lioncash
a346b1270a
applets/mii_edit: Use aliases for callbacks
3 years ago
Lioncash
259307a152
applets/profile_select: Use aliases for callbacks
Deduplicates callback definitions and situates it in one place.
3 years ago
Lioncash
5012cd2057
applets/web_browser: Use aliases for callbacks
Deduplicates a lot of long callback declarations
3 years ago
Lioncash
047c256fe4
applets/software_keyboard: Use aliases for callbacks
Deduplicates really long std::function declarations to make the
interface nicer to read.
3 years ago
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.
3 years ago
Lioncash
68d9621a8b
emulated_controller: Use std::move() in GetMappedDevices()
Avoids churning allocations in a loop.
3 years ago
Lioncash
1c9f02790c
emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
3 years ago
Lioncash
53eb9406f0
emulated_console: std::move() ParamPackages and callbacks where applicable
3 years ago
Lioncash
7ed6f9d6fd
kernel/k_shared_memory: Ensure device_memory is always initialized
3 years ago
Lioncash
0435142f58
kernel/k_memory_block: Ensure members are always initialized
3 years ago
Lioncash
4c5de31093
kernel/physical_core: Ensure is_interrupted is always initialized
3 years ago
Lioncash
6fea145402
kernel/thread: Ensure stack_top and argument are always initialized
3 years ago
Lioncash
8b8320be4a
kernel/kernel: Ensure shutdown threads are always initialized
3 years ago
Fernando Sahmkow
7a7235b961
Vulkan: Implement Alpha coverage
3 years ago
Narr the Reg
2679dc707e
input_common: Allow mifare files
3 years ago
Liam
4a65ee47d3
service_thread: fix uninitialized memory usage
3 years ago
Alexandre Bouvier
325a016cd2
cmake: prefer system libraries
3 years ago
Liam
e5ecad8824
yuzu-cmd: link SDL2 correctly
3 years ago
Liam
ee4e09128f
vulkan_common: add feature test for shaderDrawParameters
3 years ago