qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0 of 2] [UPDATE] DisplayState interface change


From: Stefano Stabellini
Subject: [Qemu-devel] [PATCH 0 of 2] [UPDATE] DisplayState interface change
Date: Thu, 20 Nov 2008 16:57:04 +0000
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]