I wrote two simple programms which do XFillRectangle's. The first one do it
with a stipple and the second with a tile. I also built 2 X servers, the
first one
for BE machine, and the second one for LE. Now I can run my programs
remotely and debug both X servers. And I told you already, that bytes on
BE X in the tile case are swaped.
If you'd like, I can send you my programs, and you could see the
differencies in images on screen in BE case, if your driver uses XAA.
Moreover, it looks like there is an error with endianity in stipples too.
In the BE X, the XAACheckStippleReducibility() function get already
"bit swapped" data in (CARD32*)pPixmap->devPrivate.ptr and then do one more
bit swapping if the BIT_ORDER_IN_BYTE_MSBFIRST flag is set by a driver.
I gues that (CARD32*)pPixmap->devPrivate.ptr must contain endianity
independent
data, but it looks like somebody swaped it before because the MSBFIRST flag
is defined for Big Endian architecture.
I found this bug with gdb support. In the "tile" case all is OK.
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel
- Endianity problems in XFree86-4 XAA on MipsEB Alexandr Andreev
- Re: Endianity problems in XFree86-4 XAA on MipsEB Alexandr Andreev
- Re: Endianity problems in XFree86-4 XAA on MipsE... Michel D�nzer
- Re: Endianity problems in XFree86-4 XAA on M... Alexandr Andreev
- Re: Endianity problems in XFree86-4 XAA on M... Alexandr Andreev
- Re: Endianity problems in XFree86-4 XAA on MipsEB Mark Vojkovich
- Re: Endianity problems in XFree86-4 XAA on MipsE... Alexandr Andreev
