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)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 3 Aug 2012 11:20:49 +0000 (11:20 +0000)
commitf8507722147f3ff50514cec47820d897933f0b2d
tree2a50b0db42a9399c6030f3a8c42583556c9b9e2c
parent142ffda949b50baeab7ee0d123256d324d41dab9
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