vnc: return the number of rectangles
commita885211eed4e853c64d1419a0113c12048ecd5a1
authorCorentin Chary <corentincj@iksaif.net>
Wed, 19 May 2010 07:24:09 +0000 (19 09:24 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Jun 2010 17:53:09 +0000 (1 12:53 -0500)
tree72ec51401215ae87203e9fb79e6539155c37538e
parent161c4f20bfbd54f0b77426adccb68ee831678af0
vnc: return the number of rectangles

Some encodings like tight supports tiling (spliting in
multiple sub-rectangles). So we needed a way to tell
vnc_update_client() how much rectangles are in the buffer.

zlib, raw and hextile always send a full rectangle.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vnc-encoding-hextile.c
vnc-encoding-zlib.c
vnc.c
vnc.h