Descriptionozone: evdev: Add a device event dispatcher that forwards to UI thread
This is part of a series moving IO on evdev devices to a fast thread,
since UI thread is too slow for the cursor.
Make a new class ForwardingDeviceEventDispatcher that wraps
EventFactoryOzone and can be safely passed to another thread. When the
other thread dispatches, we'll post to EventFactoryOzone on the UI thread
with the event.
BUG=449710
TEST=boot link_freon & move mouse
Committed: https://crrev.com/673df3d93162edb9ad89544a1979d58a15b35cc5
Cr-Commit-Position: refs/heads/master@{#313875}
Patch Set 1 #Patch Set 2 : updates for events_unittests #
Total comments: 1
Patch Set 3 : rebase #Patch Set 4 : rebase #Messages
Total messages: 9 (2 generated)
|