[Bug 704083] Improve GstBuffer/GstVideoFrame mappings for HW surfaces

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 20 08:08:13 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=704083
  GStreamer | gstreamer (core) | git

--- Comment #20 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2014-11-20 16:08:11 UTC ---
(In reply to comment #0)
> Hi, in context of hardware surfaces, a GstBuffer map would imply a surface read
> (download) or write (upload) only. So, implementing GST_MAP_READWRITE might be
> sub-optimal. Indeed, for correctness, RW mappings should be implemented as
> surface download on map, and surface upload/commit on unmap.

I think the GLMemory design is smarter then this and that it should serve as
inspiration. Basically, I think unmap() should never do anything other then
setting flags or state.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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