mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
e0fd23cb23
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 |
||
---|---|---|
.. | ||
.gitignore | ||
blend.c | ||
blend.h | ||
blendorc.h | ||
compositor.c | ||
compositor.h | ||
compositororc-dist.c | ||
compositororc-dist.h | ||
compositororc.orc | ||
compositorpad.h | ||
Makefile.am |