From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0 of 2] [UPDATE] DisplayState interface change
Date: Thu, 20 Nov 2008 13:01:32 -0600 [thread overview]
Message-ID: <4925B40C.8030507@codemonkey.ws> (raw)
In-Reply-To: <492596E0.6050900@eu.citrix.com>
Hi Stefano,
Stefano Stabellini wrote:
> Hi all,
> this is an update of the "DisplayState interface change" patch.
> The main change is introducing a DisplaySurface struct and a PixelFormat
> struct following Anthony's suggestion, they are both inspired by SDL.
>
> I must say that now everything looks much better, Anthony was definitely
> right about the fact that we make too many assumptions based only on depth.
> Introducing these two structures allowed me also to simplify vnc.c, as
> you can see in the second patch.
>
> I tested this series with i386 emulation, cirrus vga, vmware vga, curses
> and both sdl and vnc (even at the same time ;).
>
> I realize that the first patch is very big, but it is a small as
> possible while still being able to compile.
> I suggest you to read it on a per file basis, paying attention to the
> changes to console.c, console.h, vga.c, vl.c, vnc.c and sdl.c; the rest
> are just substitutions.
>
I really like this new API. I took a high level look at the code and I
think there are only some minor things to be cleaned up but I'd rather
you split up the first patch like I mentioned before pointing those
things out.
One thing that I think would be helpful is to add a concise document
describing how to use this new API. We can even introduce a docs
directory for this sort of thing (think Documentation/ in Linux).
Regards,
Anthony Liguori
> Cheers,
>
> Stefano
>
>
>
>
next prev parent reply other threads:[~2008-11-20 19:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 16:57 [Qemu-devel] [PATCH 0 of 2] [UPDATE] DisplayState interface change Stefano Stabellini
2008-11-20 19:01 ` Anthony Liguori [this message]
2008-11-21 11:11 ` Stefano Stabellini
2008-11-21 18:01 ` Ivan Bogardi
2008-11-21 18:14 ` Stefano Stabellini
2008-11-21 18:17 ` Ivan Bogardi
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=4925B40C.8030507@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.