test: Make sure the palettes for indexed format roundtrip properly
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 10 Jul 2010 22:40:06 +0000 (18:40 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 11 Jul 2010 13:43:56 +0000 (09:43 -0400)
commit2df6dac0be678e1683223faeddadb35b1d2dbe36
tree553df6c63cea400e8e325b9172404b573d1ecad4
parent5dd59c8b7cf1543605713a2ac30f31d8726f5444
test: Make sure the palettes for indexed format roundtrip properly

The palettes for indexed formats must satisfy the condition that if
some index maps to a color C, then the 15 bit version of that color
must map back to the index. This ensures that the destination operator
is always a no-op, which seems like a reasonable assumption to make.
test/blitters-test.c