On 12/01/2015 16:14, Peter Maydell wrote: >> > #ifdef HOST_WORDS_BIGENDIAN >> > #define PIXMAN_BE_b8g8r8x8 PIXMAN_b8g8r8x8 >> > #else >> > #define PIXMAN_BE_b8g8r8x8 PIXMAN_x8r8g8b8 >> > #endif > In qemu-pixman.h, surely? (goes with the existing one we have).
Oh, yes, I wasn't aware of PIXMAN_BE_r8g8b8. In euther case it is kCGImageAlphaNoneSkipFirst, since the unused bits are in the most significant bits when interpreted in the "correct" endianness. Paolo