compositor: Frames where we introduce alpha can't obscure anything
authorThibault Saunier <tsaunier@igalia.com>
Fri, 17 Jul 2020 01:56:47 +0000 (21:56 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 31 Jul 2020 19:52:14 +0000 (15:52 -0400)
commit5ad727f9eee29f385e3515dde7723be9571361a7
treec3d39ebf6c9b96cbd4d7efca079b76250c54ee61
parent2faeb7d394c0d04b42ec7a08d13359744336a9b4
compositor: Frames where we introduce alpha can't obscure anything

When a pad has alpha != 1.0 it means that the resulting frames will
contain alpha and thus can't fully obscure with a lower zorder.

Also simplifies the other checks as blending with an OVER or on a
transparent is not a no-op as previously assumed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/764>
gst/compositor/compositor.c