xserver-multidpi/render
Andrea Canciani 96cf8a77ac render: Fix byteswapping of gradient stops
The function swapStops repeatedly swaps the color components as
CARD16, but incorrectly steps over them as if they were CARD32.

This causes half of the stops not to be swapped at all and some
unrelated data be swapped instead.

Signed-off-by: Andrea Canciani <ranma42@gmail.com>
Reviewed-by: Soren Sandmann <sandmann@daimi.au.dk>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit dab064fa5e)
2010-12-03 22:09:26 -08:00
..
animcur.c render: delete unused headers declaration 2009-08-28 15:33:19 +03:00
filter.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
glyph.c Fix crash when all glyphs of a given depth are freed, but not all glyphsets 2010-03-24 13:02:13 +01:00
glyphstr.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
Makefile.am Export a bunch of matrix operations from render. 2008-11-24 13:24:36 -08:00
matrix.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miindex.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipict.c render: Fix clip region translation in miClipPictureSrc(). 2009-10-06 10:17:52 +10:00
mipict.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mirect.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mitrap.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mitri.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
picture.c Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
picture.h Add 4 missing 10bpc picture formats to the server format list. 2009-08-13 12:04:33 -07:00
picturestr.h render: AnimCurInit and AnimCursorCreate shouldn't be _X_EXPORT 2009-08-28 15:30:21 +03:00
render.c render: Fix byteswapping of gradient stops 2010-12-03 22:09:26 -08:00
renderedge.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
renderedge.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00