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

Issue 688163004: Move X11 device processing to worker threads (Closed)

Created:
6 years, 1 month ago by dnicoara
Modified:
6 years, 1 month ago
Reviewers:
sadrul
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix-blocking-touchscreen
Project:
chromium
Visibility:
Public.

Description

Move X11 device processing to worker threads This moves blocking operations from the UI thread to worker threads. BUG=428464 Committed: https://crrev.com/3a2200e8fcdc83989c6ee200fbdce5958ccd9011 Cr-Commit-Position: refs/heads/master@{#303891}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Copy device information #

Total comments: 10

Patch Set 3 : Fix comments #

Patch Set 4 : add DCHECK #

Total comments: 2

Patch Set 5 : Rebased #

Patch Set 6 : Add null #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -86 lines) Patch
M ui/events/devices/device_util_linux.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/platform/x11/x11_event_source.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/platform/x11/x11_event_source.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M ui/events/platform/x11/x11_hotplug_event_handler.h View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M ui/events/platform/x11/x11_hotplug_event_handler.cc View 1 2 3 4 5 7 chunks +228 lines, -76 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
dnicoara
PTAL
6 years, 1 month ago (2014-11-05 19:28:44 UTC) #2
sadrul
https://codereview.chromium.org/688163004/diff/1/ui/events/devices/device_util_linux.cc File ui/events/devices/device_util_linux.cc (right): https://codereview.chromium.org/688163004/diff/1/ui/events/devices/device_util_linux.cc#newcode19 ui/events/devices/device_util_linux.cc:19: std::string event_node = path.BaseName().value(); Can you add CHECK_NE(TYPE_UI, MessageLoop::current()->type()) ...
6 years, 1 month ago (2014-11-06 21:05:28 UTC) #3
dnicoara
I feel a bit dirty for having to create wrapper structs. I was looking if ...
6 years, 1 month ago (2014-11-10 19:34:52 UTC) #4
sadrul
https://codereview.chromium.org/688163004/diff/1/ui/events/devices/device_util_linux.cc File ui/events/devices/device_util_linux.cc (right): https://codereview.chromium.org/688163004/diff/1/ui/events/devices/device_util_linux.cc#newcode19 ui/events/devices/device_util_linux.cc:19: std::string event_node = path.BaseName().value(); On 2014/11/10 19:34:51, dnicoara wrote: ...
6 years, 1 month ago (2014-11-11 18:29:51 UTC) #5
dnicoara
https://codereview.chromium.org/688163004/diff/20001/ui/events/platform/x11/x11_hotplug_event_handler.cc File ui/events/platform/x11/x11_hotplug_event_handler.cc (right): https://codereview.chromium.org/688163004/diff/20001/ui/events/platform/x11/x11_hotplug_event_handler.cc#newcode58 ui/events/platform/x11/x11_hotplug_event_handler.cc:58: struct ValuatorClassInfo { On 2014/11/11 18:29:51, sadrul wrote: > ...
6 years, 1 month ago (2014-11-11 20:49:06 UTC) #6
sadrul
LGTM
6 years, 1 month ago (2014-11-11 22:57:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/688163004/60001
6 years, 1 month ago (2014-11-12 18:42:11 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/79118) linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/5080)
6 years, 1 month ago (2014-11-12 19:07:34 UTC) #11
sadrul
https://codereview.chromium.org/688163004/diff/60001/ui/events/platform/x11/x11_hotplug_event_handler.cc File ui/events/platform/x11/x11_hotplug_event_handler.cc (right): https://codereview.chromium.org/688163004/diff/60001/ui/events/platform/x11/x11_hotplug_event_handler.cc#newcode47 ui/events/platform/x11/x11_hotplug_event_handler.cc:47: "Abs MT Position Y", Ooops. Looks like this needs ...
6 years, 1 month ago (2014-11-12 19:29:43 UTC) #12
dnicoara
https://codereview.chromium.org/688163004/diff/60001/ui/events/platform/x11/x11_hotplug_event_handler.cc File ui/events/platform/x11/x11_hotplug_event_handler.cc (right): https://codereview.chromium.org/688163004/diff/60001/ui/events/platform/x11/x11_hotplug_event_handler.cc#newcode47 ui/events/platform/x11/x11_hotplug_event_handler.cc:47: "Abs MT Position Y", On 2014/11/12 19:29:43, sadrul wrote: ...
6 years, 1 month ago (2014-11-12 19:46:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/688163004/100001
6 years, 1 month ago (2014-11-12 20:08:01 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 1 month ago (2014-11-12 20:52:42 UTC) #16
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 20:53:28 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3a2200e8fcdc83989c6ee200fbdce5958ccd9011
Cr-Commit-Position: refs/heads/master@{#303891}

Powered by Google App Engine
This is Rietveld 408576698