[Mesa-dev] [Bug 58665] Software rasterizer RGB swap

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 7 09:24:30 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=58665

--- Comment #9 from Michel Dänzer <michel at daenzer.net> ---
(In reply to comment #2)
> If you look at src/gallium/state_trackers/glx/xlib/xm_api.c in the
> choose_pixel_format() function you'll see code that chooses a PIPE_FORMAT_x
> format by checking the visual's red/green/blue masks and the host/server byte
> orders.  Maybe you can dig into that and see what's going on.

I think we first need to decide what the byte order of PIPE_FORMAT_x is
(supposed to be)... It was previously suggested it should be little endian, but
I think there's still quite a bit of code treating it as having CPU native byte
order.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130107/2b4f8538/attachment.html>


More information about the mesa-dev mailing list