Age | Commit message (Collapse) | Author |
|
video_core/macro_interpreter: Make definitions of most private enums/unions hidden
|
|
service/apm/controller: Minor interface changes
|
|
core: Resolve -Wreorder warnings
|
|
hidden
This allows the implementation of these types to change without
requiring a rebuild of everything that includes the macro interpreter
header.
|
|
Amends the initializer lists to be ordered in the same manner that
they're declared within the class.
|
|
Amends the initializer lists to be ordered in the same manner that
they're declared within the class.
|
|
over a map
While a map is an OK way to do lookups (and usually recommended in most
cases), this is a map that lives for the entire duration of the program
and only deallocates its contents when the program terminates.
Given the total size of the map is quite small, we can simply use a
std::array of pairs and utilize std::find_if to perform the same
behavior without loss of performance.
This eliminates a static constructor and places the data into the
read-only segment.
While we're at it, we can also handle malformed inputs instead of
directly dereferencing the resulting iterator.
|
|
This doesn't modify instance state, so it can be made const qualified.
|
|
maxwell_3d: Silence truncation warnings
|
|
video_core/texture_cache: Amend Doxygen references
|
|
texture_cache: Avoid unnecessary surface copies within PickStrategy() and TryReconstructSurface()
|
|
General fixes to Async GPU
|
|
video_core/surface: Add missing break in PixelFormatFromTextureFormat()
|
|
Prevents fallthrough into the following case.
|
|
gl_shader_decompiler: Minor cleanup-related changes
|
|
TryReconstructSurface()
We can take these by const reference and avoid making unnecessary
copies, preventing some atomic reference count increments and
decrements.
|
|
This can be trivially fixed by making the input size a size_t.
CFGRebuildState's constructor parameter is already a std::size_t, so
this just makes the size type fully conform with it.
|
|
This is only ever used to read, but not write, the resulting string, so
we can enforce this by making it a const member function.
|
|
This allows the function to be completely non-allocating for inputs of
all sizes (i.e. there's no heap cost for an input to convert to a
std::string_view).
|
|
This is only ever used within this function, so we can narrow it's scope
down.
|
|
references where applicable
These member functions don't actually modify the input parameter, so we
can make this explicit with the use of const.
|
|
Avoids an unnecessary atomic reference count increment and decrement.
|
|
This only ever queries if the type exists within the variant, but
doesn't actually do anything with the return value. We can just use
std::holds_alternative for this use case.
|
|
Allows usages of the constructor to avoid an unnecessary copy.
|
|
MetaImage contains a std::vector, so copying here could result in
unnecessary reallocations. Given the operation lives throughout the
entire scope, this is safe to do.
|
|
A trivial warning caused by not using size_t as the argument types
instead of u32.
|
|
{bcat, gpu, nvflinger}: Remove trivial usages of the global system accessor
|
|
common: Rename binary_find.h to algorithm.h
|
|
We can just make use of the reference member variable instead of
accessing the global system instance.
|
|
Removes all uses of the global system accessor within the BCAT
interface.
|
|
Amends the doxygen comments so that they properly resolve. While we're
at it, we can correct some typos and fix up some of the comments'
formatting in order to make them slightly nicer to read.
|
|
Makes it explicit that the header is intended for iterator-based
algorithms that can ideally operate on any type.
|
|
Makes the header more general for other potential algorithms in the
future. While we're at it, include a missing <functional> include to
satisfy the use of std::less.
|
|
Core Timing: Rework Core Timing to run all cores evenly.
|
|
pl_u: Move open source font archives and fix NAND error
|
|
yuzu/configure_input_player: Fix input handling for ZL and ZR from controllers with analog triggers
|
|
file_sys: Add code to access raw gamecard partitions and lazily load them
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|