DescriptionFix refresh rate query for internal monitors
GetSelectedModeForDisplayId doesn't work for internal displays. This
results in failing the query, and falling back to refresh rate
approximation in the scheduler. To fix this, we use
GetActiveModeForDisplayId which exists even on internal displays.
This fixes the swap interval that the cc scheduler sees.
BUG=chromium:415359
TEST=make a trace on pixel, look at interval_us, it is a constant 16677 now (before it was variable and inaccurate)
Committed: https://crrev.com/1ad53a56f0872fe46103dcaa7f3a0199a825073e
Cr-Commit-Position: refs/heads/master@{#295505}
Patch Set 1 #Patch Set 2 : #Messages
Total messages: 8 (2 generated)
|