[PATCH] glamor: Make sure Xvideo source image data is properly aligned

Keith Packard keithp at keithp.com
Thu Dec 25 13:30:48 PST 2014


Michel Dänzer <michel at daenzer.net> writes:

> From: Michel Dänzer <michel.daenzer at amd.com>
>
> _glamor_upload_bits_to_pixmap_texture currently ignores the stride
> parameter, but __glamor_upload_pixmap_to_texture uses 4-byte alignment
> via glPixelStorei(GL_UNPACK_ALIGNMENT, 4).
>
> Also fix up the stride argument passed in though, in case it starts
> being used properly in the future.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87455
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Reviewed and merged.
   11b85ab..70a6f65  master -> master

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141225/f938fb5d/attachment.sig>


More information about the xorg-devel mailing list