[17/30] dri2videosink: DRI2 stride has a pixel constraint, not a byte one
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 3 Aug 2012 11:20:49 +0000 (11:20 +0000)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 21 Nov 2012 16:12:30 +0000 (13:12 -0300)
commit59b04c986d2dc02e68678a287ed435ef61f7d243
tree7c9e730d2291b296aadbf56c7506406f8ad3d1f0
parent61c7a4fdeb1e4666604160b81d17b18417b45286
[17/30] dri2videosink: DRI2 stride has a pixel constraint, not a byte one

The hardware wants the stride to be a multiple of 32 pixels, not 32
bytes, so packed formats with 2 bytes per pixel will need aligning
to 64 bytes, not 32, to match 32 pixels.
sys/dri2/gstdri2util.c