summaryrefslogtreecommitdiffstats
path: root/python_modules
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-04-28 12:15:24 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:42 +0100
commit9d2e9eb1907504f9fbb81963f070e76f743df928 (patch)
treede72240d183729b4393a3b52adfad3f04cf4dc7b /python_modules
parentb8da4097b1c5a37174eefa689e21dd7487e22f8c (diff)
downloadspice-common-9d2e9eb1907504f9fbb81963f070e76f743df928.tar.gz
spice-common-9d2e9eb1907504f9fbb81963f070e76f743df928.tar.xz
spice-common-9d2e9eb1907504f9fbb81963f070e76f743df928.zip
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.
Diffstat (limited to 'python_modules')
0 files changed, 0 insertions, 0 deletions