68 Commits

Author SHA1 Message Date
Cameron Gutman
03b62730ae
Convert keyboard input to scancodes using the US English layout (#651) 2022-12-30 13:30:11 -05:00
Cameron Gutman
d6db10afb4
Remove/fix calls to std::abort() (#648) 2022-12-29 11:09:11 -05:00
Cameron Gutman
c7fe8f65bd
windows: Fix audio when host is not using 48 KHz sample rate (#640) 2022-12-28 08:53:58 -05:00
Cameron Gutman
05f5370efe
Launch games under the correct user account on Windows (#600) 2022-12-27 15:52:41 -05:00
Conn O'Griofa
c0b042fa8a
windows/vram: fix fringing in NV12 colour conversion (#622) 2022-12-27 11:05:57 -05:00
Cameron Gutman
1e037db7bd
Fix pixel pitch handling for DXGI_FORMAT_R16G16B16A16_FLOAT (#605) 2022-12-22 21:58:39 -05:00
Cameron Gutman
bb092c0723
Fix streaming with non-B8G8R8A8 desktop mode (#609) 2022-12-22 20:48:31 -05:00
Cameron Gutman
e39d9bc662 Add support for Unicode input messages on Windows 2022-11-23 21:45:26 -06:00
ReenigneArcher
3ee511cabb
Merge branch 'nightly' into nightly 2022-10-26 16:19:05 -04:00
ReenigneArcher
b484060831
Merge branch 'nightly' into master 2022-10-26 15:35:47 -04:00
w0utert
79ce11fe72
Merge branch 'nightly' into nightly 2022-10-13 22:08:20 +02:00
Wouter Bijlsma
7f53388304 Fix CUDA RGBA to NV12 conversion
On linux hosts with Nvidia GPU and CUDA support enabled, a CUDA kernel
is used to convert captured RGBA frames to NV12 before encoding. This
kernel contained a bug affecting image quality, in particular when
rendering high-contrast colored text and sharp lines. See [1] for more
information.

This commit fixes the format conversion kernel by taking 2x2 RGBA blocks
to generate 4 luma (Y) values and 1 chroma (UV) pair, ie: 12 bits per
pixel YUV420 (NV12). Previous code incorrectly generated 1 UV pair for
every 2 pixels.

[1] https://github.com/LizardByte/Sunshine/issues/154
2022-10-10 21:39:58 +02:00
Michael Rogers
cf6107971d
Merge branch 'nightly' into no-sink-path-rebased 2022-09-16 11:54:02 -05:00
Michael Rogers
62af7d255c Clang Format Applied 2022-09-16 11:47:10 -05:00
Michael Rogers
d4a4096bba Added some sanity checks for no sink being detected. 2022-09-16 11:46:41 -05:00
ReenigneArcher
58ed5ba3ce
fix typos and comment formatting 2022-08-28 16:42:00 -04:00
Jack Brown
977a4d3d4a Add dma import modifiers EGL ext 2022-08-26 18:20:49 -04:00
ReenigneArcher
a4acaf15b0
move sunshine to src
- this will allow for common cpp workflow files within org
2022-08-07 23:37:57 -04:00