summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-18Address format clangvonchenplus
2021-12-18Remove spirv handle legacy related codevonchenplus
2021-12-18Remove glsl handle legacy related codevonchenplus
2021-12-18Merge branch 'yuzu-emu:master' into convert_legacyFeng Chen
2021-12-17Merge pull request #7570 from ameerj/favorites-expandedbunnei
game_list: Add persistent setting for the favorites row expanded state
2021-12-15Merge pull request #7532 from goldenx86/patch-3bunnei
Update video core popup
2021-12-16Suggestions from CrusadingNinjaMatías Locatti
2021-12-16Changed linkMatías Locatti
2021-12-15Merge pull request #7551 from vonchenplus/fix_blit_image_view_mismatchingbunnei
Fix blit image/view not compatible
2021-12-15Merge pull request #7588 from Wunkolo/gibibibi-bytesbunnei
yuzu/main: Fix host memory byte units. GB to GiB
2021-12-15Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"bunnei
2021-12-14yuzu/main: Fix host memory byte units. GB to GiBWunkolo
I have `134850146304` bytes of ram and Yuzu was saying that I had `125.59 GB` of ram. But `125.59` is actually the amount of gi**bi**bytes I have. In gi**ga**bytes I would have `134.9`. Additionally, I changed the `1024 / 1024 / 1024` here into the `_GiB` user-literals that I added a while ago(#6519). https://www.wolframalpha.com/input/?i=134850146304+bytes
2021-12-14Merge pull request #7565 from liushuyu/fix-linux-decodingbunnei
video_core/codecs: refactor ffmpeg searching and handling in cmake
2021-12-14Merge pull request #7558 from Morph1984/unused-cpu-family-modelMai M
common/cpu_detect: Remove CPU family and model
2021-12-14Merge pull request #7549 from Morph1984/astc-8x5Mai M
maxwell_to_vk: Add ASTC_2D_8X5_UNORM
2021-12-14Merge pull request #7579 from Morph1984/swkbd-oob-array-accessMai M
qt_software_keyboard: Fix out of bounds array access
2021-12-14core/hid: Fix faulty analog triggersNarr the Reg
2021-12-14Merge pull request #7581 from lioncash/input-ifaceNarr the Reg
common/input: Avoid numerous large copies of CallbackStatus
2021-12-14Merge pull request #7577 from v1993/patch-2Narr the Reg
input/SDL: Update SDL hints
2021-12-14input/SDL: Update SDL hintsValeri
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED is no longer needed thanks to new default in SDL 2.0.18. SDL_HINT_JOYSTICK_HIDAPI_XBOX is reported to cause conflicts with native driver Xbox driver on Linux, and Xbox controllers don't benefit from hidapi anyways.
2021-12-13CI: fix CI on Linuxliushuyu
2021-12-13video_core/codecs: skip decoders that use hw frames ...liushuyu
... this would resolve some edge-cases where multiple devices are present and ffmpeg is unable to auto-supply the hw surfaces
2021-12-13common/input: Avoid numerous large copies of CallbackStatusLioncash
CallbackStatus instances aren't the cheapest things to copy around (relative to everything else), given that they're currently 520 bytes in size and are currently copied numerous times when callbacks are invoked. Instead, we can pass the status by const reference to avoid all the copying.
2021-12-13common/cpu_detect: Remove CPU family and modelMorph
We currently do not make use of these fields, remove them for now.
2021-12-13common/input: Remove unnecessary returnsLioncash
Given these return void, these can be omitted.
2021-12-13input_poller: Add missing override specifiersLioncash
2021-12-13input_mapping: Amend specification of parametersLioncash
param tags are supposed to specify the parameter name without any quoting. Silences several -Wdocumentation warnings.
2021-12-13input_poller: Remove several unnecessary @param tagsLioncash
Silences quite a bit of -Wdocumentation warnings, given the @param tag is only intended to be used to identify function parameters, not what it contains.
2021-12-13Merge pull request #7575 from lioncash/inputbunnei
input_engine: Minor object churn cleanup
2021-12-13qt_software_keyboard: Fix out of bounds array accessMorph
We were unconditionally accessing the keyboard_buttons array, even if the bottom_osk_index was for the numberpad, leading to an out of bounds array access. Fix this by accessing the proper array for the current button when the index is for the numberpad.
2021-12-13tas_input: Avoid minor copies in Read/WriteCommandButtons()Lioncash
We don't need to copy the whole pair
2021-12-13tas_input: Remove unnecessary semicolonLioncash
Resolves a -Wextra-semi warning
2021-12-13tas_input: Execute clear() even if emptyLioncash
clear() when empty is simply a no-op, so we can get rid of the check here and let the stdlib do it for us.
2021-12-13tas_input: Remove unnecessary includesLioncash
Gets rid of indirect includes and includes only what the interface needs.
2021-12-13tas_input: std::move strings into vectorLioncash
While we're in the same area, we can also avoid performing std::stoi in a loop when it only needs to be performed once.
2021-12-13tas_input: Use istringstream over stringstreamLioncash
This is only using the input facilities, so we don't need to use the fully-fleged stringstream.
2021-12-13tas_input: Use u8string_view instead of u8stringLioncash
Same behavior, but without the potential for extra allocations.
2021-12-13tas_input: Remove unused std::smatch variableLioncash
This also means we can get rid of the dependency on <regex>
2021-12-13tas_input: Amend -Wdocumentation warningsLioncash
Parameters shouldn't have the colon by their name.
2021-12-13tas_input: Make TasAxes enum an enum classLioncash
Prevents these values from potentially clashing with anything in other headers.
2021-12-13input_engine: Fix typo in TriggerOnAxisChange() parameter nameLioncash
2021-12-13input_engine: Simplify PreSet* family of functionsLioncash
We can make use of try_emplace() to insert values only if they don't already exist.
2021-12-13input_engine: Avoid redundant map lookupsLioncash
We can use iterators to avoid looking up into maps twice in the getter functions. At the same time we can also avoid copying the ControllerData structs, since they're 264 bytes in size.
2021-12-13input_engine: Remove left-over namespace qualifiersLioncash
These types are part of the InputCommon namespace.
2021-12-13input_engine: Iterate by reference rather than by value where applicableLioncash
Avoids creating copies of several object instances (some of which being over 100 bytes in size).
2021-12-13input_engine: Take BasicMotion by const reference with SetMotion() and ↵Lioncash
TriggerOnMotionChange() Copies the BasicMotion instance once instead of twice.
2021-12-13input_engine: std::move InputIdentifier in SetCallback()Lioncash
Allows avoiding std::function allocations.
2021-12-13input_engine: Pass LedStatus by const referenceLioncash
Avoids copies where reasonably applicable
2021-12-13input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash
Avoids creating copies of the struct where not necessary.
2021-12-13input_engine: std::move engine name where applicableLioncash
We can allow the name to be moved into, allowing allocations to be avoided.