Do opacity computation with shifts instead of comparing with 0
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 12 Sep 2010 08:35:08 +0000 (04:35 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 21 Sep 2010 12:28:55 +0000 (08:28 -0400)
commitf4dc73bad4f662bdc3c94cb1e224f9a1989beba5
treede70eb5efb39fff8f18e824573853adce8b20f44
parent517a77a992255cb6dae7e74bc6f6b9ac21003ac1
Do opacity computation with shifts instead of comparing with 0

Also add a COMPILE_TIME_ASSERT() macro and use it to assert that the
shift is correct.
pixman/pixman-private.h
pixman/pixman.c