Xfbdev color problems due to endianess

Leon Ljunggren leon.ljunggren at gmail.com
Wed Sep 10 08:06:32 PDT 2008

> wfb works everywhere fb does (i.e. everywhere).  fb is the normal
> software rasterisation code, which takes a bass address, stride, etc,
> and writes directly to that range.  wfb is literally the exact same
> codebase as fb, but instead of writing directly to memory, will issue a
> function call, if you've set read/write functions, and ask you to please
> write this pixel value to this location.  This gives you the opportunity
> to mangle it however you please: change the ordering, tile it, whatever.
> So yes, it's completely fine.

That sounds good, but I'm afraid I don't understand how I could change
from fb to wfb, and how I would then use that to fix the problem.


More information about the xorg mailing list