smolscale
smolscale copied to clipboard
Add IS_OPAQUE flag
Add a flag that tells the pipeline that there are no transparent pixels, even in the presence of an alpha channel. This flag can be set automatically if the input is 3-channel RGB.
It will allow skipping alpha blending when compositing, unnecessary un/premul operations, etc.
Depends on #4.