| Age | Commit message (Collapse) | Author |
|
|
|
The list of points is returned by const reference, so we don't need to
make a copy of every element in the list.
|
|
|
|
Consistency change with how we mark constants in the rest of the
codebase.
|
|
|
|
yuzu/main: Amend lifetime issues with InputSubsystem
|
|
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.
|
|
|
|
These maps can be constexpr arrays of std::pair.
|
|
Avoids redundant copies.
|
|
Avoids churning ParamPackage instances.
|
|
default arguments
We need to add the 'f' suffix to make the right hand side a float and
not a double.
|
|
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.
|
|
This doesn't modify internal member state, so it can be marked as const.
|
|
input_common/main: Remove unimplemented prototype
|
|
|
|
I forgot to remove this in the rebase when removing most of the global
variables within the input common codebase.
|
|
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.
|
|
input_common: Eliminate most global state
|
|
cpu_interrupt_handler: Make is_interrupted an atomic
|
|
|
|
|
|
|
|
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.
|
|
Project Mjölnir: Part 1 - Input Rewrite
|
|
common/assert: Make use of C++ attribute syntax
|
|
shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message
|
|
video_core/host_shaders: Add CMake integration for string shaders
|
|
|
|
vk_state_tracker: Fix primitive topology
|
|
|
|
This doesn't modify member state, so it can be marked as const.
|
|
|
|
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
|
|
|
|
This allows homebrew applications to be able to properly detect connected controllers.
|
|
|
|
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
|
|
|
|
Co-authored-by: James Rowe <jroweboy@gmail.com>
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
|
We just need to make our intentional implicit truncations explicit.
|
|
As reported by tsan, SelectThreads could write to
is_context_switch_pending holding a mutex while SwitchToCurrent reads it
without holding any.
It is assumed that the author didn't want an atomic here, so the code is
reordered so that whenever is_context_switch_pending is read inside
SwitchToContext, the mutex is locked.
|
|
As reported by tsan, host_thread_ids could be read while
any of the RegisterHostThread variants were called.
To fix this, lock the register mutex when yuzu is running in multicore
mode and GetCurrentHostThreadID is called.
|
|
As report by tsan, Event::Set can write is_set while WaitFor and friends
are reading from it. To address this issue, make is_set an atomic.
|
|
|
|
Fixes a race condition detected from tsan
|
|
memory_manager: Mark IsGranularRange() as a const member function
|
|
registered_cache: Make use of designated initializers
|
|
common/color: Migrate code over to the Common namespace
|
|
video_core: Initialize renderer with a GPU
|