Liam
b81caf1879
qt: handle wayland-egl platform name
3 years ago
bunnei
beba9c9b61
Revert "hle: service: audio: Use default service thread."
3 years ago
Liam
4fce72c902
vulkan_common: declare storageBuffer8BitAccess
3 years ago
Liam
77b0d01639
spirv_emit_context: declare GroupNonUniform capability for SubgroupLocalInvocationId
3 years ago
Alexander Orzechowski
09e3029c11
gl_device: Use a more robust way to use strict context mode
Instead of checking a environment variable which may not actually
exist or is just wrong, ask QT if it's running on the wayland
platform.
3 years ago
Alexander Orzechowski
2221afaf26
OpenGL: Check for threading support
We need this.
3 years ago
Alexander Orzechowski
45fcde817e
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
29fbce9fe6
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
5754456292
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
3cc3176ad6
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
d5f53da79d
renderer_opengl: refactor context acquire
3 years ago
yzct12345
f6868ae4dd
Fix validation errors on less compatible Intel GPU
3 years ago
Narr the Reg
0ed80c9818
yuzu: Make unlimited frame rate non persistent between game boots
3 years ago
Narr the Reg
3e1e6c66c0
input_common: Filter SDL GUID
3 years ago
Liam
ed37192441
memory: correct semantics of data cache management operations
3 years ago
Liam
456322dde6
video_core: fix off by one in anisotropic filtering amount
3 years ago
Liam
8d1d6e149f
cmake: make OpenGL loader optional
Co-authored-by: liushuyu <liushuyu@users.noreply.github.com>
3 years ago
Liam
e532b74e11
audio_core: remove explicitly defaulted and implicitly deleted constructors
3 years ago
Liam
985ed1e160
memory: remove DEBUG_ASSERT pointer test
3 years ago
Salvage
c586ac9be2
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
0e265db873
Fix compilation error
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
FengChen
37014e9127
video_core: Add vertex_array_instance_* sbubbed called warning
3 years ago
FengChen
1e64b5e2ec
video_core: The draw manager manages whether Clear is required.
3 years ago
FengChen
15d63c3d3d
video_core: Adjust topology update logic
3 years ago
Feng Chen
bf0b957c05
video_core: Implement maxwell3d draw manager and split draw logic
3 years ago
Liam
9704acb982
general: improve handling of system startup failure
3 years ago
Lioncash
dba84458be
configure_graphics: Make SPIRV backend string translatable
The parenthetical needs to be translatable, like with GLASM
3 years ago
Alexandre Bouvier
f385175aa2
cmake: prefer system libusb
3 years ago
Liam
7e7a23363a
vulkan_common: further initialization tweaks
3 years ago
Lioncash
eadc1ae1e7
reporter: Pass by const reference where applicable
Same behavior, but without memory churn.
3 years ago
Lioncash
e7f9f58fa4
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
e6ae720c33
cmake: use sdl2 imported target
3 years ago
Lioncash
fedd857054
applets/controller: Use aliases for callbacks
3 years ago
Lioncash
d8da9a2afd
applets/error: Use aliases for callbacks
3 years ago
Lioncash
2b40cdf04f
applets/mii_edit: Use aliases for callbacks
3 years ago
Lioncash
a84676c2aa
applets/profile_select: Use aliases for callbacks
Deduplicates callback definitions and situates it in one place.
3 years ago
Lioncash
e26c86a6e7
applets/web_browser: Use aliases for callbacks
Deduplicates a lot of long callback declarations
3 years ago
Lioncash
9bbb77637e
applets/software_keyboard: Use aliases for callbacks
Deduplicates really long std::function declarations to make the
interface nicer to read.
3 years ago
Lioncash
e4a16f50ef
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
87543b9dea
emulated_controller: Use std::move() in GetMappedDevices()
Avoids churning allocations in a loop.
3 years ago
Lioncash
7bf4b45349
emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
3 years ago
Lioncash
4255e30722
emulated_console: std::move() ParamPackages and callbacks where applicable
3 years ago
Lioncash
efa8711bf3
kernel/k_shared_memory: Ensure device_memory is always initialized
3 years ago
Lioncash
c3fd211b43
kernel/k_memory_block: Ensure members are always initialized
3 years ago
Lioncash
dcca650599
kernel/physical_core: Ensure is_interrupted is always initialized
3 years ago
Lioncash
dddc9bb8f1
kernel/thread: Ensure stack_top and argument are always initialized
3 years ago
Lioncash
4769d798f9
kernel/kernel: Ensure shutdown threads are always initialized
3 years ago
Fernando Sahmkow
6352c5dc31
Vulkan: Implement Alpha coverage
3 years ago
Narr the Reg
752236caad
input_common: Allow mifare files
3 years ago