Improve DPI matching & scaling logic.
Previously the client would attempt to scale the host desktop to account for the difference between client & host DPI. This could produce poor results in situations in which the client could not control the host dimensions, e.g. if the host was fixed at a very low resolution, but being displayed on a high-resolution display with the same notional DPI then lots of space would be wasted. This CL implements a new scheme, described in the comment block in remoting.ClientSession.updateDimensions(), that allows for more flexible up-scaling of very small hosts, and better handling of close-to-integer scale factors. BUG=135089, 366359 Review URL: https://codereview.chromium.org/804783002 Cr-Commit-Position: refs/heads/master@{#316353}
Showing
Please register or sign in to comment