summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-17Merge pull request #2979 from lioncash/macroRodrigo Locatti
video_core/macro_interpreter: Make definitions of most private enums/unions hidden
2019-10-17Merge pull request #2989 from lioncash/apmRodrigo Locatti
service/apm/controller: Minor interface changes
2019-10-17Merge pull request #2990 from lioncash/warnRodrigo Locatti
core: Resolve -Wreorder warnings
2019-10-17video_core/macro_interpreter: Make definitions of most private enums/unions ↵Lioncash
hidden This allows the implementation of these types to change without requiring a rebuild of everything that includes the macro interpreter header.
2019-10-17core/core: Resolve -Wreorder warningsLioncash
Amends the initializer lists to be ordered in the same manner that they're declared within the class.
2019-10-17core/memory/cheat_engine: Resolve -Wreorder warningsLioncash
Amends the initializer lists to be ordered in the same manner that they're declared within the class.
2019-10-17apm/controller: Make SetPerformanceConfiguration() use an array of pairs ↵Lioncash
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.
2019-10-17apm/controller: Make GetCurrentPerformanceMode() a const member functionLioncash
This doesn't modify instance state, so it can be made const qualified.
2019-10-17Merge pull request #2980 from lioncash/warnbunnei
maxwell_3d: Silence truncation warnings
2019-10-16Merge pull request #2978 from lioncash/doxygenRodrigo Locatti
video_core/texture_cache: Amend Doxygen references
2019-10-16Merge pull request #2982 from lioncash/surfaceRodrigo Locatti
texture_cache: Avoid unnecessary surface copies within PickStrategy() and TryReconstructSurface()
2019-10-16Merge pull request #2912 from FernandoS27/async-fixesbunnei
General fixes to Async GPU
2019-10-15Merge pull request #2984 from lioncash/fallthrough2Rodrigo Locatti
video_core/surface: Add missing break in PixelFormatFromTextureFormat()
2019-10-15video_core/surface: Add missing break in PixelFormatFromTextureFormat()Lioncash
Prevents fallthrough into the following case.
2019-10-15Merge pull request #2981 from lioncash/copyRodrigo Locatti
gl_shader_decompiler: Minor cleanup-related changes
2019-10-15texture_cache: Avoid unnecessary surface copies within PickStrategy() and ↵Lioncash
TryReconstructSurface() We can take these by const reference and avoid making unnecessary copies, preventing some atomic reference count increments and decrements.
2019-10-15control_flow: Silence truncation warningsLioncash
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.
2019-10-15gl_shader_decompiler: Make ExprDecompiler's GetResult() a const member functionLioncash
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.
2019-10-15gl_shader_decompiler: Use a std::string_view with GetDeclarationWithSuffix()Lioncash
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).
2019-10-15gl_shader_decompiler: Fold flow_var constant into GetFlowVariable()Lioncash
This is only ever used within this function, so we can narrow it's scope down.
2019-10-15gl_shader_decompiler: Mark ASTDecompiler/ExprDecompiler parameters as const ↵Lioncash
references where applicable These member functions don't actually modify the input parameter, so we can make this explicit with the use of const.
2019-10-15gl_shader_decompiler: Pass by reference to GenerateTextureArgument()Lioncash
Avoids an unnecessary atomic reference count increment and decrement.
2019-10-15gl_shader_decompiler: Use std::holds_alternative within GenerateTexture()Lioncash
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.
2019-10-15shader/node: std::move Meta instance within OperationNode constructorLioncash
Allows usages of the constructor to avoid an unnecessary copy.
2019-10-15gl_shader_decompiler: Avoid unnecessary copies of MetaImageLioncash
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.
2019-10-15maxwell_3d: Silence truncation warningsLioncash
A trivial warning caused by not using size_t as the argument types instead of u32.
2019-10-15Merge pull request #2972 from lioncash/systembunnei
{bcat, gpu, nvflinger}: Remove trivial usages of the global system accessor
2019-10-15Merge pull request #2977 from lioncash/algorithmbunnei
common: Rename binary_find.h to algorithm.h
2019-10-15video_core/gpu: Remove use of the global system accessorLioncash
We can just make use of the reference member variable instead of accessing the global system instance.
2019-10-15bcat: Remove use of global system accessorsLioncash
Removes all uses of the global system accessor within the BCAT interface.
2019-10-15video_core/texture_cache: Amend Doxygen referencesLioncash
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.
2019-10-15common/algorithm: Add description comment indicating intended algorithmsLioncash
Makes it explicit that the header is intended for iterator-based algorithms that can ideally operate on any type.
2019-10-15common: Rename binary_find.h to algorithm.hLioncash
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.
2019-10-15Merge pull request #2965 from FernandoS27/fair-core-timingbunnei
Core Timing: Rework Core Timing to run all cores evenly.
2019-10-14Merge pull request #2897 from DarkLordZach/oss-ext-fonts-1bunnei
pl_u: Move open source font archives and fix NAND error
2019-10-14Merge pull request #2968 from FreddyFunk/fix-zl-zr-analog-triggersbunnei
yuzu/configure_input_player: Fix input handling for ZL and ZR from controllers with analog triggers
2019-10-14Merge pull request #2930 from DarkLordZach/gamecard-partitionsbunnei
file_sys: Add code to access raw gamecard partitions and lazily load them
2019-10-13card_image: Implement system update commands in XCIZach Hilman
2019-10-13pl_u: Fix mismatched rebase size error in font encryptionZach Hilman
2019-10-13pl_u: Use kernel physical memoryZach Hilman
2019-10-13pl_u: Remove excess static qualifierZach Hilman
2019-10-13pl_u: Use OSS system archives if real archives don't existZach Hilman
2019-10-13system_archive: Synthesize shared fonts system archivesZach Hilman
2019-10-13externals: Move OSS font data to file_sys in coreZach Hilman
2019-10-12nvflinger/buffer_queue: Remove use of a global system accessorLioncash
2019-10-12Core_Timing: Address Remaining feedback.Fernando Sahmkow
2019-10-12Core_Timing: Fix tests.Fernando Sahmkow
2019-10-11Core_Timing: Address Feedback and suppress warnings.Fernando Sahmkow
2019-10-11AsyncGpu: Address FeedbackFernando Sahmkow
2019-10-10fixed clang format & addressed feedbackFreddyFunk