Fixed rendering bug for source alpha == 0 in OVER fastpath functions
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Tue, 5 May 2009 12:25:43 +0000 (15:25 +0300)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Thu, 7 May 2009 01:15:40 +0000 (21:15 -0400)
commit62af131a5a7222c58ed9aac38b7dddb75c0e87f7
treea6d85bcbd0389d4a89b4192a7a6863d06d6a44bb
parenta589afa3a7f3430a5b37bb9efb6574fe6ac8d9af
Fixed rendering bug for source alpha == 0 in OVER fastpath functions

Handling of the case when source alpha is zero was keeping destination
pixel unmodified. But this is different from how generic path behaves.
For example fbOver(0x00200483, 0x9CAC7E9F) == 0x9CCC82FF and the
destination pixel changes from 0x9CAC7E9F to 0x9CCC82FF in spite
of having zero alpha.

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