xserver-multidpi/hw/xfree86/modes
Hans de Goede df88008f92 xf86Cursor: Deal with rotation on GPU screens using a hw-cursor
When a slave-output is rotated the transformation is done on the blit
from master to slave GPU, so crtc->transform_in_use is not set, but we
still need to adjust the mouse position for things to work.

This commit modifies xf86_crtc_transform_cursor_position to not rely
on crtc->f_framebuffer_to_crtc, so that it can be used with GPU screens
too and always calls it for crtcs with any form of rotation.

Note not using crtc->f_framebuffer_to_crtc means that crtc->transform
will not be taken into account, that is ok, because when we've a transform
active hw-cursors are not used and xf86_crtc_transform_cursor_position
will never get called.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
2016-09-13 10:27:12 +02:00
..
Makefile.am xfree86: Remove DisplayID support 2014-09-26 15:27:18 -04:00
xf86Crtc.c xfree86/modes: Move gamma initialization to xf86RandR12Init12 v2 2016-07-27 17:49:39 +09:00
xf86Crtc.h randr/xf86: Add PRIME Synchronization / Double Buffer 2016-06-28 12:56:17 -04:00
xf86Cursors.c xf86Cursor: Deal with rotation on GPU screens using a hw-cursor 2016-09-13 10:27:12 +02:00
xf86cvt.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86DiDGA.c Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
xf86EdidModes.c xfree86: Fix the 1792x1344-75 EST III mode 2015-09-23 13:18:22 -04:00
xf86gtf.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86Modes.c xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xf86Modes.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86RandR12.c xfree86/modes: Handle no palette case better in xf86RandR12CrtcSetGamma 2016-08-10 16:56:09 +09:00
xf86RandR12.h xfree86: Hook up colormaps and RandR 1.2 gamma code v6 2016-07-28 10:12:05 +09:00
xf86Rotate.c Remove readmask from screen block/wakeup handler 2016-07-18 15:27:51 -04:00