[Bug 783521] gl: Add "direct" dmabuf uploader
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 7 17:12:10 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783521
--- Comment #3 from Carlos Rafael Giani <dv at pseudoterminal.org> ---
Created attachment 353352
--> https://bugzilla.gnome.org/attachment.cgi?id=353352&action=edit
0003 add direct dmabuf uploader
The actual direct dmabuf uploader code. Note the remaining issues in the commit
message of the patch. Here it is:
- It is currently unknown how to determine if the GPU can handle these
conversions
- Currently it is not possible to probe for what EGLImage DMABUF input
formats the GPU can handle
- The EGLImage cache is there, but cannot be used, because some drivers
like etnaviv keep a cached copy of the texture inside, and it is
currently not clear how to let etnaviv know that the cache has to be
flushed once the associated DMABUF gets a new video frame
Interestingly, disabling the cache does not seem to impact performance much on
the i.MX6 (CPU usage is <10% when using a v4l2videodec capture-io-mode=dmabuf !
glimagesink pipeline even with 1080p content), even though in kmscube, the
EGLImage is similarly constantly created and destroyed, and there, we see large
CPU% figures..
--
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