[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] gtk UI doesn't correctly byte swap 32-bit framebuffer o
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] gtk UI doesn't correctly byte swap 32-bit framebuffer on qemu-system-ppc little-endian host |
Date: |
Mon, 03 Jun 2013 18:19:22 -0500 |
User-agent: |
Notmuch/0.15.2+77~g661dcf8 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Mark Cave-Ayland <address@hidden> writes:
> Hi all,
>
> I've just been testing some more OpenBIOS images with the new gtk UI and
> found that if you specify a 32-bit depth framebuffer on qemu-system-ppc
> running on a little-endian host then the RGB -> BGR byteswap doesn't
> take place.
>
> Good:
> ./qemu-system-ppc -g 1024x768x32 -vnc :1
> ./qemu-system-ppc -g 1024x768x32 -sdl
>
> Bad:
> ./qemu-system-ppc -g 1024x768x32
cairo has a pretty limited number of modes that it supports.
I guess we could use pixman to do the conversion. Gerd, is that the
right approach? Is there a way I can force the display API to do the
conversion for me?
Regards,
Anthony Liguori
>
> I've quickly confirmed this with git bisect which simply returns:
>
> commit 15546425c5527ebb08ede399373b705866f1ff84
> Author: Anthony Liguori <address@hidden>
> Date: Wed Feb 20 07:43:25 2013 -0600
>
> gtk: make default UI (v5)
>
>
> Many thanks,
>
> Mark.