[PATCH 00/18] xserver switch to byte counting functions
Peter Hutterer
peter.hutterer at who-t.net
Wed Jul 8 17:04:58 PDT 2009
This patch series switches the server from manual byte/dword/padding
calculations to the functions I proposed in an earlier patch (patch
included).
It's not a particularly interesting patch set to review but suitable for the
after-lunch slump. The patches are split up per subsystem, if they touch one
that you are familiar with please review and let me know.
I can remove subsystems from this patch series if you are really
uncomfortable with them.
Today's "my keyboard didn't have a 3 key" award goes to Xi:
- rep.length = (rep.nElts + (4 - 1)) / 4;
Cheers,
Peter
The following changes since commit 48a9d65b88f56d1f8ab3bf824a4fe48c2f68725f:
Jon TURNEY (1):
Cygwin/X: Window positioning improvements for multiwindow mode
are available in the git repository at:
git://people.freedesktop.org/~whot/xserver.git bytecounting
Peter Hutterer (18):
include: introduce byte counting functions.
Xi: use byte-counting macros instead of manual calculation.
dix: switch to byte-counting functions.
exa: switch to byte counting functions.
dmx: switch to byte counting functions
glx: switch to byte counting functions
xfree86: switch to byte counting functions
xquartz: switch to byte counting functions
xwin: switch to byte counting functions
Xext: switch to byte counting functions
randr: switch to byte counting functions
os: switch to byte counting functions
render: switch to byte counting functions
xfixes: switch to byte counting functions
ephyr: switch to byte counting functions
xkb: switch to byte counting functions
record: switch to byte counting functions
dbe: switch to byte counting functions
Xext/mbuf.c | 10 +++---
Xext/panoramiX.c | 4 +-
Xext/panoramiXprocs.c | 18 +++++-----
Xext/saver.c | 4 +-
Xext/security.c | 16 ++++----
Xext/shape.c | 2 +-
Xext/sync.c | 12 +++---
Xext/xf86bigfont.c | 2 +-
Xext/xres.c | 4 +-
Xext/xselinux.c | 6 ++--
Xext/xvdisp.c | 16 ++++----
Xext/xvmc.c | 8 ++--
Xi/chgdctl.c | 6 ++--
Xi/chgfctl.c | 14 ++++----
Xi/chgkmap.c | 2 +-
Xi/chgprop.c | 2 +-
Xi/exevents.c | 10 +++---
Xi/getbmap.c | 2 +-
Xi/getdctl.c | 2 +-
Xi/getfctl.c | 2 +-
Xi/getprop.c | 2 +-
Xi/getselev.c | 2 +-
Xi/getvers.c | 4 +-
Xi/grabdev.c | 4 +-
Xi/grabdevb.c | 2 +-
Xi/grabdevk.c | 2 +-
Xi/gtmotion.c | 2 +-
Xi/listdev.c | 2 +-
Xi/opendev.c | 2 +-
Xi/queryst.c | 2 +-
Xi/selectev.c | 2 +-
Xi/sendexev.c | 8 ++--
Xi/setbmap.c | 4 +-
Xi/setdval.c | 2 +-
Xi/setmmap.c | 4 +-
Xi/xichangehierarchy.c | 2 +-
Xi/xiproperty.c | 8 ++--
Xi/xiquerydevice.c | 13 ++++---
Xi/xiquerypointer.c | 2 +-
Xi/xiselectev.c | 2 +-
dbe/dbe.c | 2 +-
dix/devices.c | 9 +++--
dix/dispatch.c | 56 ++++++++++++++++----------------
dix/dixfonts.c | 12 +++---
dix/eventconvert.c | 10 +++---
dix/events.c | 4 +-
dix/extension.c | 2 +-
dix/property.c | 6 ++--
dix/swaprep.c | 4 +-
dix/window.c | 4 +-
exa/exa.c | 6 ++--
glx/indirect_util.c | 4 +-
glx/rensize.c | 2 +-
hw/dmx/dmx.c | 20 ++++++------
hw/dmx/glxProxy/glxsingle.c | 2 +-
hw/kdrive/ephyr/ephyrdriext.c | 14 ++++----
hw/kdrive/ephyr/ephyrhostglx.c | 2 +-
hw/xfree86/common/xf86DGA.c | 2 +-
hw/xfree86/dixmods/extmod/xf86dga2.c | 8 ++--
hw/xfree86/dixmods/extmod/xf86vmode.c | 42 ++++++++++++------------
hw/xfree86/dri/xf86dri.c | 14 ++++----
hw/xfree86/modes/xf86Modes.c | 2 +-
hw/xfree86/os-support/linux/lnx_font.c | 2 +-
hw/xfree86/xaa/xaaFillRect.c | 2 +-
hw/xfree86/xaa/xaaImage.c | 6 ++--
hw/xfree86/xaa/xaaPCache.c | 2 +-
hw/xquartz/pseudoramiX.c | 2 +-
hw/xquartz/xpr/xprCursor.c | 2 +-
hw/xwin/wincursor.c | 14 +++----
include/misc.h | 30 +++++++++++++++++
os/access.c | 4 +-
os/io.c | 6 ++--
randr/rrcrtc.c | 14 ++++----
randr/rrmode.c | 4 +-
randr/rroutput.c | 8 ++--
randr/rrproperty.c | 8 ++--
randr/rrscreen.c | 8 ++--
randr/rrsdispatch.c | 4 +-
randr/rrxinerama.c | 2 +-
record/record.c | 13 ++++---
render/render.c | 16 ++++----
test/input.c | 39 ++++++++++++++++++++++
xfixes/cursor.c | 6 ++--
xkb/xkb.c | 4 +-
84 files changed, 353 insertions(+), 283 deletions(-)
More information about the xorg-devel
mailing list