- 28 Oct, 2020 1 commit
-
-
ReinUsesLisp authored
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.
-
- 27 Oct, 2020 8 commits
-
-
bunnei authored
yuzu: settings: Enable multicore, asynch GPU, and assembly shaders by default.
-
bunnei authored
- In general, this is now the preferred settings for most games. # Conflicts: # src/yuzu/configuration/config.cpp
-
bunnei authored
video_core: NVDEC Implementation
-
bunnei authored
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
-
bunnei authored
hle: services: TimeZoneContentManager: This can be made explicit.
-
ameerj authored
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library. The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data. To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library. Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header. Async GPU is not properly implemented at the moment. Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
-
bunnei authored
controller: Pass ControllerParameters by reference in ReconfigureControllers()
-
Lioncash authored
Prevents unnecessary copies and heap reallocations from occurring.
-
- 26 Oct, 2020 2 commits
- 25 Oct, 2020 6 commits
-
-
Rodrigo Locatti authored
controller: Convert led_patterns integer literals to bool literals
-
Rodrigo Locatti authored
general: Use template deduction guides for lock_guard
-
Lioncash authored
Same behavior, less code.
-
Lioncash authored
'bool' isn't always guaranteed to be the same size as an int, so this can technically cause truncation warnings if we support other platforms.
-
LC authored
applets/profile_select: Resolve a warning in exec()
-
Morph authored
Resolves a warning where not all control paths return a value.
-
- 24 Oct, 2020 1 commit
-
-
bunnei authored
main/profile_select: Don't ask for profile when there's only one.
-
- 23 Oct, 2020 3 commits
- 22 Oct, 2020 2 commits
- 21 Oct, 2020 7 commits
-
-
Morph authored
It turns out that after a controller is disconnected, there is a chance that events from the previous controller are sent/processed after it has been disconnected. This causes the previously disconnected controller to reappear as connected due to GetSDLJoystickBySDLID() emplacing this controller back to the map. Fix this by only returning an SDLJoystick if and only if it exists in the map.
-
bunnei authored
video_core: Conditially activate relevant compiler warnings
-
Lioncash authored
Resolves the clang build issue in a more unintrusive way.
-
LC authored
Revert "core: Fix clang build"
-
bunnei authored
-
Lioncash authored
These compiler flags aren't shared with clang, so specifying these flags unconditionally can lead to a bit of warning spam. While we're in the area, we can also enable -Wunused-but-set-parameter given this is almost always a bug.
-
Lioncash authored
This slipped through the cracks due to another change being merged before the compiler flag changes.
-
- 20 Oct, 2020 10 commits
-
-
LC authored
gl_arb_decompiler: Implement robust buffer operations
-
LC authored
core: Fix clang build
-
bunnei authored
nifm: GetAppletInfo stub
-
LC authored
configure_input_player: Fix modifier buttons
-
bunnei authored
sdl_impl: Erase the SDLJoystick entry after removing a controller
-
Morph authored
Fix them for real this time, now they finally work.
-
ReinUsesLisp authored
This emulates the behavior we get on GLSL with regular SSBOs with a pointer + length pair. It aims to be consistent with the crashes we might get. Out of bounds stores are ignored. Atomics are ignored and return zero. Reads return zero.
-
David Marcec authored
-
David Marcec authored
Fixes crash for Catherine Full Body
-
bunnei authored
kernel: Implement host thread register methods without locking
-