From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2 of 7] [UPDATE] remove bgr
Date: Tue, 02 Dec 2008 13:26:50 -0600 [thread overview]
Message-ID: <49358BFA.5060702@codemonkey.ws> (raw)
In-Reply-To: <492D8BA4.4060504@eu.citrix.com>
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 <stefano.stabellini@eu.citrix.com>
>
This breaks bgr support until the additional patches, correct?
Regards,
Anthony Liguori
next prev parent reply other threads:[~2008-12-02 19:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-26 17:47 [Qemu-devel] [PATCH 2 of 7] [UPDATE] remove bgr Stefano Stabellini
2008-12-02 19:26 ` Anthony Liguori [this message]
2008-12-11 11:20 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49358BFA.5060702@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).