qemu-devel
[Top][All Lists]
Advanced

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

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


From: andrzej zaborowski
Subject: [Qemu-devel] [PATCH] Guest mouse cursor drawing in SDL
Date: Sun, 11 Mar 2007 15:19:28 +0100

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

The cursor does not appear in the framebuffer seen by the guest, it's
only drawn on the host. One funny effect is that it's not clipped to
the size of the framebuffer and can stick out of the SDL window.

I think the sdl.c could use a small rewrite to have all cursor hiding
and showing in one place instead of spread across the file.

VNC support would need employing an extension for this, according to
Anthony Liguori. VMware made a documented VNC extension that does it.

Attachment: 0002-Host-accelerated-mouse-cursor-support-in-SDL.txt
Description: Text document


reply via email to

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