glupload: Implement direct dmabuf uploader
authorMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 5 Jul 2018 08:17:27 +0000 (10:17 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 11 Sep 2018 03:29:10 +0000 (23:29 -0400)
commit3b1ae6262b99b45095c6aca02af0d7bbf88cfbbc
treef46530514b669b84a91d38c22cb45a3b8cc87507
parent8f0d75d4d6f622483302e689653ec1d8c90bcaa4
glupload: Implement direct dmabuf uploader

The idea is that some GPUs (like the Vivante series) can actually
perform the YUV->RGB conversion internally, so no custom conversion
shaders are needed. To make use of this feature, we need an additional
uploader that can import DMABUF FDs and also directly pass the pixel
format, relying on the GPU to do the conversion.

Based on patches from Nicolas Dufresne <nicolas.dufresne@collabora.com> and
Carlos Rafael Giani <dv@pseudoterminal.org>.

https://bugzilla.gnome.org/show_bug.cgi?id=783521
gst-libs/gst/gl/gstglupload.c