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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 20 06:33:51 PST 2014


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

--- Comment #18 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2014-11-20 14:33:46 UTC ---
In GLMemory, only mapping can cause an upload/download, and initial map will
never do anything. So they added a special map flags to control the direction.
Note that my patch on 740222 was slightly wrong, in the sense that the driver
do need to read these buffer as they are the observation for the next buffers
(but there was no useless download as I thought).

So I think for libav (in direct rendering mode only), mapping READWRITE was
right. Write only and unmapping would be better for the copy mode of course.

-- 
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