DescriptionWorkaround DwmGetCompositionTimingInfo giving bad qpcRefreshPeriod
On at least one machine Chrome hits a problem where DwmGetCompositionTimingInfo
says that qpcRefreshPeriod is 60. This implies a refresh rate of ~34,000 fps.
Chrome dutifully tries to hit this frame rate leading to excessive CPU usage.
This change adds a couple of checks to detect bad values and fix them. In
parallel this bug is being reported.
R=piman@chromium.org
BUG=486226
Committed: https://crrev.com/66c949d2f5478a20be46316c338174d5c3ad8735
Cr-Commit-Position: refs/heads/master@{#329983}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Rename interval2 to rate_interval #Messages
Total messages: 17 (5 generated)
|