Chromium Code Reviews
DescriptionGet high resolution frame timebase and interval on compatible systems
Significantly reduces stuttering of animations on Windows caused by rounding errors in the computation of the display refresh rate.
Also made a minor change to how multi-monitor display rates are handled. Now we only use the value from EnumDisplaySettings if DWM compositing is disabled, even if the monitor refresh rate is lower. The previous logic may have erroniously overridden a display refresh of ~60.1Hz or similar with a less accurate 60Hz.
BUG=422000
Committed: https://crrev.com/10b6709e59abc1ef5d3921a38b93acd73a689be8
Cr-Commit-Position: refs/heads/master@{#301230}
Patch Set 1 #Patch Set 2 : Minor whitespace cleanup #
Total comments: 3
Patch Set 3 : Better comments #Patch Set 4 : Addressing feedback from jerryj #Patch Set 5 : Fixed calling Windows-only function on all platforms. #Patch Set 6 : DEEEERRRRRRPPPP #Messages
Total messages: 25 (7 generated)
|