Take the source format into account in pixman_expand.
authorAaron Plattner <aplattner@nvidia.com>
Sat, 7 Jun 2008 02:40:25 +0000 (19:40 -0700)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Fri, 13 Jun 2008 04:11:37 +0000 (00:11 -0400)
commit7cb735c9c0fa55ae1f4d8d13da9f33e3da2ae8fe
treeff73aea022139415c9807a13831c0818aaad10c7
parentc0d98e96605c6d03f4b02f337f2f5827165bb092
Take the source format into account in pixman_expand.

Extract the original bits of the source image for each component and then
replicate up to 16 bits to fill the wide components.  Make sure to hard-code the
alpha value to 1 if the source format didn't have alpha.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
pixman/pixman-access.c