[Spice-commits] Changes to 'rebase/spice-next'

Gerd Hoffmann kraxel at kemper.freedesktop.org
Mon Nov 10 23:47:51 PST 2014


New branch 'rebase/spice-next' available with the following commits:
commit 9738807a30a0527c6fdca675165af19b88cb916c
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 1f1febaa21e2b63d81e6796748230045e2d378dd
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 295bfea43504844c0e252f5b81ae9e37bc49b1f8
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