Age | Commit message (Collapse) | Author |
|
Fix thread naming on Linux, which limits names to 15 bytes.
|
|
'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.
|
|
sdl_impl: Minor cleanup
|
|
bootmanager: Prevent unnecessary copies in TouchUpdateEvent()
|
|
The list of points is returned by const reference, so we don't need to
make a copy of every element in the list.
|
|
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>
|
|
|
|
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
|
|
cpu_manager: Make use of ranged for where applicable
|
|
Normalizes the syntax used for attributes
|
|
This doesn't modify internal member state, so it can be marked as const.
|
|
LabelGLObject takes a string_view, so we don't need to make copies of
the std::string.
|
|
Avoids pulling in unnecessary things that can cause rebuilds when they
aren't required.
|
|
key_manager: Make data arrays constexpr
|
|
Add the necessary CMake code to copy the contents in a string source
shader (GLSL or GLASM) to a header file then consumed by video_core
files.
This allows editting GLSL in its own files without having to maintain
them in source files.
For now, only OpenGL presentation shaders are moved, but we can add
GLASM presentation shaders and static SPIR-V generation through
glslangValidator in the future.
|