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

Issue 2779823002: exo: Send DSF of internal display to ARC (Closed)

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

Description

exo: Send DSF of internal display to ARC Since the client-side DPI in ARC is configured at build time based on the internal display, the client must scale the cursor by the DSF of the internal (not the primary) display to convert from pixels to DIPs. BUG=642894 TEST=caroline: Cursor scale is correct for each display/resolution. Review-Url: https://codereview.chromium.org/2779823002 Cr-Commit-Position: refs/heads/master@{#476423} Committed: https://chromium.googlesource.com/chromium/src/+/9b40ae314fa3842121e01e231b3ea72d04c07ef2

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase properly #

Total comments: 4

Patch Set 4 : Rebase and update comment #

Patch Set 5 : Rebase #

Patch Set 6 : Send is_internal flag instead #

Total comments: 2

Patch Set 7 : Rebase #

Patch Set 8 : Document is_internal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -165 lines) Patch
M components/exo/wayland/server.cc View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h View 1 2 3 4 5 6 7 7 chunks +70 lines, -67 lines 0 comments Download
M third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h View 1 2 3 4 5 6 7 3 chunks +95 lines, -93 lines 0 comments Download
M third_party/wayland-protocols/protocol/remote-shell-protocol.c View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
Dominik Laskowski
PTAL.
3 years, 9 months ago (2017-03-27 20:27:54 UTC) #4
reveman
lgtm with a question https://codereview.chromium.org/2779823002/diff/40001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2779823002/diff/40001/components/exo/wayland/server.cc#newcode2133 components/exo/wayland/server.cc:2133: // TODO(domlaskowski): Send real DSFs ...
3 years, 8 months ago (2017-03-28 07:12:21 UTC) #5
oshima
https://codereview.chromium.org/2779823002/diff/40001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2779823002/diff/40001/components/exo/wayland/server.cc#newcode2139 components/exo/wayland/server.cc:2139: .device_scale_factor(); This value may change (as primary display may ...
3 years, 8 months ago (2017-03-28 12:46:56 UTC) #6
Dominik Laskowski
https://codereview.chromium.org/2779823002/diff/40001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2779823002/diff/40001/components/exo/wayland/server.cc#newcode2133 components/exo/wayland/server.cc:2133: // TODO(domlaskowski): Send real DSFs once client selects DPI ...
3 years, 8 months ago (2017-03-30 01:21:44 UTC) #7
reveman
So this just seems to replace one workaround with another. Would it be better to ...
3 years, 8 months ago (2017-03-30 08:52:15 UTC) #8
oshima
On 2017/03/30 08:52:15, reveman wrote: > So this just seems to replace one workaround with ...
3 years, 8 months ago (2017-03-30 18:22:07 UTC) #9
oshima
On 2017/03/30 18:22:07, oshima wrote: > On 2017/03/30 08:52:15, reveman wrote: > > So this ...
3 years, 8 months ago (2017-03-30 18:22:19 UTC) #10
reveman
what's the benefit of replacing the old workaround with this workaround?
3 years, 8 months ago (2017-03-30 18:36:09 UTC) #11
Dominik Laskowski
On 2017/03/30 18:36:09, reveman wrote: > what's the benefit of replacing the old workaround with ...
3 years, 8 months ago (2017-03-30 21:14:26 UTC) #12
reveman
On 2017/03/30 at 21:14:26, domlaskowski wrote: > On 2017/03/30 18:36:09, reveman wrote: > > what's ...
3 years, 8 months ago (2017-04-04 13:10:28 UTC) #13
Dominik Laskowski
On 2017/04/04 13:10:28, reveman wrote: > Sorry, I'm still failing to understand how you intend ...
3 years, 7 months ago (2017-05-03 18:08:33 UTC) #14
reveman
On 2017/05/03 at 18:08:33, domlaskowski wrote: > On 2017/04/04 13:10:28, reveman wrote: > > Sorry, ...
3 years, 7 months ago (2017-05-03 19:27:47 UTC) #15
Dominik Laskowski
On 2017/05/03 19:27:47, reveman wrote: > First step is making sure non-arc clients that use ...
3 years, 7 months ago (2017-05-08 17:03:02 UTC) #16
reveman
On 2017/05/08 at 17:03:02, domlaskowski wrote: > On 2017/05/03 19:27:47, reveman wrote: > > First ...
3 years, 7 months ago (2017-05-08 17:24:53 UTC) #17
reveman
lgtm
3 years, 7 months ago (2017-05-08 17:25:07 UTC) #18
Dominik Laskowski
On 2017/05/08 17:24:53, reveman wrote: > Not sure what you mean by this. Are you ...
3 years, 7 months ago (2017-05-09 01:51:43 UTC) #19
Dominik Laskowski
PTAL. On second thought, the client needs to know about internal vs. external displays for ...
3 years, 7 months ago (2017-05-10 20:09:31 UTC) #20
reveman
https://codereview.chromium.org/2779823002/diff/100001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2779823002/diff/100001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode162 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:162: <arg name="is_internal" type="uint"/> why don't we need a version ...
3 years, 7 months ago (2017-05-10 20:24:45 UTC) #22
Dominik Laskowski
https://codereview.chromium.org/2779823002/diff/100001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2779823002/diff/100001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode162 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:162: <arg name="is_internal" type="uint"/> On 2017/05/10 20:24:45, reveman wrote: > ...
3 years, 7 months ago (2017-05-10 21:16:04 UTC) #23
Dominik Laskowski
PS8 just adds a comment requested by lpique.
3 years, 6 months ago (2017-06-01 19:40:41 UTC) #26
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/2779823002/140001
3 years, 6 months ago (2017-06-01 20:39:27 UTC) #31
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 20:45:38 UTC) #34
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/9b40ae314fa3842121e01e231b3e...

Powered by Google App Engine
This is Rietveld 408576698