summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-31Merge pull request #4587 from yuzu-emu/tsan-microprofilerbunnei
externals/microprofile: Fix data race in g_bUseLock
2020-08-31Merge pull request #4461 from comex/thread-namesLC
Fix thread naming on Linux, which limits names to 15 bytes.
2020-08-30Merge pull request #4614 from ReinUsesLisp/fix-extended-state-againLC
vk_device: Fix driver id check on AMD for VK_EXT_extended_dynamic_state
2020-08-30vk_device: Fix driver id check on AMD for VK_EXT_extended_dynamic_stateReinUsesLisp
'driver_id' can only be known on Vulkan 1.1 after creating a logical device. Move the driver id check to disable VK_EXT_extended_dynamic_state after the logical device is successfully initialized. The Vulkan device will have the extension enabled but it will not be used.
2020-08-29Merge pull request #4601 from lioncash/const3bunnei
sdl_impl: Minor cleanup
2020-08-29Merge pull request #4605 from lioncash/copy3bunnei
bootmanager: Prevent unnecessary copies in TouchUpdateEvent()
2020-08-29bootmanager: Prevent unnecessary copies in TouchUpdateEvent()Lioncash
The list of points is returned by const reference, so we don't need to make a copy of every element in the list.
2020-08-29Merge pull request #4604 from lioncash/lifetimeLC
yuzu/main: Amend lifetime issues with InputSubsystem
2020-08-29Merge pull request #4603 from Morph1984/fix-modifierLC
yuzu/configuration: Fix index out of bounds for default_analogs
2020-08-29yuzu/main: Amend lifetime issues with InputSubsystemLioncash
Due to the way Qt performs destruction of parent/child widgets, we need to make the lifetime of the input subsystem shared across the main window and the render window.
2020-08-29yuzu/configuration: Fix index out of bounds for default_analogsMorph
2020-08-28sdl_impl: Reduce allocations in GetButtonMappingForDevice()Lioncash
These maps can be constexpr arrays of std::pair.
2020-08-28sdl_impl: Make use of std::move on std::string where applicableLioncash
Avoids redundant copies.
2020-08-28sdl_impl: Make use of insert_or_assign() where applicableLioncash
Avoids churning ParamPackage instances.
2020-08-28sdl_impl: Prevent type truncation in BuildAnalogParamPackageForButton() ↵Lioncash
default arguments We need to add the 'f' suffix to make the right hand side a float and not a double.
2020-08-28sdl_impl: Simplify make_tuple callLioncash
The purpose of make_tuple is that you don't need to explicitly type out the types of the things that comprise said tuple. Given this just returns default values, we can simplify this a bit.
2020-08-28sdl_impl: Mark FromEvent() as a const member functionLioncash
This doesn't modify internal member state, so it can be marked as const.
2020-08-28Merge pull request #4600 from lioncash/prototypeLC
input_common/main: Remove unimplemented prototype
2020-08-28input_common/main: Remove unnecessary headersLioncash
2020-08-28Merge pull request #4599 from ReinUsesLisp/amd-extended-stateRodrigo Locatti
vk_device: Blacklist AMD proprietary from VK_EXT_extended_dynamic_state
2020-08-28input_common/main: Remove unimplemented prototypeLioncash
I forgot to remove this in the rebase when removing most of the global variables within the input common codebase.
2020-08-28vk_device: Blacklist AMD proprietary from VK_EXT_extended_dynamic_stateReinUsesLisp
Vertex binding's <stride> is bugged on AMD's proprietary drivers when using VK_EXT_extended_dynamic_state. Blacklist it for now while we investigate how to report this issue to AMD.
2020-08-28Merge pull request #4544 from lioncash/input-subbunnei
input_common: Eliminate most global state
2020-08-28Merge pull request #4586 from yuzu-emu/tsan-cpu-interruptbunnei
cpu_interrupt_handler: Make is_interrupted an atomic
2020-08-27input_common: Eliminate most global stateLioncash
Abstracts most of the input mechanisms under an InputSubsystem class that is managed by the frontends, eliminating any static constructors and destructors. This gets rid of global accessor functions and also allows the frontends to have a more fine-grained control over the lifecycle of the input subsystem. This also makes it explicit which interfaces rely on the input subsystem instead of making it opaque in the interface functions. All that remains to migrate over is the factories, which can be done in a separate change.
2020-08-27Merge pull request #4530 from Morph1984/mjolnir-p1bunnei
Project Mjölnir: Part 1 - Input Rewrite
2020-08-27Merge pull request #4577 from lioncash/assertsbunnei
common/assert: Make use of C++ attribute syntax
2020-08-27Merge pull request #4524 from lioncash/memory-logbunnei
shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message
2020-08-26Merge pull request #4569 from ReinUsesLisp/glsl-cmakebunnei
video_core/host_shaders: Add CMake integration for string shaders
2020-08-26input_common/main: Add "/Mouse" to the display nameMorph
2020-08-26Merge pull request #4555 from ReinUsesLisp/fix-primitive-topologybunnei
vk_state_tracker: Fix primitive topology
2020-08-27Merge pull request #4593 from lioncash/const2Rodrigo Locatti
memory_manager: Make operator+ const qualified
2020-08-26memory_manager: Make use of [[nodiscard]] in the interfaceLioncash
2020-08-26memory_manager: Make operator+ const qualifiedLioncash
This doesn't modify member state, so it can be marked as const.
2020-08-26configure_input_player: Fix modifier scale button mappingMorph
2020-08-26configuration/input: Add support for mouse button clicksMorph
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
2020-08-26controllers/npad: Fix inconsistencies with controller connection statusesMorph
2020-08-26controllers/npad: Fix LibNX controller connection statusesMorph
This allows homebrew applications to be able to properly detect connected controllers.
2020-08-26controllers/npad: Fix LedPattern for P1-4Morph
2020-08-26input_common: Fix directional deadzone valuesMorph
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
2020-08-26Address feedbackMorph
2020-08-26qt_themes: Fix Midnight Blue themeMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-26Project Mjölnir: Part 1Morph
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-26externals/microprofile: Fix data race in g_bUseLockReinUsesLisp
As reported by tsan, g_bUseLock had a data race. Fix this using an atomic boolean.
2020-08-26cpu_interrupt_handler: Misc style changesReinUsesLisp
2020-08-26cpu_interrupt_handler: Make is_interrupted an atomicReinUsesLisp
Fixes a race condition detected from tsan
2020-08-25Merge pull request #4582 from lioncash/xbyakbunnei
externals: Update Xbyak to 5.95
2020-08-25externals: Update Xbyak to 5.95Lioncash
5.95 contains a potentially backward-compatibility breaking change, so we should be updating to this to ensure that our code remains forward-compatible.
2020-08-25Merge pull request #4572 from lioncash/xbyakbunnei
externals: Update xbyak to v5.941
2020-08-25Merge pull request #4574 from lioncash/const-fnbunnei
memory_manager: Mark IsGranularRange() as a const member function