xserver/hw
Benjamin Defnet 7f95d18397 hw/xf86/modes: Set crtc mode/rotation/transform before calling set_mode_major
This moves code out of each implementation of set_mode_major and back into
the X server. The real feature here is that the transform is now available
in the crtc for use by either xf86CrtcRotate or whatever the driver wants to
do. Without this change, the transform was lost for drivers providing the
set_mode_major interface.

Note that users of this API will want to stop smashing the transformPresent
field, and could also stop setting mode/x/y/rotation for new enough X servers,
but there's no reason to make that change as it will break things when
running against older X servers.

Signed-off-by: Keith Packard <keithp@keithp.com>
Acked-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit 6f59a81600)

Signed-off-by: Keith Packard <keithp@keithp.com>
2009-07-26 13:56:57 -07:00
..
dmx Fix dmx compile on 1.6 branch. 2009-01-12 10:57:11 -08:00
kdrive kdrive: set Activate/Deactivate grab for input devices (#21591) 2009-06-29 14:17:13 -07:00
vfb vfb: Fix depth setup. 2009-06-11 15:19:47 -04:00
xfree86 hw/xf86/modes: Set crtc mode/rotation/transform before calling set_mode_major 2009-07-26 13:56:57 -07:00
xnest Warning fix 2008-11-25 15:05:18 -05:00
xquartz XQuartz: Re-enable support for capslock 2009-02-25 11:35:19 -08:00
xwin xalloc+memset(0) -> xcalloc 2008-10-06 15:36:51 -04:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00