aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-08-16codec: Improve libav memory alloc and cleanupameerj
2021-08-16codec: Fallback to CPU decoding if no compatible GPU format is foundameerj
2021-08-16cmake: Add VDPAU and NVDEC support to FFmpeglat9nq
Adds {h264_,vp9_}{nvdec,vdpau} hwaccels.
2021-08-16vk_blit_screen: Fix non-accelerated texture size calculationameerj
Addresses the potential OOB access in UnswizzleTexture.
2021-08-16Merge pull request #6863 from spholz/fix-lan-playFernando S
Fix LAN Play
2021-08-16kernel: Optimize GetHostThreadIDBreadFish64
2021-08-16network_interface: correct formattingSönke Holz
2021-08-16network_interface: fix mingw-w64 buildspholz
2021-08-16network: retrieve subnet mask and gateway infoSönke Holz
2021-08-15xbyak: Update include pathMerry
2021-08-15Merge pull request #6861 from yzct12345/const-mempy-is-all-the-speedbunnei
decoders: Optimize memcpy for the other functions
2021-08-14core: hle: kernel: Disable dispatch count tracking on single core.bunnei
- This would have limited value, and would be a mess to handle properly.
2021-08-13threadsafe_queue: Fix deadlockyzct12345
This fixes a lost wakeup in SPSCQueue. If the reader is in just the right position, the writer's notification will be lost and this will be a problem if the writer then does something to wait on the reader. This was discovered to affect my upcoming stacktrace PR. I don't think any performance decrease will be noticeable because an uncontended mutex is smart enough to skip the syscall. This PR might also resolve some rare deadlocks but I don't know of any examples.
2021-08-13logging: Display backtrace on crashyzct12345
This implements backtraces so we don't have to tell users how to use gdb anymore. This prints a backtrace after abort or segfault is detected. It also fixes the log getting cut off with the last line containing only a bracket. This change lets us know what caused a crash not just what happened the few seconds before it. I only know how to add support for Linux with GCC. Also this doesn't work outside of C/C++ such as in dynarmic or certain parts of graphics drivers. The good thing is that it'll try and just crash again but the stack frames are still there so the core dump will work just like before.
2021-08-13logging: Simplify and make thread-safeyzct12345
This simplifies the logging system. This also fixes some lost messages on startup. The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation. With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things.
2021-08-13configuration: fix mingw-w64 buildSönke Holz
2021-08-13network: don't use reinterpret_cast in GetAvailableNetworkInterfacesspholz
2021-08-13network: fix mingw-w64 buildSönke Holz
The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
2021-08-13network: don't use assert to check if no network interfaces are returnedSönke Holz
2021-08-12Merge pull request #6862 from german77/badsdlbunnei
input_common: Disable sdl raw input mode
2021-08-13configuration: move network_interface include to source fileSönke Holz
2021-08-13network: use Common::BitCast instead of std::bit_castSönke Holz
2021-08-13network: narrow down scope of "result" in win32 code forSönke Holz
GetAvailableNetworkInterfaces
2021-08-13configuration: use tr instead of QStringLiteral for "None" item inSönke Holz
network interface combobox
2021-08-13network: use explicit bool conversions in GetAvailableNetworkInterfacesSönke Holz
2021-08-13network: initialize ip_addr in GetHostIPv4Address()Sönke Holz
2021-08-13nifm: use operator*() instead of .value() to get value of std::optionalSönke Holz
2021-08-13nifm: treat a missing host IP address as a non-critical errorSönke Holz
2021-08-12Merge branch 'yuzu-emu:master' into fix-lan-playspholz
2021-08-12network: correct formatting in network.cpp and network_interface.cppSönke Holz
2021-08-12configuration: add option to select network interfacespholz
This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed.
2021-08-12Merge pull request #6838 from ameerj/sws-alignbunnei
vic: Specify sws_scale height stride.
2021-08-12input_common: Disable sdl raw input modegerman77
2021-08-12codec: Replace deprecated av_init_packet usageameerj
2021-08-12nvdec: Implement GPU accelerated decoding for all platformsameerj
Supplements the VAAPI intel gpu decoder by implementing the D3D11VA decoder for Windows, and CUVID/VDPAU for Nvidia and AMD on drivers linux respectively.
2021-08-12decoders: Templates allow memcpy optimizationsyzct12345
2021-08-11settings: Fix MSVC issueslat9nq
According to https://stackoverflow.com/questions/469508, we run into a MSVC bug (since VS 2005) when using diamond inheritance for RangedSetting. This explicitly implements those functions in RangedSetting. GetValue is implemented as just calling the inherited version. The explicit converson operator is reimplemented. I opted for this over ignoring the warning with a pragma since this specifies the inherited behavior, and I have now less faith in MSVC to pick the right one. In addition, we mark destructors as virtual to silence what I believe is a fair MSVC compilation error.
2021-08-10Merge pull request #6776 from lat9nq/ranged-settingsbunnei
settings: Implement settings ranges
2021-08-10Merge pull request #6820 from yzct12345/split-cacheFernando S
texture_cache: Split out template definitions
2021-08-09Merge pull request #6837 from german77/no-pause-screenshotAmeer J
main: Avoid stopping emulation when taking a screenshot
2021-08-09vic: Specify sws_scale height stride.ameerj
Silences a sws_scale runtime warning about unaligned strides.
2021-08-09Merge pull request #6823 from yzct12345/memory-cleanupbunnei
memory: Clean up code
2021-08-09Merge pull request #6839 from ameerj/frame-cap-positonbunnei
configure_general: Swap positions of speed limit and frame limit options
2021-08-08Merge pull request #6844 from ameerj/vp9-empty-frameMai M
vp9: Ensure the first frame is complete
2021-08-08yuzu-cmd/CMakeLists: Correct attribution for this function.Fernando Sahmkow
2021-08-08vp9: Ensure the first frame is completeameerj
Silences a runtime error due to the first frame missing the frame data, and being set to hidden despite being a key-frame.
2021-08-08texture_cache: Address ameerj's reviewyzct12345
2021-08-08Merge pull request #6834 from K0bin/buffer-image-granularityFernando S
Respect Vulkan bufferImageGranularity
2021-08-08Merge pull request #6698 from german77/SDL_QoLbunnei
input_common: Improve SDL joystick and hide toggle option
2021-08-08Merge pull request #6817 from gidoly/patch-1bunnei
Add description to fast gpu time option