From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0 of 2] [UPDATE] DisplayState interface change
Date: Thu, 20 Nov 2008 16:57:04 +0000 [thread overview]
Message-ID: <492596E0.6050900@eu.citrix.com> (raw)
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.
Cheers,
Stefano
next reply other threads:[~2008-11-20 16:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 16:57 Stefano Stabellini [this message]
2008-11-20 19:01 ` [Qemu-devel] [PATCH 0 of 2] [UPDATE] DisplayState interface change Anthony Liguori
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=492596E0.6050900@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.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).