Lioncash
20dc78099b
externals: Track mainline inih project
5 years ago
bunnei
89e414a2fb
Merge pull request #4729 from ameerj/nvdec-prod
video_core: NVDEC Implementation
5 years ago
bunnei
5815928653
Merge pull request #4832 from bunnei/cpu-manager-microprofile-fix
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
5 years ago
bunnei
fc2d916976
Merge pull request #4833 from bunnei/timezonemanager-explicit
hle: services: TimeZoneContentManager: This can be made explicit.
5 years ago
ameerj
9ef5c53e52
video_core: NVDEC Implementation
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>
5 years ago
bunnei
5760a283f6
Merge pull request #4834 from lioncash/copy-fn
controller: Pass ControllerParameters by reference in ReconfigureControllers()
5 years ago
Lioncash
c3f019b9eb
controller: Pass ControllerParameters by reference in ReconfigureControllers()
Prevents unnecessary copies and heap reallocations from occurring.
5 years ago
bunnei
379ef37035
hle: services: TimeZoneContentManager: This can be made explicit.
5 years ago
bunnei
321fbec267
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
- Fixes an occasional crash when trying to launch subsequent games.
5 years ago
Rodrigo Locatti
7789416042
Merge pull request #4827 from lioncash/trunc
controller: Convert led_patterns integer literals to bool literals
5 years ago
Rodrigo Locatti
e790827d99
Merge pull request #4828 from lioncash/lockguard
general: Use template deduction guides for lock_guard
5 years ago
Lioncash
59a56fa810
general: Use template deduction guides for lock_guard
Same behavior, less code.
5 years ago
Lioncash
652c36ef9c
controller: Convert led_patterns integer literals to bool literals
'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.
5 years ago
LC
3529d28c7b
Merge pull request #4826 from Morph1984/resolve-warning
applets/profile_select: Resolve a warning in exec()
5 years ago
Morph
5bdd042c3e
applets/profile_select: Resolve a warning in exec()
Resolves a warning where not all control paths return a value.
5 years ago
bunnei
8cc9486364
Merge pull request #4817 from Kewlan/open-single-save-location
main/profile_select: Don't ask for profile when there's only one.
5 years ago
LC
f27bee6a7b
Merge pull request #4816 from Morph1984/controller-disconnect-fix
sdl_impl: Fix controller reconnection issues
5 years ago
bunnei
8d2916a15c
Merge pull request #4706 from ReinUsesLisp/cmake-host-shaders
video_core: Fix instances where msbuild always regenerated host shaders
5 years ago
bunnei
8246151e3a
Merge pull request #4792 from bunnei/rtc-fix
service: time: Update current time with changes to RTC setting.
5 years ago
Kewlan
2204839317
Don't ask for profile when there's only one.
5 years ago
Lioncash
c7b6027f34
core: Fix clang build pt.3
Should finally resolve building with clang.
5 years ago
Morph
62e0851476
sdl_impl: Fix controller reconnection issues
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.
5 years ago
bunnei
2a54a39e0c
Merge pull request #4811 from lioncash/warn-video
video_core: Conditially activate relevant compiler warnings
5 years ago
Lioncash
2d48020ca5
core: Fix clang build pt.2
Resolves the clang build issue in a more unintrusive way.
5 years ago
LC
f1381f0249
Merge pull request #4814 from yuzu-emu/revert-4796-clang
Revert "core: Fix clang build"
5 years ago
bunnei
deb3536936
Revert "core: Fix clang build"
5 years ago
Lioncash
09a096c6ff
video_core: Conditially activate relevant compiler warnings
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.
5 years ago
Lioncash
1367e8fb75
kernel: Fix build with recent compiler flag changes
This slipped through the cracks due to another change being merged
before the compiler flag changes.
5 years ago
LC
3dbefaa839
Merge pull request #4807 from ReinUsesLisp/glasm-robust-ssbo
gl_arb_decompiler: Implement robust buffer operations
5 years ago
LC
b02702a86a
Merge pull request #4796 from lioncash/clang
core: Fix clang build
5 years ago
bunnei
28b9805482
Merge pull request #4390 from ogniK5377/get-applet-inf-stub
nifm: GetAppletInfo stub
5 years ago
LC
bd5383ad7e
Merge pull request #4809 from Morph1984/mjolnir-p3
configure_input_player: Fix modifier buttons
5 years ago
bunnei
d49a2e305e
Merge pull request #4627 from Morph1984/fix-dinput-controller-disconnect
sdl_impl: Erase the SDLJoystick entry after removing a controller
5 years ago
Morph
6fa2144d90
configure_input_player: Fix modifier buttons
Fix them for real this time, now they finally work.
5 years ago
ReinUsesLisp
1f6b67df03
gl_arb_decompiler: Implement robust buffer operations
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.
5 years ago
David Marcec
b54f39b1d4
Added remaining params
5 years ago
David Marcec
83cb5a2c74
nifm: GetAppletInfo stub
Fixes crash for Catherine Full Body
6 years ago
bunnei
639ff00184
Merge pull request #4788 from ReinUsesLisp/lockfree-host-thread
kernel: Implement host thread register methods without locking
5 years ago
bunnei
b1883e0c5f
Merge pull request #4785 from Morph1984/fs-hades
filesystem: Fix CreateDirectory and DeleteFile
5 years ago
bunnei
a8368cfaac
Merge pull request #4204 from ReinUsesLisp/vulkan-1.0
renderer_vulkan: Create and properly use Vulkan 1.0 instances when 1.1 is not available
5 years ago
bunnei
8e2a35be16
Merge pull request #4802 from lioncash/bcat
core: Add boxcat sources with target_sources
5 years ago
bunnei
65569c049e
Merge pull request #4783 from bunnei/nvdrv-freespace
hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.
5 years ago
Lioncash
a1b5ea953f
core: Add boxcat sources with target_sources
Same behavior, minus a script variable.
5 years ago
bunnei
91e384c640
Merge pull request #4801 from lioncash/missing-bound
mii/manager: Make use of unused lower bound in GetRandomValue()
5 years ago
bunnei
220f44891a
Merge pull request #4782 from ReinUsesLisp/remove-dyn-primitive
vk_graphics_pipeline: Manage primitive topology as fixed state
5 years ago
Lioncash
18636013c9
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
5 years ago
Lioncash
ab33132ccb
mii/manager: Make use of unused lower bound in GetRandomValue()
Previously, the lower bound wasn't being used and zero was being used as
the lower bound every time this function was called.
This affects the outcome of some of the randomized entries a little bit,
for example, the lower-bound for beard and mustache flags was supposed
to be 1, not 0.
Aside from these cases, the bug didn't affect anything else.
5 years ago
bunnei
cf9baa19df
Merge pull request #4797 from bunnei/bcat-errors
service: bcat: Check client connection before interacting with socket.
5 years ago
bunnei
165b5dfff1
Merge pull request #4798 from lioncash/input-copy
udp/client: Take std::function by const reference with TestCommunication()
5 years ago
bunnei
bf6d4d3052
service: bcat: Check client connection before interacting with socket.
- Fixes a crash when BCAT service is offline.
5 years ago