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

Issue 863353003: [PATCH 6/11] ozone: evdev: Factor device I/O out of EventFactoryOzone (Closed)

Created:
5 years, 11 months ago by spang
Modified:
5 years, 10 months ago
CC:
chromium-reviews, kalyank, tdresser+watch_chromium.org, jdduke+watch_chromium.org, ozone-reviews_chromium.org, piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: evdev: Factor device I/O out of EventFactoryOzone This is part of a series moving IO on evdev devices to a fast thread, since UI thread is too slow for the cursor. This splits EventFactoryOzone into two parts: EventFactoryOzone and InputDeviceFactoryOzone. The new InputDeviceFactoryOzone class is now the device I/O-centric part, and is intended to exist on a low-latency thread. Hotplug events still originate on the UI thread, but this is not a problem because hotplug is not latency critical. We're sharing udev with the display code, so its easiest leave that code alone for now. This doesn't add a new thread yet. Everything still runs on the UI thread. BUG=449710 TEST=boot link_freon & move mouse Committed: https://crrev.com/5957ed6506d28c8310657416f728efdb93dea482 Cr-Commit-Position: refs/heads/master@{#313629}

Patch Set 1 #

Patch Set 2 : updates for events_unittests #

Total comments: 6

Patch Set 3 : add curlies & update per comments on previous patches #

Patch Set 4 : rebase #

Patch Set 5 : rebase on gestures patch #

Patch Set 6 : fix compile with USE_EVDEV_GESTURES #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -584 lines) Patch
M ui/events/ozone/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.h View 1 2 6 chunks +3 lines, -43 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 1 2 3 7 chunks +20 lines, -311 lines 0 comments Download
M ui/events/ozone/evdev/input_controller_evdev.h View 1 2 3 4 4 chunks +8 lines, -5 lines 0 comments Download
M ui/events/ozone/evdev/input_controller_evdev.cc View 1 2 3 4 5 8 chunks +32 lines, -13 lines 0 comments Download
A ui/events/ozone/evdev/input_device_factory_evdev.h View 1 1 chunk +107 lines, -0 lines 0 comments Download
A + ui/events/ozone/evdev/input_device_factory_evdev.cc View 1 2 3 12 chunks +48 lines, -212 lines 0 comments Download
M ui/events/ozone/events_ozone.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
spang
5 years, 11 months ago (2015-01-23 21:59:00 UTC) #2
alexst (slow to review)
lgtm with nits https://codereview.chromium.org/863353003/diff/20001/ui/events/ozone/evdev/event_factory_evdev.h File ui/events/ozone/evdev/event_factory_evdev.h (right): https://codereview.chromium.org/863353003/diff/20001/ui/events/ozone/evdev/event_factory_evdev.h#newcode100 ui/events/ozone/evdev/event_factory_evdev.h:100: // Factory for per-device objects. We ...
5 years, 11 months ago (2015-01-27 19:31:41 UTC) #3
spang
5 years, 11 months ago (2015-01-27 19:34:00 UTC) #4
spang
https://codereview.chromium.org/863353003/diff/20001/ui/events/ozone/evdev/input_device_factory_evdev.cc File ui/events/ozone/evdev/input_device_factory_evdev.cc (right): https://codereview.chromium.org/863353003/diff/20001/ui/events/ozone/evdev/input_device_factory_evdev.cc#newcode169 ui/events/ozone/evdev/input_device_factory_evdev.cc:169: gesture_property_provider_(new GesturePropertyProvider), Oops.
5 years, 11 months ago (2015-01-27 20:25:21 UTC) #5
alexst (slow to review)
https://codereview.chromium.org/863353003/diff/20001/ui/events/ozone/evdev/input_device_factory_evdev.cc File ui/events/ozone/evdev/input_device_factory_evdev.cc (right): https://codereview.chromium.org/863353003/diff/20001/ui/events/ozone/evdev/input_device_factory_evdev.cc#newcode169 ui/events/ozone/evdev/input_device_factory_evdev.cc:169: gesture_property_provider_(new GesturePropertyProvider), On 2015/01/27 20:25:21, spang wrote: > Oops. ...
5 years, 11 months ago (2015-01-27 20:26:18 UTC) #6
spang
https://codereview.chromium.org/863353003/diff/20001/ui/events/ozone/evdev/event_factory_evdev.h File ui/events/ozone/evdev/event_factory_evdev.h (right): https://codereview.chromium.org/863353003/diff/20001/ui/events/ozone/evdev/event_factory_evdev.h#newcode100 ui/events/ozone/evdev/event_factory_evdev.h:100: // Factory for per-device objects. On 2015/01/27 19:31:41, alexst ...
5 years, 11 months ago (2015-01-28 01:40:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863353003/60001
5 years, 10 months ago (2015-01-28 20:52:48 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/53260) ios_rel_device_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/5207) ios_rel_device_ninja_ng ...
5 years, 10 months ago (2015-01-28 20:55:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863353003/60001
5 years, 10 months ago (2015-01-28 21:00:44 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/53262) ios_rel_device_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/5209) ios_rel_device_ninja_ng ...
5 years, 10 months ago (2015-01-28 21:04:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863353003/60001
5 years, 10 months ago (2015-01-28 21:24:34 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/5220)
5 years, 10 months ago (2015-01-28 21:27:36 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863353003/60001
5 years, 10 months ago (2015-01-28 21:36:53 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/53281) ios_rel_device_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/5230)
5 years, 10 months ago (2015-01-28 21:39:39 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863353003/100001
5 years, 10 months ago (2015-01-28 23:11:10 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-01-29 00:05:31 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 00:06:39 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5957ed6506d28c8310657416f728efdb93dea482
Cr-Commit-Position: refs/heads/master@{#313629}

Powered by Google App Engine
This is Rietveld 408576698