qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Cirrus bugs vs endian: how two bugs cancel each other o


From: Peter Maydell
Subject: Re: [Qemu-devel] Cirrus bugs vs endian: how two bugs cancel each other out
Date: Mon, 30 Jul 2012 16:30:56 +0100

On 30 July 2012 16:18, Blue Swirl <address@hidden> wrote:
> I think even this is not fully accurate description of the VGA
> insanity, because if the host display happens to use BGR pixel format
> instead of RGB, there may be more byte shuffling, but not in all
> cases: compare vga_draw_line24() to vga_draw_line32() in
> vga_template.h.

It seems conceptually the wrong layer to have these be done
by the individual device models (similarly there's a bunch of
pixel twiddling done in hw/pl110_template.h). It would be nicer
if this was done by some generic layer instead so the device
model just said "this is a 32 bit BGR framebuffer"...

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]