From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVcVW-0002oW-8e for qemu-devel@nongnu.org; Sun, 25 Mar 2007 19:52:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVcVU-0002nv-4M for qemu-devel@nongnu.org; Sun, 25 Mar 2007 19:52:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVcVT-0002nn-MZ for qemu-devel@nongnu.org; Sun, 25 Mar 2007 18:52:15 -0500 Received: from wx-out-0506.google.com ([66.249.82.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVcTH-0003lg-V6 for qemu-devel@nongnu.org; Sun, 25 Mar 2007 19:50:00 -0400 Received: by wx-out-0506.google.com with SMTP id i30so2917774wxd for ; Sun, 25 Mar 2007 16:49:59 -0700 (PDT) Message-ID: <46070AA3.5080002@codemonkey.ws> Date: Sun, 25 Mar 2007 18:49:55 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Guest mouse cursor drawing in SDL References: <20070320150848.GC2311@networkno.de> <45FFFFF2.3090702@codemonkey.ws> <46008A46.3070902@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: balrogg@gmail.com Cc: qemu-devel@nongnu.org andrzej zaborowski wrote: > Hi, sorry for late reply. > > On 21/03/07, Anthony Liguori 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 >