qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2 of 7] [UPDATE] remove bgr


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2 of 7] [UPDATE] remove bgr
Date: Tue, 02 Dec 2008 13:26:50 -0600
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Stefano Stabellini wrote:
Do not handle bgr host displays in the backends.

Right now a bgr flag exists so that sdl can set it, if the SDL_Surface
is bgr.
Afterwards the graphic device (e.g. vga.c) does the needed conversion.

With this patch series is sdl that is responsible for rendering the format
provided by the graphic device that must provide a DisplaySurface
(ds->surface) in 16 or 32 bpp, rgb.
Afterwards sdl creates a SDL_Surface from the given DisplaySurface and
blits it into the main SDL_Surface using SDL_BlitSurface.

Everything is handled by sdl transparently, because SDL_BlitSurface is
perfectly capable of handling bgr displays by itself.

Compared to the last version few more "if (bgr)" have been removed in
hw/sm501.c.

Signed-off-by: Stefano Stabellini <address@hidden>

This breaks bgr support until the additional patches, correct?

Regards,

Anthony Liguori





reply via email to

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