DescriptionSupport fractional desktopScale values in choosePluginDimensions.
Previously desktopScale was applied as part of the scale calculations,
so that snapping to integer scale factors would take effect afterward.
This lead to situations in which the client would be rendered 1:1
host:client device pixels at high-DPI clients, so effectively appearing
down-scaled and often unusably small.
choosePluginDimensions now adjusts the supplied client area dimensions
to account for desktopScale as well as the client's devicePixelRatio.
BUG=498346
Committed: https://crrev.com/7eb7b5d7b22886b30bf1e089ceb346914e5b6d24
Cr-Commit-Position: refs/heads/master@{#338707}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|