Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Issue 2884843002: Slightly modify sizes of overlays that are larger than the monitor (Closed)

Created:
3 years, 7 months ago by jbauman
Modified:
3 years, 7 months ago
Reviewers:
sunnyps
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Slightly 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -2 lines) Patch
M gpu/config/gpu_driver_bug_list.json View 2 chunks +17 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/ipc/service/direct_composition_surface_win.h View 3 chunks +5 lines, -0 lines 0 comments Download
M gpu/ipc/service/direct_composition_surface_win.cc View 6 chunks +40 lines, -0 lines 1 comment Download
M gpu/ipc/service/direct_composition_surface_win_unittest.cc View 4 chunks +11 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (8 generated)
jbauman
3 years, 7 months ago (2017-05-15 23:48:50 UTC) #5
sunnyps
lgtm https://codereview.chromium.org/2884843002/diff/1/gpu/ipc/service/direct_composition_surface_win.cc File gpu/ipc/service/direct_composition_surface_win.cc (right): https://codereview.chromium.org/2884843002/diff/1/gpu/ipc/service/direct_composition_surface_win.cc#newcode655 gpu/ipc/service/direct_composition_surface_win.cc:655: if ((bounds_rect.x() >= 0) && nit: what's the ...
3 years, 7 months ago (2017-05-16 00:00:44 UTC) #6
jbauman
On 2017/05/16 00:00:44, sunnyps wrote: > lgtm > > https://codereview.chromium.org/2884843002/diff/1/gpu/ipc/service/direct_composition_surface_win.cc > File gpu/ipc/service/direct_composition_surface_win.cc (right): > ...
3 years, 7 months ago (2017-05-16 00:04:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2884843002/1
3 years, 7 months ago (2017-05-16 02:08:36 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 02:36:41 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2c74298547fc78cca48b66e917e0...

Powered by Google App Engine
This is Rietveld 408576698