Chromium Code Reviews
Descriptionash: Add basic prediction code to the laser pointer.
This introduces some basic prediction code to the laser pointer. The
code predicts the state at the next presentation time and adds points
and adjusts current points to reflect this.
Presentation time is next VSYNC time + some device specific constant
that represents the time it takes from VSYNC until a change in light
can be observed by the user.
BUG=696385
TEST=ash_unittests --gtest_filter=LaserPointerControllerTest.LaserPointerPrediction
Review-Url: https://codereview.chromium.org/2745953002
Cr-Commit-Position: refs/heads/master@{#457572}
Committed: https://chromium.googlesource.com/chromium/src/+/6e29796bd01d666af693908264a2d52909da420f
Patch Set 1 #Patch Set 2 : improved prediction #Patch Set 3 : add point prediction error counter and more robust prediction #Patch Set 4 : fix typo #
Total comments: 18
Patch Set 5 : address feedback #Patch Set 6 : Use ui::EventTimeForNow everywhere #Patch Set 7 : missing include and minor cleanup #
Total comments: 10
Patch Set 8 : Add unit test and fix nits #
Total comments: 6
Patch Set 9 : more tests and nits #
Messages
Total messages: 29 (16 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||