[Xcb] [PATCH 0/2] Fix bitmap byte swapping

Peter Harris peter.harris at hummingbird.com
Wed Oct 1 16:34:29 PDT 2008


I think I've got the problem nailed down. See the next two patches.

Tested with the following servers (byte_order, bit_order, bitmap_unit): (lsb, 
lsb, 32), (msb, msb, 32), (msb, msb, 8), (lsb, msb, 8).

The source image is, of course, (lsb, lsb, 8) in all cases.

The following tasks are left as an exercise for the reader:
 - Testing bitmap_unit == 16
 - Testing mixed order when bitmap_unit > 8
 - Testing ZPixmap
 - Updating test_* with all of the above.

Peter Harris


More information about the Xcb mailing list