[PATCH] [glint] Fix uploading YV12 data to texture buffer on BE machines

Matt Turner mattst88 at gmail.com
Sat Aug 13 14:01:36 PDT 2011


On Fri, Mar 11, 2011 at 10:51 PM, Matt Turner <mattst88 at gmail.com> wrote:
> On Mon, Feb 28, 2011 at 11:32 PM, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
>> On BE machines various hardware byteswapping options are used for the
>> framebuffer aperture.  Which option gets used depends on the depth of the
>> framebuffer.  Uploading YV12 data to the texture buffer is done through the
>> same aperture, but is always done in 32-bit wide units.  Therefore the code
>> that does the uploading needs to take into account the byteswapping done by
>> the hardware.  For 32bpp modes we can use the same code as on LE machines,
>> but 16bpp and 8bpp modes need their own versions.
>>
>> Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
>
> I think you've got commit access, so go for it!

Or apparently you don't. I don't know. Whatever.

I just pushed it.

Matt


More information about the xorg-devel mailing list