[ozone/wayland] Added HiDPI support for Ozone/Wayland.

Wayland operates in DIP but the platform level works with physical pixels
so it's the application's responsibility to render properly and translate
locations and sizes to physical pixels and back.

This CL introduces the behaviour required to support HiDPI screens:
* The backing buffer now takes the scale factor taken from the output device.
* Windows update their buffer scale when moved between displays that have
  different scale factor, or when properties of the display are changed.
* Windows translate DIP to physical pixels and back, where necessary.

R=msisov@igalia.com, rjkroege@chromium.org

Bug: 910797
Change-Id: I1acb96ebc306194c13865149e026bcfdfb8046bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647154
Reviewed-by: Maksim Sisov <msisov@igalia.com>
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Commit-Queue: Alexander Dunaev <adunaev@igalia.com>
Cr-Commit-Position: refs/heads/master@{#667537}
18 files changed