diff options
author | Keith Packard <keithp@keithp.com> | 2014-07-20 18:53:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-31 00:03:53 -0700 |
commit | 627bce80894647c681b146a709aad4c390b4374e (patch) | |
tree | f8a0b6c6372d61d1dc940d6ec9bbfe8d42ed5861 /Xi | |
parent | bd4198b01f2baf2284e61ea7ebf4600f554800e9 (diff) |
present: Make window MSC offset 0 initially
The MSC offset used by a window is adjusted as the window moves
between screens, and between shown/unshown. The value shouldn't
matter, but it's helpful for debugging to have window MSC values be
the same as the CRTC MSC at first.
This patch introduces a unique CRTC value so that Present can detect
the first time a window is a PresentPixmap destination and set the MSC
offset to zero, rather than using the fake MSC value as the previous
window MSC.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'Xi')
0 files changed, 0 insertions, 0 deletions