[Webkit-unassigned] [Bug 185470] REGRESSION(r217927): [GTK][WPE][GSTREAMER_GL] Video appears as pink/green with gstreamer-imx (i.MX6)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 22 02:10:53 PDT 2018


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

--- Comment #5 from Miguel Gomez <magomez at igalia.com> ---
One thing that I realized is that on some platforms (like the rpi2) the video decoder cannot deliver BGRA directly so it needs to perform a colorspace conversion, which causes a performance degradation. So for those platforms RGBA is requested instead of BGRA. Maybe we can generalize this to the whole WPE platform.

WPE always has AC enabled. This means that we don't have to handle the non AC case, which is the one that motivates that we request BGRA (there's an extra case, which is painting video frames to a non accelerated canvas, but it's not as relevant).

I guess we could request RGBA for the WPE platform, tell the TextureMapper not to perform any color conversion, and modify ImageGStreamerCairo so it performs the sw colorspace conversion in that case. This would fix this bug and avoid the performance penalty when we need to perform the extra color conversion.

-- 
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/20180522/cca9b6a6/attachment.html>


More information about the webkit-unassigned mailing list