glupload: Implement direct dmabuf uploader
authorMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 5 Jul 2018 08:17:27 +0000 (10:17 +0200)
committerMichael Olbrich <m.olbrich@pengutronix.de>
Tue, 30 Oct 2018 11:25:08 +0000 (12:25 +0100)
commit507e31dfc00256a9cb2081aaab98a7728b0197c3
treef4ef461d6122cdeaafbb40e3bc8d206b3102abe6
parentb006ef97fc62a1b9016077e6d744a7dbe6dbe7dd
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