]> git.ipfire.org Git - thirdparty/plymouth.git/commit
ply-image: Don't do alpha pre-multiplication for opaque pixels
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 8 Dec 2014 10:47:12 +0000 (11:47 +0100)
committerRay Strode <rstrode@redhat.com>
Thu, 26 Mar 2015 01:09:50 +0000 (21:09 -0400)
commitc052d9fccdc790e7bcd9a37c0efa99855ad55653
tree608696c7fd3962c806bf6f0c6b8b505cd09ee414
parent61a26f421666bdffa735df29b6b46e5ab0819d9e
ply-image: Don't do alpha pre-multiplication for opaque pixels

When transforming the output of libpng to ARG32 with pre-multiplied
alpha, only do the multiplications if the pixel isn't opaque. Otherwise
plymouth is just applying a very complicated identity function.

https://bugs.freedesktop.org/show_bug.cgi?id=87105
src/libply-splash-graphics/ply-image.c