qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Guest mouse cursor drawing in SDL


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Guest mouse cursor drawing in SDL
Date: Sun, 25 Mar 2007 18:49:55 -0500
User-agent: Thunderbird 1.5.0.10 (X11/20070307)

andrzej zaborowski wrote:
Hi, sorry for late reply.

On 21/03/07, Anthony Liguori <address@hidden> wrote:
Do you think using the SDL cursor is all that useful?  As soon as gtk
widgets get involved, the cursor becomes ARGB so in practice, I'm not
sure that it's all that helpful.

It's pretty cool that you have only one cursor and that it's either
"in the VM" or outside, and it's full hardware drawn. In addition
without it, I think you can't get cursor refreshes between the SDL
refresh callbacks. So with the patch the cursor movement is really
smooth and responsive, eliminating the SDL latency. I find it amazing
that it works :p

Hrm, interesting. I actually want to rethink the mouse interface again as I've been thinking that even if an absolute mouse isn't available, provided that you know the location of the guest cursor, you can implement a smarter grab/ungrab.

I think VNC support is not a reason to drop this couple of lines in
sdl.c (cause there's no API changes related).


BTW, I've got the ALPHA_CURSOR working with VNC.. it's very sweet :-)

Awesome! Are there screenshots?

I could make them, but they just show a mouse in the window :-) BTW, have you thought about how to integrate std-vga into the vmware vga device? I took a look at it and it seems like it will be overly complicated based on the way VGA memory dirtying is done now.

Regards,

Anthony Liguori

Regards,
Andrew






reply via email to

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