Sunshine/src_assets
Conn O'Griofa 2d969c2ccc platform/windows: change dwmflush default, add autodetection
On each re/init, query the active monitor refresh rate via
DwmGetCompositionTimingInfo. If the client requested framerate exceeds
the host monitor refresh, automatically disable DwmFlush.

This avoids the problem by which DwmFlush would constrain the client
FPS if the host monitor runs at a lower refresh rate, thus allowing
the feature to be enabled by default.

If there are other issues caused by DwmFlush for certain systems,
it can still be disabled via configuration.
2022-06-15 22:23:09 +01:00
..
common platform/windows: change dwmflush default, add autodetection 2022-06-15 22:23:09 +01:00
linux Update documentation 2022-06-15 15:52:38 -04:00
macos Refactor assets and config directory 2022-05-11 23:10:46 -04:00
windows Refactor assets and config directory 2022-05-11 23:10:46 -04:00