mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
pixman: drop submodule
Drop pixman submodule and support for the "internal" pixman build. pixman should be reasonably well established meanwhile so we don't need the fallback submodule any more. While being at it also drop some #ifdefs for pixman versions older than what we require in configure anyway. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20170905140116.28181-2-kraxel@redhat.com
This commit is contained in:
parent
619c200f6c
commit
c12b6d70e3
5 changed files with 2 additions and 36 deletions
|
@ -96,17 +96,13 @@ int qemu_pixman_get_type(int rshift, int gshift, int bshift)
|
|||
if (bshift == 0) {
|
||||
type = PIXMAN_TYPE_ARGB;
|
||||
} else {
|
||||
#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 21, 8)
|
||||
type = PIXMAN_TYPE_RGBA;
|
||||
#endif
|
||||
}
|
||||
} else if (rshift < gshift && gshift < bshift) {
|
||||
if (rshift == 0) {
|
||||
type = PIXMAN_TYPE_ABGR;
|
||||
} else {
|
||||
#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 16, 0)
|
||||
type = PIXMAN_TYPE_BGRA;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue