d3d11compositor: Skip zero alpha input
authorSeungha Yang <seungha@centricular.com>
Mon, 17 Apr 2023 12:34:19 +0000 (21:34 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 21 Apr 2023 17:27:49 +0000 (17:27 +0000)
commit0d9f08ce9a201b227b172e294085cb2c887d3081
tree55d987669541dcc9d66eae33450e81258a3658ae
parent917424b3fbc18d8455485cd9d8c1acd49280af37
d3d11compositor: Skip zero alpha input

Blending such input is a waste of resource since nothing will
be rendered

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4456>
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11compositor.cpp