summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2020-06-18Common/Fiber: Address Feedback and Correct Memory leaks.Fernando Sahmkow
2020-06-18Common/Fiber: Implement Rewind on Boost Context.Fernando Sahmkow
2020-06-18Common/uint128: Correct MSVC Compilation in old versions.Fernando Sahmkow
2020-06-18Common/Fiber: Document fiber interexchange.Fernando Sahmkow
2020-06-18Common/Fiber: Implement Rewinding.Fernando Sahmkow
2020-06-18Common/Fiber: Additional corrections to f_context.Fernando Sahmkow
2020-06-18Common/Fiber: Correct f_context based Fibers.Fernando Sahmkow
2020-06-18Core/HostTiming: Allow events to be advanced manually.Fernando Sahmkow
2020-06-18Common/Tests: Address FeedbackFernando Sahmkow
2020-06-18Common: Make MinGW build use Windows Fibers instead of fcontext_tFernando Sahmkow
2020-06-18Common/Tests: Clang Format.Fernando Sahmkow
2020-06-18Common: Correct fcontext fibers.Fernando Sahmkow
2020-06-18Common: Refactor & Document Wall clock.Fernando Sahmkow
2020-06-18Common: Implement WallClock Interface and implement a native clock for x64Fernando Sahmkow
2020-06-18Tests: Add base tests to host timingFernando Sahmkow
2020-06-18Common: Polish Fiber class, add comments, asserts and more tests.Fernando Sahmkow
2020-06-18Tests: Add tests for fibers and refactor/fix Fiber classFernando Sahmkow
2020-06-18Common: Implement a basic Fiber class.Fernando Sahmkow
2020-06-18Common: Implement a basic SpinLock classFernando Sahmkow
2020-06-17Merge pull request #4086 from MerryMage/abibunnei
xbyak_abi: Cleanup
2020-06-15xbyak_abi: Prefer returning a struct to using out parameters in ↵MerryMage
ABI_CalculateFrameSize
2020-06-15xbyak_abi: Register indexes should be unsignedMerryMage
2020-06-15xbyak_abi: Remove *GPS variants of stack manipulation functionsMerryMage
2020-06-15xbyak_abi: Fix ABI_PushRegistersAndAdjustStackMerryMage
Pushing GPRs twice.
2020-06-11gl_arb_decompiler: Implement an assembly shader decompilerReinUsesLisp
Emit code compatible with NV_gpu_program5. This should emit code compatible with Fermi, but it wasn't tested on that architecture. Pascal has some issues not present on Turing GPUs.
2020-05-30Add xbyak externalDavid Marcec
2020-05-27Fix macOS code and change "Swapfile" to "Swap"Morph
2020-05-17main: Log host system memory parametersMorph
Logs both physical memory and swapfile sizes, this is useful for support.
2020-05-12time_zone: Use std::chrono::seconds for strong typing.bunnei
2020-05-11common: Add module to get the current time zone.bunnei
2020-05-08Replace externals with Conan (#3735)James Rowe
* Remove git submodules that will be loaded through conan * Move custom Find modules to their own folder * Use conan for downloading missing external dependencies * CI: Change the yuzu source folder user to the user that the containers run on * Attempt to remove dirty mingw build hack * Install conan on the msvc build * Only set release build type when using not using multi config generator * Re-add qt bundled to workaround an issue with conan qt not downloading prebuilt binaries * Add workaround for submodules that use legacy CMAKE variables * Re-add USE_BUNDLED_QT on the msvc build bot
2020-04-29acc: Return a unique value per account for GetAccountIdDavid Marcec
2020-04-24Fix -Werror=conversion error.Markus Wick
2020-04-17Merge pull request #3630 from benru/open-windows-network-filesbunnei
common/file_util: Allow access to files on network shares
2020-04-17Merge pull request #3672 from lioncash/nullFernando Sahmkow
file_util: Early-exit in WriteArray and ReadArray if specified lengths are zero
2020-04-17common: page_table: Update to use VirtualBuffer and simplify.bunnei
2020-04-17common: Add VirtualBuffer class, to abstract memory virtualization.bunnei
2020-04-17common: scope_exit: Implement mechanism for canceling a scope exit.bunnei
2020-04-17common: alignment: Add a helper function for generic alignment checking.bunnei
2020-04-17common: common_funcs: Add a macro for defining enum flag operators.bunnei
2020-04-15file_util: Early-exit in WriteArray and ReadArray if specified lengths are zeroLioncash
It's undefined behavior to pass a null pointer to std::fread and std::fwrite, even if the length passed in is zero, so we must perform the precondition checking ourselves. A common case where this can occur is when passing in the data of an empty std::vector and size, as an empty vector will typically have a null internal buffer. While we're at it, we can move the implementation out of line and add debug checks against passing in nullptr to std::fread and std::fwrite.
2020-04-10Merge pull request #3594 from ReinUsesLisp/vk-instancebunnei
yuzu: Drop SDL2 and Qt frontend Vulkan requirements
2020-04-09common/file_util: Allow access to files on network sharesBen Russell
On Windows, network shares use paths like \\server\share\file which were being broken by FileUtil::SanitizePath() removing double slashes. Changed the code in SanitizePath to permit a double-backslash if it occurs at the start of a filepath (on Windows only).
2020-04-07common/dynamic_library: Import and adapt helper from DolphinReinUsesLisp
2020-04-01common: Port some changes from dolphin (#5127)Vitor K
* IOFile: Make the move constructor and move assignment operator noexcept Certain parts of the standard library try to determine whether or not a transfer operation should either be a copy or a move. The prevalent notion of move constructors/assignment operators is that they should not throw, they simply move an already existing resource somewhere else. This is typically done with 'std::move_if_noexcept'. Like the name says, if a type's move constructor is noexcept, then the functions retrieves an r-value reference (for move semantics), or an l-value (for copy semantics) if it is not noexcept. As IOFile deletes the copy constructor and copy assignment operators, using IOFile with certain parts of the standard library can fail in unexcepted ways (especially when used with various container implementations). This prevents that. * fix various instances of -1 being assigned to unsigned types * do not assign in conditional statements * File/IOFile: Check _tfopen_s properly * common/file_util.cpp: address review comments Co-authored-by: Lioncash <mathew1800@gmail.com> Co-authored-by: Shawn Hoffman <godisgovernment@gmail.com> Co-authored-by: Sepalani <sepalani@hotmail.fr>
2020-03-14Merge pull request #3508 from FernandoS27/page-tablebunnei
PageTable: move backing addresses to a children class as the CPU page table does not need them.
2020-03-14PageTable: move backing addresses to a children class as the CPU page table ↵Fernando Sahmkow
does not need them. This PR aims to reduce the memory usage in the CPU page table by moving GPU specific parameters into a child class. This saves 1Gb of Memory for most games.
2020-03-13shader/transform_feedback: Add host API friendly TFB builderReinUsesLisp
2020-03-09video_core: Rename "const buffer locker" to "registry"ReinUsesLisp
2020-03-09gl_shader_cache: Rework shader cache and remove post-specializationsReinUsesLisp
Instead of pre-specializing shaders and then post-specializing them, drop the later and only "specialize" the shader while decoding it.