How to switch from ARGB to BGRA colors?

Clemens Koller clemens.koller at anagramm.de
Tue Jun 12 13:42:57 PDT 2007


Hello!

My graphics hardware (silicon motion sm501) need it's colors in
BGRA (8888) format and not in the usual ARGB.

How can I tell X and it's applications that they should write the
Pixels in BGRA format to the video memory?

I am able to change the code of the driver as well as the server.
Currently I am working in an non accelerated (XAA disabled) mode,
so XAA and EXA and friends are out of focus.

Thank you!
-- 
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com



More information about the xorg mailing list