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

Issue 873833002: [PATCH 11/11] ozone: evdev: Add dedicated events thread (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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: evdev: Add dedicated events thread This creates a new thread for polling evdev on, and moves the InputDeviceFactoryEvdev object onto that thread. We'll use this new thread to avoid UI-thread jank affecting the cursor. BUG=449710 TEST=boot link_freon & move cursor with simulated UI jank. cursor moves while UI thread is stalled. Committed: https://crrev.com/be9342d2b87b41a865fa9672577b98d1ef8e2816 Cr-Commit-Position: refs/heads/master@{#313981}

Patch Set 1 #

Patch Set 2 : updates for events_unittests #

Total comments: 2

Patch Set 3 : add Stop() to ~EvdevThread #

Total comments: 2

Patch Set 4 : rebase & add more threading comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -22 lines) Patch
M ui/events/ozone/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.h View 1 2 3 4 chunks +14 lines, -4 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 1 2 3 4 4 chunks +28 lines, -18 lines 0 comments Download
A ui/events/ozone/evdev/event_thread_evdev.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A ui/events/ozone/evdev/event_thread_evdev.cc View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/input_device_factory_evdev_proxy.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/ozone/events_ozone.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
spang
5 years, 11 months ago (2015-01-23 22:02:22 UTC) #2
spang
alexst@ for in-depth review +piman@ for high-level review (+CC for prep work) This series finishes ...
5 years, 11 months ago (2015-01-27 19:31:37 UTC) #4
piman
One thing, but otherwise LGTM in principle https://codereview.chromium.org/873833002/diff/20001/ui/events/ozone/evdev/event_thread_evdev.cc File ui/events/ozone/evdev/event_thread_evdev.cc (right): https://codereview.chromium.org/873833002/diff/20001/ui/events/ozone/evdev/event_thread_evdev.cc#newcode33 ui/events/ozone/evdev/event_thread_evdev.cc:33: ~EvdevThread() override ...
5 years, 11 months ago (2015-01-28 00:07:26 UTC) #5
spang
https://codereview.chromium.org/873833002/diff/20001/ui/events/ozone/evdev/event_thread_evdev.cc File ui/events/ozone/evdev/event_thread_evdev.cc (right): https://codereview.chromium.org/873833002/diff/20001/ui/events/ozone/evdev/event_thread_evdev.cc#newcode33 ui/events/ozone/evdev/event_thread_evdev.cc:33: ~EvdevThread() override {} On 2015/01/28 00:07:26, piman (Very slow ...
5 years, 11 months ago (2015-01-28 00:20:14 UTC) #6
piman
lgtm
5 years, 11 months ago (2015-01-28 01:06:28 UTC) #7
alexst (slow to review)
lgtm, modulo rebases and nitty comments from previous patches. https://codereview.chromium.org/873833002/diff/40001/ui/events/ozone/evdev/event_factory_evdev.cc File ui/events/ozone/evdev/event_factory_evdev.cc (right): https://codereview.chromium.org/873833002/diff/40001/ui/events/ozone/evdev/event_factory_evdev.cc#newcode302 ui/events/ozone/evdev/event_factory_evdev.cc:302: ...
5 years, 10 months ago (2015-01-28 21:06:13 UTC) #8
spang
https://codereview.chromium.org/873833002/diff/40001/ui/events/ozone/evdev/event_factory_evdev.cc File ui/events/ozone/evdev/event_factory_evdev.cc (right): https://codereview.chromium.org/873833002/diff/40001/ui/events/ozone/evdev/event_factory_evdev.cc#newcode302 ui/events/ozone/evdev/event_factory_evdev.cc:302: scoped_ptr<DeviceEventDispatcherEvdev> dispatcher( On 2015/01/28 21:06:12, alexst wrote: > per ...
5 years, 10 months ago (2015-01-28 21:37:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/873833002/80001
5 years, 10 months ago (2015-01-30 20:00:13 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-01-30 20:38:48 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 20:39:57 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/be9342d2b87b41a865fa9672577b98d1ef8e2816
Cr-Commit-Position: refs/heads/master@{#313981}

Powered by Google App Engine
This is Rietveld 408576698