GNOME Bugzilla – Bug 778078
waylandsink: set video surface opaque
Last modified: 2017-04-07 11:17:52 UTC
Created attachment 344775 [details] [review] waylandsink: set video surface opaque By default, the weston compositor does not consider the video surface as opaque, even if its format has no alpha component (like eg NV12). Hence, when composing the surfaces, weston considers the hidden black area surface (that embeds the video surface) as a surface to be composed, which is useless. In order to help the compositor, declare the video surface as opaque (unless it has alpha component).
Review of attachment 344775 [details] [review]: Looks good to me. Can't we also set that hint on the black background too ? This could possibly be used to optimize some of the rendering in the case their is black borders but another surface (e.g. another app) is completly hidden by the video.
Created attachment 344791 [details] [review] [v2]waylandsink: set video surface opaque v2 patch : as suggested by Nicolas, also make the black area_surface opaque.
Review of attachment 344791 [details] [review]: Looks good, thanks !
Commited as 57645056ad906a6d997abe6f5134f9b4c595bdf8 Not for next time, we don't used the Signed-by: mark in GStreamer, this was removed before merging. This patch shall be consider this for 1.10 stable.