[Spice-commits] Changes to 'rebase/spice-next'
Gerd Hoffmann
kraxel at kemper.freedesktop.org
Mon Nov 10 23:56:19 PST 2014
New branch 'rebase/spice-next' available with the following commits:
commit e779fa0a715530311e6f59fc8adb0f6eca914a89
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Sat Nov 8 08:56:34 2014 +0100
spice: rework mirror allocation, add no-resize fast path
Add fast path to qemu_spice_display_switch in case old and new
displaysurface have identical size (happens with display panning
and page flipping). We just swap the backing store then and don't
go through the whole process of deleting and creating the primary
surface.
To simplify the code a bit move mirror surface allocation to
qemu_spice_display_switch().
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
commit e0b4d29c8234698339efa53c5a86a5c07d199dfc
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue Nov 4 14:16:12 2014 +0100
spice: reduce refresh rate in native mode
Now that cursor updates are out of the way qxl needs the refresh timer
only when when running in vga mode, for dirty bitmap checking. In
native qxl mode the guest will notify us, so we don't need to poll and
can use the idle interval (one refresh wakeup every few seconds).
Cc: Marc-André Lureau <marcandre.lureau at gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
commit 2f26bcdd5490538b68552c09fb76c050ed7d525d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue Nov 4 13:59:59 2014 +0100
spice: use bottom half instead of refresh timer for cursor updates
Calling directly doesn't work due to the qxl-render code running in
spice server thread context. Meanwhile bottom half scheduling is
thread-safe though, so we can use that to kick a cursor update in
main i/o thread context.
Cc: Marc-André Lureau <marcandre.lureau at gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
More information about the Spice-commits
mailing list