xserver-multidpi/render
Andrea Canciani dab064fa5e 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>
2010-12-02 07:38:18 -08:00
..
animcur.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
filter.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
glyph.c Place glyph privates at correct location within the allocate storage 2010-06-06 16:22:12 -07:00
glyphstr.h render: Reshuffle and cull dead field from GlyphSetRec 2010-11-30 13:46:09 -05:00
Makefile.am render: Delete renderedge.[ch] 2010-11-01 22:54:18 -04:00
matrix.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miindex.c Remove superfluous if(p!=NULL) checks around free(p); p=NULL; 2010-11-11 08:22:59 +10:00
mipict.c Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
mipict.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mirect.c Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
mitrap.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mitri.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
picture.c render: repack PictureRec 2010-11-30 13:46:08 -05:00
picture.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
picturestr.h render: repack PictureRec 2010-11-30 13:46:08 -05:00
render.c render: Fix byteswapping of gradient stops 2010-12-02 07:38:18 -08:00