[cairo] pixman BGRA support
Soeren Sandmann
sandmann at daimi.au.dk
Tue Mar 24 11:34:23 PDT 2009
Mark Kettenis <kettenis at openbsd.org> writes:
> Hi,
>
> I'm trying to make Xorg work on a Tech Source Raptor GFX-8M graphics
> card on OpenBSD/sparc64. This card is based on the Number 9 I128-II
> chip, which has a little-endian framebuffer, that essentially uses
> ARGB pixel representation. However, since I'm using it on a
> big-endian machine, the pixel representation as seen by the host CPU
> is BGRA. As far as I can tell, the graphics hardware does not support
> byte swapping in hardware like the ATI cards that Sun used in many of
> their PCI framebuffers.
>
> The diff below adds BGRA support to pixman. I have diffs for Xrender
> and cairo as well, that make firefox work fine (without them the most
> obvious problem is that text seems to be drawn on a yellow
> background).
Thanks, pushed.
Soren
More information about the cairo
mailing list