summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2021-11-16Yuzu UI: Add button for Anti AliasFernando Sahmkow
2021-11-16Settings: Add anti-aliasing method settingMarshall Mohror
2021-11-16QtGUI: Add buttton to toggle the filter.FernandoS27
2021-11-16VideoCore: Add gaussian filtering.FernandoS27
2021-11-16VideoCore: Add more rescaling option.FernandoS27
2021-11-16Video Core: fix building for GCC.Fernando Sahmkow
2021-11-16Presentation: add Nearest Neighbor filter.Fernando Sahmkow
2021-11-16vulkan: Implement FidelityFX Super ResolutionMarshall Mohror
2021-11-16Texture Cahe: Fix downscaling on SMO.Fernando Sahmkow
2021-11-16video_core: Refactor resolution scale functionameerj
2021-11-16video_core: Misc resolution scaling related refactoringameerj
2021-11-16Renderer: Implement Bicubic and ScaleForce filters.Fernando Sahmkow
2021-11-16common/settings: Remove unused scaling optionsReinUsesLisp
2021-11-16Settings: eliminate rescaling_factor.Fernando Sahmkow
2021-11-16Settings: Add resolution scaling to settings.Fernando Sahmkow
2021-11-16VideoCore: Initial Setup for the Resolution Scaler.Fernando Sahmkow
2021-11-13Merge pull request #7272 from behunin/the-courteous-loggerbunnei
Logging: Impl refactor
2021-11-02common: Implement a subset of P0323 (std::expected)Morph
This implementation is based on and is a subset of the proposed implementation of std::expected https://github.com/TartanLlama/expected/blob/master/include/tl/expected.hpp
2021-11-01 Refactor Logging ImplLevi Behunin
Loop on stop_token and remove final_entry in Entry. Move Backend thread out of Impl Constructor to its own function. Add Start function for backend thread. Use stop token in PopWait and check if entry filename is nullptr before logging.
2021-10-20common/alignment: Fix VS2022 compilationameerj
VS2022 seems to introduce an optimization when moving vectors to check for equality of the element values. AlignmentAllocator needed to overload the equality operator to fix compilation of its usage in vector moving.
2021-10-17settings: Remove std::chrono usageameerj
Alleviates the dependency on chrono for all files that include settings.h
2021-10-14string_util: Make use of std::string_view and add bounds checkingMorph
Makes use of std::string_view in StringFromFixedZeroTerminatedBuffer and add bounds checking
2021-10-14string_util: Prevent out of bounds access in u16string_view bufferMorph
2021-10-11common/fs/path_util: Slightly refactor PathManagerImpl's constructorCreak
This moves all GenerateYuzuPath calls outside of the platofrm-specific #ifdefs, replacing them with assignments to paths.
2021-10-05Merge pull request #7115 from ameerj/log-compilebunnei
common/logging: Reduce dependent header include overhead
2021-10-01Merge pull request #7102 from Morph1984/remove-boxcatbunnei
Remove Boxcat BCAT backend
2021-10-01common/logging: Reduce scope of fmt includeameerj
2021-10-01common/logging: Move Log::Entry declaration to a separate headerameerj
This reduces the load of requiring to include std::chrono in all files which include log.h
2021-09-29Fixed invalid iterator usageAndrew Strelsky
2021-09-29settings: Remove BCAT settingsMorph
2021-09-24general: Update style to clang-format-12ameerj
2021-09-22common/uuid: Add validity checking functions to interfaceLioncash
Given we have a function to invalidate, we should also have ones to query the validity. Also makes the code more straightforward to read.
2021-09-18Merge pull request #7019 from ameerj/videocore-jthreadbunnei
videocore: Use std::jthread for worker threads
2021-09-18input_common/tas: Document the main classgerman77
2021-09-18input_common/tas: Add swap controllergerman77
2021-09-18input_common/tas: Fallback to simple updateMonsterDruide1
2021-09-18config: Move TAS options to it's own menugerman77
2021-09-18core: Hacky TAS syncing & load pausingMonsterDruide1
To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required. First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`. Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
2021-09-18settings: File selector & other settingsMonsterDruide1
First of all, TASing requires a script to play back. The user can select the parent directory at `System -> Filesystem`, next to an option to pause TAS during loads: This requires a "hacky" setup deeper in the code and will be added in the last commit. Also, Hotkeys are being introduced: CTRL+F5 for playback start/stop, CTRL+F6 for re-reading the script and CTRL+F7 for recording a new script.
2021-09-18input_common/tas: Base playback & recording systemMonsterDruide1
The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called. The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate. Co-authored-by: Naii-the-Baf <sfabian200@gmail.com> Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
2021-09-18Merge pull request #7020 from Moonlacer/remove_audio_stretchingbunnei
Remove audio stretching
2021-09-17Merge pull request #6950 from german77/multiplaybunnei
input_common: Add advanced setting for 8 player support
2021-09-15fix_accidental_deletionMoonlacer
2021-09-15remove-audio-stretching-settingMoonlacer
2021-09-15threadsafe_queue: Add std::stop_token overload to PopWaitameerj
Useful for jthreads which make use of the threadsafe queues.
2021-09-13common_funcs: Add enum flag bitwise shift operator overloadsMorph
This adds bitwise shift operator overloads (<<, >>, <<=, >>=) in the macro DECLARE_ENUM_FLAG_OPERATORS(type)
2021-09-11common_funcs: Replace <algorithm> with <iterator>Morph
2021-09-11common: Move error handling to error.cpp/hMorph
This allows us to avoid implicitly including <string> every time common_funcs.h is included.
2021-09-11Merge pull request #6846 from ameerj/nvdec-gpu-decodeFernando S
nvdec: Add GPU video decoding for all capable drivers and platforms
2021-09-10input_common: Enable steam controllers and 8 player supportgerman77