diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2015-04-18 15:09:02 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-05-01 10:56:32 +0100 |
commit | e0fd23cb23726c13c50d51842d67ad2f78ab64ef (patch) | |
tree | 3f37fbd682f6b74a4525dfb4fd77b1d39f4405a8 /pkgconfig/gstreamer-bad-base-uninstalled.pc.in | |
parent | 6fc55a997e57d8a4547b58680b390a8f1394a2b8 (diff) | |
download | gstreamer-plugins-bad-e0fd23cb23726c13c50d51842d67ad2f78ab64ef.tar.gz |
compositor: Skip pads that are completely obscured by a higher zorder pad
For each frame, compare the frame boundaries, check if the format contains an
alpha channel, check opacity, and skip the frame if it's going to be completely
overwritten by a higher zorder frame. The check is O(n^2), but that doesn't
matter here because the number of sinkpads is small.
More can be done to avoid needless drawing, but this covers the majority of
cases. See TODOs. Ideally, a reverse painter's algorithm should be used for
optimal drawing, but memcpy during compositing is small compared to the CPU used
for frame conversion on each pad.
https://bugzilla.gnome.org/show_bug.cgi?id=746147
Diffstat (limited to 'pkgconfig/gstreamer-bad-base-uninstalled.pc.in')
0 files changed, 0 insertions, 0 deletions