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

Issue 2723653003: ash: Avoid unnecessary laser pointer updates. (Closed)

Created:
3 years, 9 months ago by reveman
Modified:
3 years, 9 months ago
CC:
chromium-reviews, kalyank, sadrul, oshima
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Avoid unnecessary laser pointer updates. Increase kAddStationaryPointsDelayMs to 16ms as updating this more frequently is not going to make a difference on a 60FPS display. Also reset stationary timer each time we receive an input event to avoid unnecessary updates. BUG=696385 Review-Url: https://codereview.chromium.org/2723653003 Cr-Commit-Position: refs/heads/master@{#454990} Committed: https://chromium.googlesource.com/chromium/src/+/41364502a9780a5be401e6645c527904313834fb

Patch Set 1 #

Total comments: 2

Patch Set 2 : comment and TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M ash/laser/laser_pointer_controller.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (8 generated)
reveman
3 years, 9 months ago (2017-02-28 02:00:17 UTC) #2
sammiequon
Thanks! lgtm
3 years, 9 months ago (2017-02-28 02:48:13 UTC) #3
jdufault
https://codereview.chromium.org/2723653003/diff/1/ash/laser/laser_pointer_controller.cc File ash/laser/laser_pointer_controller.cc (right): https://codereview.chromium.org/2723653003/diff/1/ash/laser/laser_pointer_controller.cc#newcode23 ash/laser/laser_pointer_controller.cc:23: const int kAddStationaryPointsDelayMs = 16; Please document why 16ms ...
3 years, 9 months ago (2017-02-28 20:25:08 UTC) #5
reveman
+oshima for ash/ owner review https://codereview.chromium.org/2723653003/diff/1/ash/laser/laser_pointer_controller.cc File ash/laser/laser_pointer_controller.cc (right): https://codereview.chromium.org/2723653003/diff/1/ash/laser/laser_pointer_controller.cc#newcode23 ash/laser/laser_pointer_controller.cc:23: const int kAddStationaryPointsDelayMs = ...
3 years, 9 months ago (2017-03-02 14:42:40 UTC) #7
reveman
ping for owner review
3 years, 9 months ago (2017-03-06 19:57:50 UTC) #8
jdufault
Thanks; lgtm. On 2017/03/06 19:57:50, reveman wrote: > ping for owner review oshima@ is OOO ...
3 years, 9 months ago (2017-03-06 20:08:05 UTC) #9
reveman
-oshima +derat for ash/ owner review
3 years, 9 months ago (2017-03-06 20:50:12 UTC) #11
Daniel Erat
lgtm
3 years, 9 months ago (2017-03-06 21:23:24 UTC) #12
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/2723653003/20001
3 years, 9 months ago (2017-03-06 22:28:48 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 23:04:43 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/41364502a9780a5be401e6645c52...

Powered by Google App Engine
This is Rietveld 408576698