qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0 of 2] [UPDATE] DisplayState interface change
@ 2008-11-20 16:57 Stefano Stabellini
  2008-11-20 19:01 ` Anthony Liguori
  0 siblings, 1 reply; 6+ messages in thread
From: Stefano Stabellini @ 2008-11-20 16:57 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-21 18:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 16:57 [Qemu-devel] [PATCH 0 of 2] [UPDATE] DisplayState interface change Stefano Stabellini
2008-11-20 19:01 ` 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

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).