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

Issue 611423002: [WIP][Ozone] Support external touchscreens (Closed)

Created:
6 years, 2 months ago by dnicoara
Modified:
6 years, 1 month ago
Reviewers:
spang
CC:
chromium-reviews, ozone-reviews_chromium.org, sadrul, tdresser+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ozone-touchscreen
Project:
chromium
Visibility:
Public.

Description

[WIP][Ozone] Support external touchscreens BUG=425258

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : Updated #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+455 lines, -419 lines) Patch
M ash/BUILD.gn View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ash/ash.gyp View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M ash/shell.h View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M ash/touch/touch_transformer_controller.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
D ash/touch/touch_transformer_controller.cc View 1 2 1 chunk +0 lines, -281 lines 0 comments Download
A ash/touch/touch_transformer_controller_ozone.cc View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A + ash/touch/touch_transformer_controller_x11.cc View 1 2 6 chunks +17 lines, -17 lines 0 comments Download
M ui/events/ozone/evdev/touch_event_converter_evdev.h View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M ui/events/ozone/evdev/touch_event_converter_evdev.cc View 1 2 4 chunks +4 lines, -91 lines 0 comments Download
M ui/ozone/platform/dri/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/display_manager.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/display_manager.cc View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri_window.h View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_window.cc View 1 2 3 4 3 chunks +13 lines, -2 lines 0 comments Download
M ui/ozone/platform/dri/native_display_delegate_proxy.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/native_display_delegate_proxy.cc View 1 2 2 chunks +30 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_dri.cc View 1 2 3 4 chunks +5 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/ozone_platform_gbm.cc View 1 2 3 3 chunks +10 lines, -3 lines 0 comments Download
A ui/ozone/platform/dri/touch_converter.h View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/touch_converter.cc View 1 2 1 chunk +150 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
dnicoara
There are a few things that I think require attention, but I'd like to discuss ...
6 years, 2 months ago (2014-10-20 19:37:20 UTC) #2
spang
I'm not enthusiastic about this.. I find it fairly impenetrable. Why are we pushing the ...
6 years, 2 months ago (2014-10-21 22:38:22 UTC) #3
dnicoara
On 2014/10/21 22:38:22, spang wrote: > I'm not enthusiastic about this.. I find it fairly ...
6 years, 2 months ago (2014-10-22 14:37:13 UTC) #4
spang
On 2014/10/22 14:37:13, dnicoara wrote: > On 2014/10/21 22:38:22, spang wrote: > > I'm not ...
6 years, 2 months ago (2014-10-22 14:58:32 UTC) #5
dnicoara
On 2014/10/22 14:58:32, spang wrote: > On 2014/10/22 14:37:13, dnicoara wrote: > > On 2014/10/21 ...
6 years, 2 months ago (2014-10-22 18:00:08 UTC) #6
spang
6 years, 2 months ago (2014-10-22 18:38:24 UTC) #7
On 2014/10/22 18:00:08, dnicoara wrote:
> On 2014/10/22 14:58:32, spang wrote:
> > On 2014/10/22 14:37:13, dnicoara wrote:
> > > On 2014/10/21 22:38:22, spang wrote:
> > > > I'm not enthusiastic about this.. I find it fairly impenetrable.
> > > > 
> > > > Why are we pushing the association down into DeviceDataManager, only to
> get
> > it
> > > > back out again somewhere bizarrely later, necessitating a lot of
> complexity
> > > > (caching..)?
> > > 
> > > The association happens in Ash. I'd like to leave the association outside
of
> > > Ozone since matching displays and touchscreens will likely get more
complex
> as
> > > we start supporting multiple external touchscreen displays and will likely
> > > require user interaction to properly associate them.
> > 
> > Even supposing we leave association entirely to ash (and I'm not actually
> > convinced), the way the current patch does that is unnecessarily roundabout.
> > 
> > This patch is moving state between 2 components by means of a 3rd component
> > (events), that simply implements an otherwise unneeded global object. Please
> > don't do it this way.
> > 
> > You can call into ui/ozone/public from ash without restriction.
> 
> So we're making a 4th component because DDM is a singleton? We'll just end up
> writing an Ozone version of DDM.
> 
> Regardless of which level we put the logic in, it'll be about the same amount
of
> complexity. Even if all of the mapping logic is in Ozone, Ash still needs
access
> to it since touchscreens are treated differently.
> 
> The one thing that I'd like to simplify is adding the display bounds in pixels
> and native resolution to gfx::Display so that I can use gfx::Screen to find
the
> display associated with a PlatformWindow. That would drop the requirement of
> needing an internal DisplayManager.

Okay, well, I'm strongly against landing this as written.

We need to work torwards a sane division of labor between ash/athena/mojo and
ozone here instead of taking the existing boundary as fixed.

Michael

Powered by Google App Engine
This is Rietveld 408576698