- Aug 27, 2020
-
-
Lioncash authored
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.
-
Morph authored
-
Lioncash authored
-
Lioncash authored
This doesn't modify member state, so it can be marked as const.
-
- Aug 26, 2020
-
-
Morph authored
-
Morph authored
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
-
Morph authored
-
Morph authored
This allows homebrew applications to be able to properly detect connected controllers.
-
Morph authored
-
Morph authored
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
-
Morph authored
-
Morph authored
Co-authored-by:
James Rowe <jroweboy@gmail.com> Co-authored-by:
Its-Rei <kupfel@gmail.com>
-
- Aug 24, 2020
-
-
Lioncash authored
Normalizes the syntax used for attributes
-
Lioncash authored
This doesn't modify internal member state, so it can be marked as const.
-
Lioncash authored
LabelGLObject takes a string_view, so we don't need to make copies of the std::string.
-
Lioncash authored
Avoids pulling in unnecessary things that can cause rebuilds when they aren't required.
-
ReinUsesLisp authored
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.
-
ReinUsesLisp authored
This allows us passing any type of string and hinting the length of the string to the OpenGL driver.
-
- Aug 23, 2020
-
-
Lioncash authored
Simplifies code.
-
Lioncash authored
Removes the need for comments to indicate the fields being assigned.
-
Lioncash authored
We can convert these maps into constexpr arrays to eliminate some runtime static constructors.
-
Lioncash authored
We can simplify a few loops by making use of ranged for.
-
Lioncash authored
-
Lioncash authored
Same behavior, minus unnecessary zeroing out of the pointer.
-
Lioncash authored
This constant is only ever assigned to downcount, which is a s64, not a u64.
-
- Aug 22, 2020
-
-
Lioncash authored
This is the only place it's actively used. It's also more appropriate for web-related structures to be within the web service target. Especially given this one doesn't rely on anything in the common library.
-
ReinUsesLisp authored
Add an extra step in GPU initialization to be able to initialize render backends with a valid GPU instance.
-
- Aug 21, 2020
-
-
ReinUsesLisp authored
State track the current primitive topology with a regular comparison instead of using dirty flags. This fixes a bug in dirty flags for this particular state and it also avoids unnecessary state changes as this property is stored in a frequently changed bit field.
-
- Aug 19, 2020
-
-
bunnei authored
-
- Aug 18, 2020
-
-
Lioncash authored
Migrates the Telemetry namespace into the Common namespace to make the code consistent with the rest of our common code.
-
Lioncash authored
-
Lioncash authored
Avoids some trivially avoidable map lookups by keeping the result of find operations around and querying them.
-
Lioncash authored
No external code makes use of this header, so we can freely change the namespace.
-
Lioncash authored
This is a compiler/linker error waiting to happen.
-
- Aug 16, 2020