xserver-multidpi/hw
Jasper St. Pierre 4e12d7b6f4 modesetting: Update the cursor without hiding it
In the new KMS APIs, the legacy drmModeSetCursor ioctl actually waits
for a vblank after changing the cursor image before returning, meaning
that the X server, in attempting to hide the cursor before updating
its image, actually makes that hide *visible* for a full vblank.

It's unknown why the X server does this by default, but turn it off.

If we're with a legacy driver that doesn't support the modern
drmModeSetCursor by waiting for a vblank before returning, we're going
to get a tiny bit of tearing on the cursor plane. But between tearing
with a new cursor image and tearing with a blank cursor image, I'd
rather the former.

The only proper solution to this is an atomic ioctl that page flips
all planes, including the cursor plane, at vblank time and at the same
time.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2015-01-10 14:45:09 +13:00
..
dmx Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
kdrive ephyr: Implement per-screen colormaps 2015-01-02 13:55:14 -08:00
vfb vfb: Don't reimplement micmap so much 2014-10-08 10:10:39 +02:00
xfree86 modesetting: Update the cursor without hiding it 2015-01-10 14:45:09 +13:00
xnest Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xquartz Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xwayland Remove explicit dependency on $(WAYLAND_LIBS) 2015-01-04 16:51:19 -08:00
xwin Merge remote-tracking branch 'jturney/master' 2014-12-08 18:04:08 -08:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00