Go to file
Alexander Larsson 9d2e9eb190 Clear alpha in xRGB destination to avoid pixman setting it to 0xff
Pixman sometimes sets the ignored high byte to 0xff during alpha
blending. This is correct according to pixman specs, as the high
byte is ignored. However its not what windows expects, and it causes
unnecessary regions with non-zero high byte, causing us to
send rgba data instead of rgb which compresses worse.

So, we detect this and clear the high byte.
2012-03-20 15:25:42 +01:00
common Clear alpha in xRGB destination to avoid pixman setting it to 0xff 2012-03-20 15:25:42 +01:00