Skip to content
Commit bd214edf authored by Hideyuki Nagase's avatar Hideyuki Nagase Committed by Derek Foreman
Browse files

rdp: Calculate frame times from mode refresh rate



Instead of hard coding a 16ms refresh interval, use the refresh rate
from the current mode to determine when the next frame should be.

Currently, we still hard code the refresh rate, so this will end up
with roughly the same value we've been using, but in the future
we'll allow setting it via command line.

Co-authored-by: default avatarSteve Pronovost <spronovo@microsoft.com>
Co-authored-by: default avatarBrenton DeGeer <brdegeer@microsoft.com>
Signed-off-by: default avatarHideyuki Nagase <hideyukn@microsoft.com>
Signed-off-by: default avatarSteve Pronovost <spronovo@microsoft.com>
Signed-off-by: default avatarBrenton DeGeer <brdegeer@microsoft.com>
parent 2f9319ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment