Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-07-23 | shader_recompiler,video_core: Cleanup some GCC and Clang errors | lat9nq | 1 | -0/+2 | |
Mostly fixing unused *, implicit conversion, braced scalar init, fpermissive, and some others. Some Clang errors likely remain in video_core, and std::ranges is still a pertinent issue in shader_recompiler shader_recompiler: cmake: Force bracket depth to 1024 on Clang Increases the maximum fold expression depth thread_worker: Include condition_variable Don't use list initializers in control flow Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc> | |||||
2021-07-09 | common: Add unique function | ReinUsesLisp | 1 | -0/+108 | |
2021-06-24 | common: Replace common_sizes into user-literals | Wunkolo | 1 | -1/+3 | |
Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc user-literals within literals.h. To keep the global namespace clean, users will have to use: ``` using namespace Common::Literals; ``` to access these literals. | |||||
2021-06-11 | tests: Add tests for host memory | ReinUsesLisp | 1 | -0/+183 | |
2021-03-07 | common: Fiber: use a reference for YieldTo. | bunnei | 1 | -14/+14 | |
- Fixes another small leak. | |||||
2021-03-06 | Revert "core: Switch to unique_ptr for usage of Common::Fiber." | bunnei | 1 | -18/+21 | |
2021-02-27 | core: Switch to unique_ptr for usage of Common::Fiber. | bunnei | 1 | -21/+18 | |
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context. - Fixes a memory leak due to circular reference of the shared pointer. | |||||
2021-02-18 | common/cityhash: Use common types | ReinUsesLisp | 1 | -2/+2 | |
Allow sharing return types with the rest of the code base. For example, we use 'u128 = std::array<u64, 2>', meanwhile Google's code uses 'uint128 = std::pair<u64, u64>'. While we are at it, use size_t instead of std::size_t. | |||||
2021-02-18 | tests: Add tests for CityHash | ReinUsesLisp | 1 | -0/+22 | |
2021-02-06 | ring_buffer: Remove granularity template argument | MerryMage | 1 | -5/+5 | |
Non-obvious bug in RingBuffer::Push(std::vector<T>&) when granularity != 1 Just remove it altogether because we do not have a use for granularity != 1 | |||||
2021-01-15 | common/bit_util: Replace CLZ/CTZ operations with standardized ones | Lioncash | 1 | -23/+0 | |
Makes for less code that we need to maintain. | |||||
2021-01-09 | tests/ring_buffer: Silence signed/unsigned mismatch warnings | ReinUsesLisp | 1 | -15/+15 | |
2021-01-02 | general: Fix various spelling errors | Morph | 1 | -2/+2 | |
2020-12-06 | hle: kernel: Separate KScheduler from GlobalSchedulerContext class. | bunnei | 1 | -55/+0 | |
2020-11-27 | tests: Fix warning about comparison between signed and unsigned | comex | 1 | -2/+2 | |
2020-10-28 | tests: Fix data race in fibers test | ReinUsesLisp | 1 | -31/+40 | |
Previous to this commit, the tests were using operator[] from unordered_map to query elements but this silently inserts empty elements when they don't exist. If all threads were executed without concurrency, this wouldn't be an issue, but the same unordered_map could be written from two threads at the same time. This is a data race and makes some previously inserted elements invisible for a short period of time, causing them to insert and return an empty element. This default constructed element (a zero) was used to index an array of fibers that asserted when one of them was nullptr, shutting the test session off. To address this issue, lock on thread id reads and writes. This could be a shared mutex to allow concurrent reads, but the definition of std::this_thread::get_id is fuzzy when using non-standard techniques like fibers. I opted to use a standard mutex. While we are at it, fix the included headers. | |||||
2020-06-28 | Core/Common: Address Feedback. | Fernando Sahmkow | 1 | -1/+1 | |
2020-06-18 | Common/Fiber: Implement Rewinding. | Fernando Sahmkow | 1 | -0/+46 | |
2020-06-18 | Common/Tests: Address Feedback | Fernando Sahmkow | 1 | -10/+10 | |
2020-06-18 | Common/Tests: Clang Format. | Fernando Sahmkow | 1 | -9/+14 | |
2020-06-18 | Common: Polish Fiber class, add comments, asserts and more tests. | Fernando Sahmkow | 1 | -1/+94 | |
2020-06-18 | Tests: Add tests for fibers and refactor/fix Fiber class | Fernando Sahmkow | 1 | -0/+214 | |
2019-03-27 | Fixes and corrections on formatting. | Fernando Sahmkow | 2 | -30/+11 | |
2019-03-27 | Add MultiLevelQueue Tests | Fernando Sahmkow | 1 | -0/+55 | |
2019-03-27 | Implement intrinsics CountTrailingZeroes and test it. | Fernando Sahmkow | 1 | -0/+42 | |
2019-02-06 | common/bitfield: make it endianness-aware | Weiyi Wang | 1 | -0/+90 | |
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -10/+10 | |
2018-09-08 | common: Implement a ring buffer | MerryMage | 1 | -0/+130 | |
2018-08-08 | externals: Update catch to 2.3.0 | Lioncash | 1 | -1/+1 | |
Updates the library from 2.2.3 to 2.3.0 | |||||
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 1 | -1/+3 | |
2017-03-01 | Common: add ParamPackage | wwylele | 1 | -0/+25 | |