aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-08-19Merge pull request #6887 from v1993/patch-2Mai M
SPIR-V: Merge two ifs in EmitGetAttribute
2021-08-19Merge pull request #6886 from Morph1984/error-code-64Mai M
applet_error: Fix 64-bit error code conversion
2021-08-19GPU_MemoryManger: Fix GetSubmappedRange.Fernando Sahmkow
2021-08-19Replace QPoint with QPointF where applicableValeri
Previously, floats were implicitly cast to integers
2021-08-19qt_software_keyboard: fix copy-paste errorValeri
2021-08-19video_core: eliminate constant ternaryValeri
`via_header_index` is already checked above, so it would never be true in this branch
2021-08-19applet_error: Fix 64-bit error code conversionMorph
2021-08-19SPIR-V: Merge two ifs in EmitGetAttributeValeri
2021-08-19Fix crash in logging in CreateStrayLayerValeri
It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
2021-08-19Fix check is thread current in GetThreadContextValeri
Misplaced break made it only check for the first core.
2021-08-18Merge pull request #6832 from bunnei/scheduler-improvementsbunnei
kernel: Various improvements to scheduler
2021-08-16h264: Lower max_num_ref_framesameerj
GPU decoding seems to be more picky when it comes to the maximum number of reference frames.
2021-08-16configure_graphics: Add GPU nvdec decoding as an optionameerj
Some system configurations may see visual regressions or lower performance using GPU decoding compared to CPU decoding. This setting provides the option for users to specify their decoding preference. Co-Authored-By: yzct12345 <87620833+yzct12345@users.noreply.github.com>
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.