[Webkit-unassigned] [Bug 225456] [GStreamer] Remove dependency on glvideoflip

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 2 07:01:27 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=225456

--- Comment #4 from Miguel Gomez <magomez at igalia.com> ---
(In reply to Philippe Normand from comment #3)
> I wonder what's the performance impact of glvideoflip. Internally it uses
> this element:

As expected, it's a texture copy using a shader that performs the rotation. I can't say exactly, but I recall seeing this operations taking around 1-2ms on the rpi2 (more on bigger resolutions). This may not seem a lot, but when rendering at 60fps we only have 16ms to render each frame, those ms count. Also, the OpenGL pipeline is a shared resource, and the time spent rotating the frames is time that is not used rendering other stuff.

> https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/blob/master/ext/
> gl/gstgltransformation.c
> 
> Anyways, I agree if can do all the things with the texturemapper it's nicer.

Let me cook a patch for that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210602/2e36a973/attachment-0001.htm>


More information about the webkit-unassigned mailing list