summaryrefslogtreecommitdiffstats
path: root/client/process_loop.cpp
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-04-28 12:15:24 +0200
committerAlexander Larsson <alexl@redhat.com>2010-04-28 12:15:24 +0200
commitbc6029d0b0968e7baa10d933a6b7533e3ef1c954 (patch)
tree298cbc649200fe49f997c6c9cee95c7f5293f233 /client/process_loop.cpp
parentac5535048c969e6fc574120325249dc823ddd3af (diff)
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 'client/process_loop.cpp')
0 files changed, 0 insertions, 0 deletions