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

Mark Kettenis mark.kettenis at xs4all.nl
Sat Aug 13 14:29:53 PDT 2011


> From: Matt Turner <mattst88 at gmail.com>
> Date: Sat, 13 Aug 2011 17:01:36 -0400
> 
> 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.

Actualy I have, but I didn't have access to my laptop with the ssh key
on it for a couple of months.

Thanks for taking care of this for me!

Mark




More information about the xorg-devel mailing list