DescriptionSlightly modify sizes of overlays that are larger than the monitor
Because of the rounding when converting between pixels and DIPs, a
fullscreen video can become slightly larger than the monitor - e.g. on a
3000x2000 monitor with a scale factor of 1.75 a 1920x1079 video can
become 3002x1689.
On older Intel drivers, swapchains that are bigger than the monitor
won't be put into overlays, which will hurt power usage a lot. On those
systems, the scaling can be adjusted very slightly so that it's less
than the monitor size. This should be close to imperceptible.
BUG=720059
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2884843002
Cr-Commit-Position: refs/heads/master@{#471989}
Committed: https://chromium.googlesource.com/chromium/src/+/2c74298547fc78cca48b66e917e0983dedacdbb4
Patch Set 1 #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 13 (8 generated)
|