dri2videosink: fix performance issue with software decoders
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 12 Dec 2012 16:45:03 +0000 (16:45 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 12 Dec 2012 16:47:58 +0000 (16:47 +0000)
commit8ffb8e69f2a6ed4782e0d8698f70d53204c0d1e9
tree30f2d478942f9e43faa007a1af4226c753662e4f
parent77afe2b77a8098bc94e58d223940744c122875ae
dri2videosink: fix performance issue with software decoders

When I420 is selected, we allocate a normal memory buffer as
bo memory is uncached, and will be slower than normal memory.
The buffer is copied to bo memory when displayed.

This fixes slow VP8 video.
sys/dri2/gstdri2util.c