qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] DisplayAllocator interface
Date: Fri, 13 Mar 2009 10:30:17 -0500	[thread overview]
Message-ID: <49BA7C09.5080902@us.ibm.com> (raw)
In-Reply-To: <49AFF01B.8070505@eu.citrix.com>

Stefano Stabellini wrote:
> Hi all,
> this patch adds a DisplayAllocator interface that allows display
> frontends (sdl in particular) to provide a preallocated display buffer
> for the graphical backend to use.
>
> Whenever a graphical backend cannot use
> qemu_create_displaysurface_from because its own internal pixel format
> cannot be exported directly (text mode or graphical mode with color
> depth 8 or 24), it creates another display buffer in memory using
> qemu_create_displaysurface and does the conversion.
> This new buffer needs to be blitted into the sdl surface buffer every time
> we need to update portions of the screen.
> We can avoid this using the DisplayAllocator interace: sdl provides its
> own implementation of qemu_create_displaysurface, giving back the sdl
> surface buffer directly (as we used to do before the DisplayState
> changes).
> Since the buffer returned by sdl could be in bgr format we need to put
> back in the handlers of that case.
>   

Applied.  Thanks.

Regards,

Anthony Liguori

      reply	other threads:[~2009-03-13 15:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-05 15:30 [Qemu-devel] [PATCH] DisplayAllocator interface Stefano Stabellini
2009-03-13 15:30 ` Anthony Liguori [this message]

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=49BA7C09.5080902@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --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).