xclock/oclock endian mismatch in Xfbdev [SOLVED]

Soeren Sandmann sandmann at cs.au.dk
Tue May 24 07:33:54 PDT 2011

Dushara Jayasinghe <dushara.jayasinghe at hydrix.com> writes:

> I had a look at the pixman code but what's required to add the format
> that suits the hardware is not immediately obvious to me. The CPU
> peripheral is configured as 1bpp (packed). The MSbit is the left most
> pixel.
> I'm guessing that I have to invent a new pixman type (maybe
> PIXMAN_TYPE_AREV) and add a format to the list in pixman_format_code_t
> pixman.h. And finally implement the handlers (yet to figure that out)
> that use the formats. Please tell me if I'm on the wrong track.

I think this is basically the right way to go.


More information about the xorg-devel mailing list