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

2007-03-26 Thread andrzej zaborowski
Hi, On 26/03/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: andrzej zaborowski wrote: > Hi, sorry for late reply. > > On 21/03/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: >> Do you think using the SDL cursor is all that useful? As soon as gtk >> widgets get involved, the cursor becomes ARGB

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

2007-03-25 Thread Anthony Liguori
andrzej zaborowski wrote: Hi, sorry for late reply. On 21/03/07, Anthony Liguori <[EMAIL PROTECTED]> 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

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

2007-03-23 Thread andrzej zaborowski
Hi, sorry for late reply. On 21/03/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: andrzej zaborowski wrote: >> > (the pixel format of the cursor was the same as the pixel format of >> DisplayState). > > I'm not sure if we want to always use the same pixel format - for > example with VMware SVGA

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

2007-03-20 Thread Anthony Liguori
andrzej zaborowski wrote: > (the pixel format of the cursor was the same as the pixel format of DisplayState). I'm not sure if we want to always use the same pixel format - for example with VMware SVGA and SDL in 16 bit mode, the cursor pixel format reported by guest Xorg was 8 bpp. This would

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

2007-03-20 Thread andrzej zaborowski
On 20/03/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: Thiemo Seufer wrote: > andrzej zaborowski wrote: > >> This should allow the emulated video cards that support hardware >> accelerated cursors to relay the cursor drawing to host, possibly >> using real hardware cursor. This way the guest and

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

2007-03-20 Thread Anthony Liguori
Thiemo Seufer wrote: andrzej zaborowski wrote: This should allow the emulated video cards that support hardware accelerated cursors to relay the cursor drawing to host, possibly using real hardware cursor. This way the guest and host effectively share one cursor. Only SDL support is included.

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

2007-03-20 Thread Thiemo Seufer
andrzej zaborowski wrote: > This should allow the emulated video cards that support hardware > accelerated cursors to relay the cursor drawing to host, possibly > using real hardware cursor. This way the guest and host effectively > share one cursor. Only SDL support is included. Not tested with mi

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

2007-03-11 Thread andrzej zaborowski
This should allow the emulated video cards that support hardware accelerated cursors to relay the cursor drawing to host, possibly using real hardware cursor. This way the guest and host effectively share one cursor. Only SDL support is included. Not tested with mice that report absolute coordinat