[PATCH v2] dix: support the transformation matrix for relative devices.
Keith Packard
keithp at keithp.com
Thu Feb 7 23:05:54 PST 2013
Peter Hutterer <peter.hutterer at who-t.net> writes:
> The transformation matrix we previously stored was a scaled matrix based on
> the axis ranges of the device. For relative movements, the scaling is not
> required (or desired).
>
> Store two separate matrices, one as requested by the client, one as the
> product of [scale . matrix . inv_scale]. Depending on the type of movement,
> apply the respective matrix.
>
> For relative movements, also drop the translation component since it doesn't
> really make sense to use that bit.
>
> Input ABI 19
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Keith Packard <keithp at keithp.com>
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130207/7b86b84d/attachment.pgp>
More information about the xorg-devel
mailing list