~mir-team/mir/historical-pointer-on-trunk

Viewing all changes in revision 1937.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2014-09-25 07:57:28 UTC
  • mfrom: (1923.1.2 fast)
  • Revision ID: tarmac-20140925075728-g9f1f7ca2af1kig0
Reduced visible input lag by approx one frame (on 59-60Hz displays)*

It's not enough to resample input down to a rate similar to the refresh
rate. That only reduces your lag from "always growing" to a constant one
frame.

This proposal reduces lag further to almost zero, by periodically (five
times per second) bringing the cooked event interval in-phase with the
refresh rate. Thus about every 12th frame, the client is able to respond
to an input event and get composited with one frame less buffer lag than
before.

* Displays >>60Hz will already be experiencing this trick and won't
  benefit further.
.

Approved by Alexandros Frantzis, Kevin DuBois.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: