xserver-multidpi/hw/xfree86
Peter Hutterer 675f4a8525 Abstract valuator masks through a set of APIs.
This commit introduces an abstraction API for handling masked valuators. The
intent is that drivers just allocate a mask, set the data and pass the mask
to the server. The actual storage type of the mask is hidden from the
drivers.

The new calls for drivers are:
    valuator_mask_new()     /* to allocate a valuator mask */
    valuator_mask_zero()    /* to reset a mask to zero */
    valuator_mask_set()     /* to set a valuator value */

The new interface to the server is
    xf86PostMotionEventM()
    xf86PostButtonEventM()
    xf86PostKeyboardEventM()
    xf86PostProximityEventM()

all taking a mask instead of the valuator array.

The ValuatorMask is currently defined for MAX_VALUATORS fixed size due to
memory allocation restrictions in SIGIO handlers.

For easier review, a lot of the code still uses separate valuator arrays.
This will be fixed in a later patch.

This patch was initially written by Chase Douglas.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
2010-10-22 11:02:48 +10:00
..
common Abstract valuator masks through a set of APIs. 2010-10-22 11:02:48 +10:00
ddc edid: Adjust rounding of max_clock 2010-08-20 08:55:05 -07:00
dixmods xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
doc Merge branch 'master' into input-api 2010-10-15 13:46:59 +10:00
dri xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
dri2 DRI2: re-allocate DRI2 drawable if pixmap serial changes 2010-07-09 16:14:14 -07:00
exa Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
fbdevhw xfree86: Remove useless module setup functions where appropriate 2010-09-22 10:57:22 -04:00
i2c xfree86: Remove useless module setup functions where appropriate 2010-09-22 10:57:22 -04:00
int10 Merge remote branch 'ajax/less-loader' 2010-09-28 08:15:07 -07:00
loader xfree86: Do not call dlclose(NULL) [regression after ab7f057] 2010-10-04 11:46:07 -07:00
modes edid: Fix the HDTV sync pulse adjustment 2010-10-05 08:19:25 -07:00
os-support Merge branch 'master' into input-api 2010-10-15 13:46:59 +10:00
parser os/xfree86: remove macro checking for POSIX symbols 2010-09-10 21:49:28 +03:00
ramdac Add API to update setting of waitForUpdate screen private in miPointer 2010-07-02 14:27:49 +10:00
shadowfb xfree86: Kill pixmapPrivate with a vengeance (v2) 2010-09-28 08:07:21 -07:00
utils Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vbe vbe: Fix copying the mode info block 2010-10-05 10:20:43 -07:00
vgahw xfree86: nds32: add nds32 definition for vgaHW support. 2010-09-23 15:36:19 -07:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-07 16:18:24 -07:00
xaa Delete redundant GC initializations. 2010-09-13 15:55:17 -07:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00