[Bug 783521] gl: Add "direct" dmabuf uploader

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 1 07:38:43 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=783521

--- Comment #63 from Michael Olbrich <m.olbrich at pengutronix.de> ---
Created attachment 374117
  --> https://bugzilla.gnome.org/attachment.cgi?id=374117&action=edit
glupload: prefer caps order provided by the upload methods

Specifically this means, that RGBA is prefered over other formats.
Uploading RGBA is often faster, so it should be used if possible.

This also avoids problems when the upstream element can provide multiple
formats: The during initial caps negotiation, it is unknown which upload
methods will actually work. The upstream element might choose a format that
cannot be converted. Specifically, without this change

videotestsrc ! glupload ! glshader ! fakesink

and similar pipelines will fail. videotestsrc picks I420 but DirectDmabuf,
the only method that can upload this directly to RGBA, cannot upload the
generated buffer.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list