Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 24, 2010
  1. @kraxel

    vnc: rich cursor support.

    kraxel authored Anthony Liguori committed
    Uses VNC_ENCODING_RICH_CURSOR.  Adding XCURSOR support should be
    possible without much trouble.  Shouldn't be needed though as
    RICH_CURSOR is a superset of XCURSOR.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Commits on Jan 7, 2010
  1. vnc: Fix artifacts in hextile decoding

    Anthony Liguori authored
    02c2b87 introduced a regression whereas the foreground color in a hextile
    update was not being properly invalidated leading to artifacts.
    
    It's still necessary to explicitly invalidate the foreground color with a
    SubrectColoured tile even though we no longer send a foreground color as
    part of the tile.
    
    Reported-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Commits on Dec 18, 2009
  1. vnc: hextile: do not generate ForegroundSpecified and SubrectsColoure…

    Anthony Liguori authored
    …d tiles
    
    This violates the RFB specification (section 6.6.4).  It happens to work with
    most clients but it's still wrong.
    
    Reported-by: Yaniv Kaul <ykaul@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Commits on Aug 10, 2009
  1. @sstabellini

    single vnc server surface

    sstabellini authored Anthony Liguori committed
    This patch removes the server surface from VncState and adds a single
    server surface to VncDisplay for all the possible clients connected.
    Each client maintains a different dirty bitmap in VncState.
    The guest surface is moved to VncDisplay as well because we don't need
    to track guest updates in more than one place.
    
    This patch has been updated to handle CopyRect correctly and efficiently.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Message-Id:
Commits on Mar 20, 2009
  1. vnc: cleanup surface handling, fix screen corruption bug. (Gerd Hoffm…

    aliguori authored
    …ann)
    
    This patch killes the old_data hack in the qemu server and replaces
    it with a clean separation of the guest-visible display surface and
    the vnc server display surface.  Both guest and server surface have
    their own dirty bitmap for tracking screen updates.
    
    Workflow is this:
    
    (1) The guest writes to the guest surface.  With shared buffers being
        active the guest writes are directly visible to the vnc server code.
        Note that this may happen in parallel to the vnc server code running
        (today only in xenfb, once we have vcpu threads in qemu also for
        other display adapters).
    
    (2) vnc_update() callback tags the specified area in the guest dirty
        map.
    
    (3) vnc_update_client() will first walk through the guest dirty map.  It
        will compare guest and server surface for all regions tagged dirty
        and in case the screen content really did change the server surface
        and dirty map are updated.
        Note: old code used old_data in a simliar way, so this does *not*
        introduce an extra memcpy.
    
    (4) Then vnc_update_cient() will send the updates to the vnc client
        using the server surface and dirty map.
        Note: old code used the guest-visible surface instead, causing
        screen corruption in case of guest screen updates running in
        parallel.
    
    The separate dirty bitmap also has the nice effect that forced screen
    updates can be done cleanly by simply tagging the area in both guest and
    server dirty map.  The old, hackish way was memset(old_data, 42, size)
    to trick the code checking for screen changes.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6860 c046a42c-6fe2-441c-8c8c-71466251a162
Commits on Jan 15, 2009
  1. exploiting the new interface in vnc.c (Stefano Stabellini)

    aliguori authored
    This patch exploits the new DisplaySurface and PixelFormat structures in
    vnc, making the code easier to read allowing further improvements.
    
    Compared to the last version I fixed a bug that prevented the hextile
    encoding from working properly.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6337 c046a42c-6fe2-441c-8c8c-71466251a162
Commits on Nov 24, 2008
  1. Introduce accessors for DisplayState (Stefano Stabellini)

    aliguori authored
    Introducing some accessors:
    
    ds_get_linesize
    ds_get_bits_per_pixel
    ds_get_width
    ds_get_height
    ds_get_data
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5789 c046a42c-6fe2-441c-8c8c-71466251a162
Commits on Sep 15, 2008
  1. vnc dynamic resolution (Stefano Stabellini)

    aliguori authored
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5229 c046a42c-6fe2-441c-8c8c-71466251a162
Commits on Dec 16, 2007
  1. Fix wrong signedness, by Andre Przywara.

    ths authored
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3815 c046a42c-6fe2-441c-8c8c-71466251a162
Commits on Sep 16, 2007
  1. find -type f | xargs sed -i 's/[\t ]$//g' # on most files

    ths authored
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
Commits on Dec 21, 2006
  1. Silence a spurious gcc warning.

    ths authored
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2253 c046a42c-6fe2-441c-8c8c-71466251a162
Commits on May 14, 2006
  1. support for all VNC pixel formats

    bellard authored
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1923 c046a42c-6fe2-441c-8c8c-71466251a162
Commits on Apr 30, 2006
  1. VNC server (Anthony Liguori)

    bellard authored
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1869 c046a42c-6fe2-441c-8c8c-71466251a162
Something went wrong with that request. Please try again.