[Mesa-dev] [PATCH] r300g: fix big endian support

Michel Dänzer michel at daenzer.net
Sun May 1 14:34:07 UTC 2016


On 01.05.2016 23:11, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> The problem was that A8R8G8B8 was not supported, which is required
> for DRI2 window framebuffers on BE.

I don't have time to look at the patch in detail right now (will try to
ASAP), but FWIW: The xf86-video-ati EXA code actually programs the
hardware to B8G8R8A8 for the same buffers for which st/dri sets the
format to A8R8G8B8. The EXA code always swaps bytes with the CPU for
CPU<->GPU transfers. Is this patch consistent with that?


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list