ui/vnc: optimize full scanline updates
commit0e7d6f608339029404efd025ae9b8965ffe60087
authorPeter Lieven <pl@kamp.de>
Mon, 2 Feb 2015 15:25:34 +0000 (2 16:25 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 16 Feb 2015 07:48:00 +0000 (16 08:48 +0100)
tree6441fc70ba7f63e62ab8b3184c0b6f5125eb6a21
parentf7801c5ce42250bf1e84d21bceb1802cfe4485e8
ui/vnc: optimize full scanline updates

in case we send and update for a complete scanline increment
the y offset to avoid running to find_next_bit for that lines
twice.

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/vnc.c