Lioncash
428c1071f8
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.
5 years ago
LC
62b70f5226
Merge pull request #4600 from lioncash/prototype
input_common/main: Remove unimplemented prototype
5 years ago
Lioncash
0322ffa4fd
input_common/main: Remove unnecessary headers
5 years ago
Rodrigo Locatti
9f1e4569d5
Merge pull request #4599 from ReinUsesLisp/amd-extended-state
vk_device: Blacklist AMD proprietary from VK_EXT_extended_dynamic_state
5 years ago
Lioncash
72d5a883a1
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.
5 years ago
ReinUsesLisp
a7ea965de5
vk_device: Blacklist AMD proprietary from VK_EXT_extended_dynamic_state
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.
5 years ago
bunnei
fc797d39df
Merge pull request #4544 from lioncash/input-sub
input_common: Eliminate most global state
5 years ago
bunnei
9fd13dd80a
Merge pull request #4586 from yuzu-emu/tsan-cpu-interrupt
cpu_interrupt_handler: Make is_interrupted an atomic
5 years ago
Lioncash
affbf8e188
input_common: Eliminate most global state
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.
5 years ago
bunnei
c76a188f47
Merge pull request #4530 from Morph1984/mjolnir-p1
Project Mjölnir: Part 1 - Input Rewrite
5 years ago
bunnei
a8ab0af067
Merge pull request #4577 from lioncash/asserts
common/assert: Make use of C++ attribute syntax
5 years ago
bunnei
ab46e0986e
Merge pull request #4524 from lioncash/memory-log
shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message
5 years ago
bunnei
a36b8c6405
Merge pull request #4569 from ReinUsesLisp/glsl-cmake
video_core/host_shaders: Add CMake integration for string shaders
5 years ago
Morph
4ca910101f
input_common/main: Add "/Mouse" to the display name
5 years ago
bunnei
8a4d19af75
Merge pull request #4555 from ReinUsesLisp/fix-primitive-topology
vk_state_tracker: Fix primitive topology
5 years ago
Rodrigo Locatti
9e5b4cd63e
Merge pull request #4593 from lioncash/const2
memory_manager: Make operator+ const qualified
5 years ago
Lioncash
ad83996932
memory_manager: Make use of [[nodiscard]] in the interface
5 years ago
Lioncash
4ccecf6fec
memory_manager: Make operator+ const qualified
This doesn't modify member state, so it can be marked as const.
5 years ago
Morph
0d6a2a37d2
configure_input_player: Fix modifier scale button mapping
5 years ago
Morph
bc37d84a84
configuration/input: Add support for mouse button clicks
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
5 years ago
Morph
9b0f5da0c6
controllers/npad: Fix inconsistencies with controller connection statuses
5 years ago
Morph
4d6a8f3e8f
controllers/npad: Fix LibNX controller connection statuses
This allows homebrew applications to be able to properly detect connected controllers.
5 years ago
Morph
9fc2eb2ee0
controllers/npad: Fix LedPattern for P1-4
5 years ago
Morph
5e4f03f663
input_common: Fix directional deadzone values
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
5 years ago
Morph
24ce544120
Address feedback
5 years ago
Morph
9e431a2a88
qt_themes: Fix Midnight Blue theme
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago
Morph
34a209d15c
Project Mjölnir: Part 1
Co-authored-by: James Rowe <jroweboy@gmail.com>
Co-authored-by: Its-Rei <kupfel@gmail.com>
6 years ago
ReinUsesLisp
ad0306e520
cpu_interrupt_handler: Misc style changes
5 years ago
ReinUsesLisp
7eb6cc742a
cpu_interrupt_handler: Make is_interrupted an atomic
Fixes a race condition detected from tsan
5 years ago
bunnei
531f3c9f94
Merge pull request #4582 from lioncash/xbyak
externals: Update Xbyak to 5.95
5 years ago
Lioncash
b4081937a5
externals: Update Xbyak to 5.95
5.95 contains a potentially backward-compatibility breaking change, so
we should be updating to this to ensure that our code remains
forward-compatible.
5 years ago
bunnei
ce74cce2ea
Merge pull request #4572 from lioncash/xbyak
externals: Update xbyak to v5.941
5 years ago
bunnei
6d9165c252
Merge pull request #4574 from lioncash/const-fn
memory_manager: Mark IsGranularRange() as a const member function
5 years ago
bunnei
73566a5cb2
Merge pull request #4565 from lioncash/memset
microprofile: Don't memset through std::atomic types
5 years ago
bunnei
e0b4361aaf
Merge pull request #4563 from lioncash/rcache
registered_cache: Make use of designated initializers
5 years ago
bunnei
043fe3c02f
Merge pull request #4548 from lioncash/color
common/color: Migrate code over to the Common namespace
5 years ago
bunnei
d196957ae2
Merge pull request #4542 from ReinUsesLisp/gpu-init-base
video_core: Initialize renderer with a GPU
5 years ago
bunnei
420c6d11be
Merge pull request #4562 from lioncash/loop
cpu_manager: Make use of ranged for where applicable
5 years ago
Lioncash
4861eb64aa
common/assert: Make use of C++ attribute syntax
Normalizes the syntax used for attributes
5 years ago
Rodrigo Locatti
6d5e0def0d
Merge pull request #4573 from lioncash/label
gl_texture_cache: Take std::string by reference in DecorateViewName()
5 years ago
Lioncash
9a974b8cb9
memory_manager: Mark IsGranularRange() as a const member function
This doesn't modify internal member state, so it can be marked as const.
5 years ago
Lioncash
18732e9822
gl_texture_cache: Take std::string by reference in DecorateViewName()
LabelGLObject takes a string_view, so we don't need to make copies of
the std::string.
5 years ago
Rodrigo Locatti
8e4e98eeb5
Merge pull request #4571 from lioncash/fence
video_core/fence_manager: Remove unnecessary includes
5 years ago
Lioncash
6ab6ce5be5
externals: Update xbyak to v5.941
Keeps the tracked submodule up to date with the latest release.
5 years ago
Lioncash
d62357c8ae
video_core/fence_manager: Remove unnecessary includes
Avoids pulling in unnecessary things that can cause rebuilds when they
aren't required.
5 years ago
Lioncash
72f6214e9b
microprofile: Don't memset through std::atomic types
Two of the members of the MicroProfileThreadLog contains two std::atomic
instances. Given these aren't trivially-copyable types, we shouldn't be
memsetting the structure, given implementation details can contain other
members within it.
To avoid potential undefined behavior on platforms, we can use aggregate
initialization to zero out the members while still having well-defined
behavior.
While we're at it we can also silence some sign conversion warnings.
5 years ago
bunnei
18cce1dc8a
Merge pull request #4561 from lioncash/key-constexpr
key_manager: Make data arrays constexpr
5 years ago
ReinUsesLisp
ecde168452
video_core/host_shaders: Add CMake integration for string shaders
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.
5 years ago
ReinUsesLisp
82f88a0203
gl_shader_util: Use std::string_view instead of star pointer
This allows us passing any type of string and hinting the length of the
string to the OpenGL driver.
5 years ago
bunnei
88cf35db7d
Merge pull request #4549 from lioncash/files
vfs_real: Avoid redundant map lookups
5 years ago