|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v2] Gives user ability to select endian format for video display - fixes Mac OS X guest color issue. |
Date: | Mon, 12 Jan 2015 16:37:00 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |