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

Issue 2933133002: exo: Select cursor capture scale at run time (Closed)

Created:
3 years, 6 months ago by Dominik Laskowski
Modified:
3 years, 6 months ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Select cursor capture scale at run time On low-DPI displays, the pointer surface was being scaled up using bilinear filtering, resulting in a slightly blurry cursor. This CL sets the capture scale to the largest DSF instead of a constant. BUG=730843 TEST=minnie,caroline: Cursor is sharp on all displays. Review-Url: https://codereview.chromium.org/2933133002 Cr-Commit-Position: refs/heads/master@{#481738} Committed: https://chromium.googlesource.com/chromium/src/+/18ec3b79f56fe38260ada3658872ffacdb652f22

Patch Set 1 #

Patch Set 2 : Fix accessibility test #

Patch Set 3 : Split #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Capture on primary display #

Patch Set 7 : Remove std::accumulate #

Total comments: 6

Patch Set 8 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M components/exo/pointer.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M components/exo/pointer.cc View 1 2 3 4 5 6 7 6 chunks +15 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 54 (32 generated)
Dominik Laskowski
PTAL.
3 years, 6 months ago (2017-06-12 16:00:19 UTC) #4
reveman
Can we keep this simpler and just modify the existing code to use the highest-DPI ...
3 years, 6 months ago (2017-06-12 16:08:33 UTC) #5
Dominik Laskowski
Do you mean replacing |capture_display_id_| with a stateless GetCaptureDisplay function? I don't think that would ...
3 years, 6 months ago (2017-06-12 16:33:36 UTC) #6
reveman
On 2017/06/12 at 16:33:36, domlaskowski wrote: > Do you mean replacing |capture_display_id_| with a stateless ...
3 years, 6 months ago (2017-06-12 18:30:07 UTC) #9
Dominik Laskowski
Right, that's what GetCaptureDisplay would do, because that logic is needed in several places, i.e. ...
3 years, 6 months ago (2017-06-12 19:47:00 UTC) #10
reveman
On 2017/06/12 at 19:47:00, domlaskowski wrote: > Right, that's what GetCaptureDisplay would do, because that ...
3 years, 6 months ago (2017-06-12 19:55:57 UTC) #13
Dominik Laskowski
On 2017/06/12 19:55:57, reveman wrote: > I'm failing to see why the pointer surface needs ...
3 years, 6 months ago (2017-06-12 20:05:16 UTC) #14
reveman
On 2017/06/12 at 20:05:16, domlaskowski wrote: > On 2017/06/12 19:55:57, reveman wrote: > > I'm ...
3 years, 6 months ago (2017-06-12 20:08:22 UTC) #15
Dominik Laskowski
The client called wl_pointer::set_cursor twice on pointer enter, i.e. resetting then restoring the cursor. The ...
3 years, 6 months ago (2017-06-12 20:18:09 UTC) #16
reveman
On 2017/06/12 at 20:18:09, domlaskowski wrote: > The client called wl_pointer::set_cursor twice on pointer enter, ...
3 years, 6 months ago (2017-06-12 20:55:52 UTC) #17
Dominik Laskowski
On 2017/06/12 20:55:52, reveman wrote: > Ok, can we start by fixing that scaling logic ...
3 years, 6 months ago (2017-06-12 21:56:04 UTC) #20
reveman
Can we keep using the primary display for capture and just adjust the capture scale?
3 years, 6 months ago (2017-06-13 22:10:04 UTC) #25
Dominik Laskowski
On 2017/06/13 22:10:04, reveman wrote: > Can we keep using the primary display for capture ...
3 years, 6 months ago (2017-06-13 22:24:02 UTC) #28
reveman
On 2017/06/13 at 22:24:02, domlaskowski wrote: > On 2017/06/13 22:10:04, reveman wrote: > > Can ...
3 years, 6 months ago (2017-06-14 01:46:41 UTC) #29
Dominik Laskowski
On 2017/06/14 01:46:41, reveman wrote: > I'm failing to see why if we compensate for ...
3 years, 6 months ago (2017-06-19 20:13:17 UTC) #30
reveman
On 2017/06/19 at 20:13:17, domlaskowski wrote: > On 2017/06/14 01:46:41, reveman wrote: > > I'm ...
3 years, 6 months ago (2017-06-19 20:22:06 UTC) #31
Dominik Laskowski
PTAL. Will rebase dependent CL shortly, and justify |capture_ratio_| there.
3 years, 6 months ago (2017-06-19 21:40:43 UTC) #35
Dominik Laskowski
Ping.
3 years, 6 months ago (2017-06-22 21:06:48 UTC) #42
reveman
lgtm with nits https://codereview.chromium.org/2933133002/diff/120001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2933133002/diff/120001/components/exo/pointer.cc#newcode7 components/exo/pointer.cc:7: #include <algorithm> nit: remove if not ...
3 years, 6 months ago (2017-06-22 21:24:01 UTC) #43
Dominik Laskowski
https://codereview.chromium.org/2933133002/diff/120001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2933133002/diff/120001/components/exo/pointer.cc#newcode7 components/exo/pointer.cc:7: #include <algorithm> On 2017/06/22 21:24:01, reveman wrote: > nit: ...
3 years, 6 months ago (2017-06-22 22:31:14 UTC) #46
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/2933133002/140001
3 years, 6 months ago (2017-06-23 00:15:31 UTC) #51
commit-bot: I haz the power
3 years, 6 months ago (2017-06-23 00:20:57 UTC) #54
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/18ec3b79f56fe38260ada3658872...

Powered by Google App Engine
This is Rietveld 408576698