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 2560633002: exo: Implement v6 of touch protocol including shape and frame event (Closed)

Created:
4 years ago by denniskempin
Modified:
4 years ago
Reviewers:
reveman, sadrul
CC:
chromium-reviews, jdufault
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Implement v6 of touch protocol including shape and frame event This is a prerequisite for passing along pen information via touch events. Ideally we want to batch multiple touch updates of a single hardware event together with a single frame event. However this will need an extension of ui::TouchEvents. We still provide a valid implementation of wl_touch by sending a frame for every updated touch separately. BUG=665499 TEST=Updated unit tests Committed: https://crrev.com/f4361e3208bca8ab2a5a8a2cc1af1b04602fdf2e Cr-Commit-Position: refs/heads/master@{#438908}

Patch Set 1 #

Patch Set 2 : only report major/minor when changed #

Patch Set 3 : extend event_generator to test touch radius #

Total comments: 8

Patch Set 4 : Always send shape update #

Total comments: 3

Patch Set 5 : fixed nits #

Patch Set 6 : Fixed pen pointer mode conflict after rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -47 lines) Patch
M components/exo/touch.cc View 1 2 3 4 2 chunks +44 lines, -30 lines 0 comments Download
M components/exo/touch_delegate.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M components/exo/touch_unittest.cc View 1 2 3 4 5 13 chunks +73 lines, -0 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 4 5 2 chunks +13 lines, -3 lines 0 comments Download
M ui/events/test/event_generator.h View 1 2 3 4 5 5 chunks +17 lines, -4 lines 0 comments Download
M ui/events/test/event_generator.cc View 1 2 3 4 5 4 chunks +15 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 55 (26 generated)
denniskempin
PTAL. To implement the zcr_stylus_v2 protocol we need to properly implement the frame event. And ...
4 years ago (2016-12-06 22:41:56 UTC) #2
denniskempin
Hi Sadrul! Writing some exo unittests I have made some useful extension to EventGenerator to ...
4 years ago (2016-12-07 02:17:17 UTC) #4
reveman
https://codereview.chromium.org/2560633002/diff/40001/components/exo/touch.cc File components/exo/touch.cc (right): https://codereview.chromium.org/2560633002/diff/40001/components/exo/touch.cc#newcode20 components/exo/touch.cc:20: static bool AlmostEqual(T x, T y) { This would ...
4 years ago (2016-12-07 03:16:18 UTC) #5
sadrul
lgtm https://codereview.chromium.org/2560633002/diff/40001/ui/events/test/event_generator.cc File ui/events/test/event_generator.cc (right): https://codereview.chromium.org/2560633002/diff/40001/ui/events/test/event_generator.cc#newcode270 ui/events/test/event_generator.cc:270: pen_pointer_mode_ = true; Should these be updated?
4 years ago (2016-12-07 18:00:19 UTC) #6
denniskempin
https://codereview.chromium.org/2560633002/diff/40001/components/exo/touch.cc File components/exo/touch.cc (right): https://codereview.chromium.org/2560633002/diff/40001/components/exo/touch.cc#newcode20 components/exo/touch.cc:20: static bool AlmostEqual(T x, T y) { On 2016/12/07 ...
4 years ago (2016-12-07 18:32:18 UTC) #7
reveman
https://codereview.chromium.org/2560633002/diff/40001/components/exo/touch.cc File components/exo/touch.cc (right): https://codereview.chromium.org/2560633002/diff/40001/components/exo/touch.cc#newcode20 components/exo/touch.cc:20: static bool AlmostEqual(T x, T y) { On 2016/12/07 ...
4 years ago (2016-12-07 22:58:00 UTC) #8
denniskempin
https://codereview.chromium.org/2560633002/diff/40001/components/exo/touch.cc File components/exo/touch.cc (right): https://codereview.chromium.org/2560633002/diff/40001/components/exo/touch.cc#newcode20 components/exo/touch.cc:20: static bool AlmostEqual(T x, T y) { On 2016/12/07 ...
4 years ago (2016-12-07 23:40:54 UTC) #9
reveman
lgtm % nits https://codereview.chromium.org/2560633002/diff/60001/components/exo/touch.cc File components/exo/touch.cc (right): https://codereview.chromium.org/2560633002/diff/60001/components/exo/touch.cc#newcode125 components/exo/touch.cc:125: delegate_->OnTouchShape(event->touch_id(), Can you move this up ...
4 years ago (2016-12-08 01:40:45 UTC) #10
commit-bot: I haz the power
This CL has an open dependency (Issue 2548603002 Patch 40001). Please resolve the dependency and ...
4 years ago (2016-12-08 19:37:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/80001
4 years ago (2016-12-08 22:53:15 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/206054)
4 years ago (2016-12-08 23:08:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/80001
4 years ago (2016-12-08 23:14:57 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/274950)
4 years ago (2016-12-08 23:23:13 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/80001
4 years ago (2016-12-08 23:45:37 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/331444)
4 years ago (2016-12-08 23:59:15 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/80001
4 years ago (2016-12-09 00:07:29 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/135654)
4 years ago (2016-12-09 00:16:21 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/80001
4 years ago (2016-12-09 00:30:22 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/285640)
4 years ago (2016-12-09 01:39:19 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/80001
4 years ago (2016-12-09 18:25:32 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/286168)
4 years ago (2016-12-09 20:26:50 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/80001
4 years ago (2016-12-09 21:11:51 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/286347)
4 years ago (2016-12-09 22:56:54 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/80001
4 years ago (2016-12-14 22:29:23 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/289207)
4 years ago (2016-12-14 23:52:43 UTC) #46
denniskempin
Jacob, FYI I changed event generator to allow for more generic pointer details.
4 years ago (2016-12-15 19:11:51 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560633002/100001
4 years ago (2016-12-15 19:12:30 UTC) #50
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-15 20:17:01 UTC) #53
commit-bot: I haz the power
4 years ago (2016-12-15 20:20:57 UTC) #55
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f4361e3208bca8ab2a5a8a2cc1af1b04602fdf2e
Cr-Commit-Position: refs/heads/master@{#438908}

Powered by Google App Engine
This is Rietveld 408576698