[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>
Tue, 6 Nov 2012 16:03:23 +0000 (13:03 -0300)
commit67814c8387f3e4080f87cc441827253287fc15a4
tree1822f3f7f82c03a178b33c8bb1c55d554b647288
parent1d08c6f7a2ba2458de2b5c8a8c56a16a6ab4f6e2
[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