Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e39344f
Bump vcpkg to 2028.08.27 and pin ffmpeg to 7.1.1
andygrundman Sep 14, 2025
650491e
Port moonlight-qt's Pacer class, with a very basic integration.
andygrundman Sep 9, 2025
58c8739
Slow down the ProcessInput loop to only poll about every 1ms
andygrundman Sep 14, 2025
fd1c229
Trying ProcessInput at 2ms, removed usleep
andygrundman Sep 14, 2025
6e6c2be
The single lock around most of the render loop hurts decoder performa…
andygrundman Sep 15, 2025
d4822e7
It seems like we can remove all D3D locking by enabling SetMultithrea…
andygrundman Sep 15, 2025
84c31a9
Point moonlight-common-c to repo with Xbox patches
andygrundman Sep 18, 2025
e0e32a2
Full port of qt's Pacer class. waitForVsync does not appear to work c…
andygrundman Sep 18, 2025
eca04d7
Fix queued frames graph for m_PacingQueue
andygrundman Sep 18, 2025
a271b89
Since I can't find a proper wait-for-vsync method, this should operat…
andygrundman Sep 19, 2025
d19d7ec
Add emulated vsync thread to provide a stable signal matching the ref…
andygrundman Sep 23, 2025
13905e8
Fix several bugs related to the vsync host setting, it now works prop…
andygrundman Sep 27, 2025
14d1180
Use 10-bit offsets in BT2020 shader
andygrundman Sep 27, 2025
8f79b2f
Misc cleanup and optimizations. Avoid creating render texture and SRV…
andygrundman Oct 1, 2025
496d5ab
Much more accurate timing for Present()
andygrundman Oct 2, 2025
faa56bc
Remove option to select vsync, instead force it off for 120hz, on for…
andygrundman Oct 4, 2025
6a75967
Host Settings: bitrate calc from res/fps, add message about HDR when …
andygrundman Oct 13, 2025
204ccc1
LogRenderer: add warning about reduced performance when visible
andygrundman Oct 13, 2025
c085992
Pacer refactoring, added helper for timing Present to screen tear lin…
andygrundman Oct 8, 2025
c9fcb95
Pacer: fix 30fps
andygrundman Oct 16, 2025
48d6137
Simplify Pacer's present timing
andygrundman Oct 29, 2025
1d8d253
Fix various CodeRabbit issues:
andygrundman Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BasedOnStyle: LLVM
UseTab: ForIndentation
IndentWidth: 4
TabWidth: 4
BreakBeforeBraces: Mozilla
BreakBeforeBraces: Attach
ColumnLimit: 0
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
Expand All @@ -12,7 +12,8 @@ AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignTrailingComments: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
BreakConstructorInitializers: AfterColon
BreakConstructorInitializers: BeforeColon
PackConstructorInitializers: Never

# Don't move pch.h below other headers
IncludeBlocks: Preserve
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "third_party/moonlight-common-c"]
path = third_party/moonlight-common-c
url = https://github.com/moonlight-stream/moonlight-common-c.git
url = https://github.com/andygrundman/moonlight-common-c.git
[submodule "vcpkg"]
path = vcpkg
url = https://github.com/microsoft/vcpkg.git
Expand Down
Binary file modified Assets/Shader/d3d11_bt2020lim_pixel.fxc
Binary file not shown.
4 changes: 2 additions & 2 deletions Assets/Shader/d3d11_bt2020lim_pixel.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ static const min16float3x3 cscMatrix =

static const min16float3 offsets =
{
16.0 / 255.0, 128.0 / 255.0, 128.0 / 255.0
64.0 / 1023.0, 512.0 / 1023.0, 512.0 / 1023.0
};

#include "d3d11_video_pixel_end.hlsli"
#include "d3d11_video_pixel_end.hlsli"
Loading