diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-02-11 16:12:41 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-02-11 22:16:25 +0000 |
commit | 688f5e9bd7d3e1162db44ba341ac43e054aba237 (patch) | |
tree | 17c68ec0c8da510977dda6d4cce7bf232d3b239e /test/render-copy-alphaless.c | |
parent | 6b6ab5407219ba29bae19386067a9eefe355ad03 (diff) |
sna/present: Compensate for time elapsed since last swap
When computing the delay for the fake flip, compensate for any time
elapsed since the last frame in order to hit the desired vblank more
accurately. A side-effect of this is that we may now compute 0 delay
timers which require special handling.
Testcase: present-test/accuracy
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test/render-copy-alphaless.c')
0 files changed, 0 insertions, 0 deletions