summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Venhoda <lvenhoda@redhat.com>2015-11-25 17:14:30 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-12-17 16:03:19 +0100
commit76a0c2fae8f35eb7c38abe7656f694b436391911 (patch)
treef6b7a2bdcb3ad6cac6afe5c452fa4a97eb338ce0 /tests
parentfc1f511bb8beb7e8efd1773a79eb4d09c93c90d5 (diff)
downloadspice-common-76a0c2fae8f35eb7c38abe7656f694b436391911.tar.gz
spice-common-76a0c2fae8f35eb7c38abe7656f694b436391911.tar.xz
spice-common-76a0c2fae8f35eb7c38abe7656f694b436391911.zip
ppc: Add support for bigendian color byte order
On LE machine, color order when creating surface will always be A/XRGB. On BE machines the color order will sometimes be ARGB and sometimes BGRA/X. This is because we actually create the surface two times on BE machines. Once with BE order, and then again with LE order. Copying data inbetween theese two surfaces will byteswap the colors automatically. This change introduces cases for BGRA/X color byte orders on BE machines.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions